[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-25。"],[],[],null,["# About controls\n\nControls let you interact with the data in the following ways:\n\n- Filter the data by specific dimension values.\n- Set the timeframe of the report.\n- Set parameter values that can then be used in calculated fields or passed back to the connector.\n- Change the underlying dataset used by a data source.\n\n| **Note:** If you want to filter the data before viewers see it, use a [filter property](/looker/docs/studio/about-filter-properties).\n\nAdd a control to the report\n---------------------------\n\n1. Edit your report.\n2. In the toolbar, select **Add a control**.\n3. Select the control type, and then position it on your chart.\n4. On the right, configure the chart with the settings in the [**Properties** panel](/looker/docs/studio/properties-panel).\n 1. To filter the report by selected dimension values, use a dimension for the **Control field**.\n 2. To set the value of a parameter, use that parameter as the **Control field**.\n 3. To change the appearance of the data control, use the options in the **Style** tab of the properties panel.\n\nHow controls work\n-----------------\n\nControls serve two main purposes:\n\n- Controls let you filter or change the data displayed in the report's components.\n- Controls provide a way to gather user input and use it in calculated fields and in connectors that support parameters, such as BigQuery and community connectors.\n\n### Controls as filters\n\nWhen a control is based on a dimension (you add a dimension from the **Data** panel as the **Control field** ), the control acts as a filter on the data.\n\nFor example, a list control based on a Country dimension lets you filter the data by country. An advanced filter based on a Product SKU dimension lets you filter by all or partial product identifiers.\n\n#### More about controls as filters\n\nControls filter all components on the page based on the same data source as the control itself, or that [have matching field IDs](/looker/docs/studio/use-controls-across-data-sources). Controls can also filter components if the data sources are different, but are based on the same fixed schema connector, such as Google Ads and Google Analytics, because the internal field IDs are identical between data sources created by those connectors.\n| **Tip:** To limit a control to a subset of the components on the page, [group them with the control](/looker/docs/studio/apply-controls-to-specific-charts).\n\nControls can filter other controls. For example, say you have one filter on a Country dimension, and a second filter on a Campaign dimension. Filtering on **Country = France** causes the filter on the Campaign dimension to only show the campaigns that ran in France. Similarly, filtering on **Campaign \"ABC\"** restricts the filter on the Country dimension to only show the countries where that campaign ran.\n\nControls can only filter by a single dimension. To create a control that filters by more than one dimension, you have several options:\n\n- Create multiple filter controls, one for each dimension you want to filter by.\n- Concatenate the dimension data you want to filter by in a [calculated field](/looker/docs/studio/about-calculated-fields) in the data source.\n- Concatenate the dimension data you want to filter by in the underlying data, if possible.\n\nTo filter by metric values, you can [add a metric slider](/looker/docs/studio/metric-slider) to individual charts.\n\n### Controls as input\n\nWhen a control is based on a parameter (you add a parameter from the **Data** panel as the **Control field** ), the control provides input to that parameter. Parameters are like variables that get their value from the an interaction with the report (say, by typing in a value directly, or picking a value from a predefined list).\n\nYou can use parameters to make calculated fields more dynamic. For example, you could create a *Sales Target* parameter and use it as the control field for an Input box to let people enter different sales goal numbers to visualize projected performance. You could then apply conditional formatting rules that highlight the results in eye-catching ways.\n\nYou can also pass parameters back to the underlying SQL query used to create a BigQuery data source, or to data sources created using community connectors.\n\n[Learn more about parameters](/looker/docs/studio/parameters).\n\nTypes of controls\n-----------------\n\nThe **Add a control** menu is divided into two sections.\n\nThe controls in the first section can be used to filter data or to set parameter values, and they include the following options:\n\n- [Drop-down list](/looker/docs/studio/drop-down-list-and-fixed-size-list-control)\n- [Fixed-size list](/looker/docs/studio/drop-down-list-and-fixed-size-list-control)\n- [Input box](/looker/docs/studio/input-box-control)\n- [Advanced filter](/looker/docs/studio/advanced-filter-control)\n- [Slider](/looker/docs/studio/slider-control)\n- [Checkbox](/looker/docs/studio/checkbox-control)\n- [Preset filter](/looker/docs/studio/preset-filter-control)\n\nThe controls in the second section perform specialized functions and can't be used to set parameter values. The second section includes the following options:\n\n- [Date range control](/looker/docs/studio/date-range-control)\n- [Data control](/looker/docs/studio/data-control)\n- [Dimension control](/looker/docs/studio/dimension-control)\n- [Button](/looker/docs/studio/add-buttons)\n\n\u003e A note on case-sensitivity\n\u003e --------------------------\n\u003e\n\u003e In general, the search operators for text dimensions are case-sensitive. However, this can vary by connector, so it's a good idea to test this on your data and provide guidance to your report viewers.\n\u003e\n\u003e To create a case-insensitive regular expression, you can prepend it with `(?i)`. Learn more about [Regular expressions in Looker Studio](/looker/docs/studio/regular-expressions-in-looker-studio).\n\nChange the control type\n-----------------------\n\nYou can switch an existing control on the report from one type to another:\n\n1. [Edit your report](/looker/docs/studio/edit-a-report).\n2. Select the control.\n3. On the right, at the top of the **Properties** panel, open the control drawer .\n4. Select the new control type.\n\nYou may need to edit the control's settings to use the new type.\n\nMake a control appear on every page\n-----------------------------------\n\nYou can make a control appear in the same location on every page of your report. Filters or parameters set on one page will carry over to all the pages in the report.\n\n1. [Edit your report](/looker/docs/studio/edit-a-report).\n2. Select the control.\n3. Select the **Arrange \\\u003e Make Report-level** menu.\n\n| **Tip:** Can't find the control on other pages? It may be underneath other components on the page. Learn more about [report-level component position](/looker/docs/studio/report-and-page-layout).\n\nRelated resources\n-----------------\n\n- [About parameters](/looker/docs/studio/parameters)"]]