[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-08 (世界標準時間)。"],[],[],null,["# Dimension control\n\nThe dimension control lets report viewers change the dimension on one or more charts without needing to edit the report. Using a dimension control eliminates the need to create separate charts and reports to show related data and different levels of granularity.\n\nAdd a dimension control to your report\n--------------------------------------\n\nTo add a dimension control to a report, follow these steps:\n\n1. Edit your report.\n2. In the toolbar, select **Add a control** .\n3. Select **Dimension control**, and then place the control on your report.\n4. On the right, configure the chart using the [properties panel](/looker/docs/studio/properties-panel).\n 1. Select the data source that this dimension controller should use.\n 2. Add one or more dimensions that viewers should be able to swap between.\n\nHow the dimension control works\n-------------------------------\n\nWhen a viewer selects a dimension in the dimension control, all charts in the dimension control's scope will use the selected dimension. Then, all affected charts will reload their data.\n\nIf a chart has no dimensions, then it won't be updated. If a chart has more than one dimension, the dimension control only affects the first dimension.\n\nYou can have multiple dimension controls in a single report. If a viewer selects a dimension in a dimension control, and that dimension has a different value in another dimension control in the same scope, then the value of the other dimension control will be cleared.\n\nDimension control scope\n-----------------------\n\nBy default, a dimension control affects all charts on the current page of the report that use the control's data source.\n\nTo limit the scope of the dimension control, [group](/looker/docs/studio/arrange-group-and-distribute-components) the dimension control with one or more charts.\n\nUngrouped dimension controls will ignore any charts that are grouped with a dimension control.\n\nTo expand the scope of the dimension control to the entire report, make it a [report-level](/looker/docs/studio/component-report-level) component.\n\n\nUse cases\n---------\n\nThe application of the dimension control is demonstrated in the following use cases.\n\n### Change geographical granularity\n\nSuppose your organization tracks purchases by location. Using a dimension control, you could allow users to swap among the **Country** , **State** , and **City** dimensions for varying granularity.\n\n### Change product granularity\n\nSuppose you have a dataset with purchase data, and each product has a **Product Type,** a **Product Brand** , and a **Product Name.** Using a dimension control, you could allow users to simultaneously update multiple charts on a report to swap among the three product granularities.\n\nRelated resources\n-----------------\n\n- [Configure report components](/looker/docs/studio/configure-report-components)"]]