[[["易于理解","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 filter properties\n\n*Filter properties* (or *filters*, for short) refine or reduce the data that is shown to report viewers. As a report editor, filter properties let you focus on the data that best communicates the story that you want to tell, making your reports more relevant to your audience.\n\nYou can apply a filter to a chart, control, page, or the entire report using the **Data** tab. Filter properties are sometimes referred to as *editor filters*, because report viewers can't change them. Filter properties can be changed only by report editors.\n\u003e Learn how to add [filter controls](/looker/docs/studio/about-controls), which can be used by report viewers.\n\nHow filters work\n----------------\n\nThere are two types of filters:\n\n- **Include filters** retrieve only the records that *match* the conditions.\n- **Exclude filters** retrieve only the records that *don't* *match* the conditions.\n\nNote that filters don't transform your data in any way. They only reduce the amount of data that is displayed in the report.\n\n[Filter conditions](/looker/docs/studio/configure-filter-conditions) consist of one or more *clauses*. Multiple clauses can be joined with \"OR\" logic (true if any conditions are met), \"AND\" logic (true if all conditions are met), or both.\n\nYou can apply filters to dimensions or metrics, or both.\n\nWhen defining filters on charts, pages, or reports that use **Equal to (=)** or **In** conditions, report editors can select from a list of possible filter values that are provided from the underlying data. To see filter value suggestions, enable **Show suggested values while typing** in the filter editor. Filter suggestions are supported for all data connectors.\n\n### What you can filter\n\nYou can apply filters to the following components:\n\n- **Charts** . For example, you can display a pie chart of new versus returning users in your biggest markets with a filter that includes *Country* **IN** \" `United States,Canada,Mexico,Japan` \".\n- **Filter controls** . For example, you can let your viewers select from a list of best selling products on `Quantity Sold Greater than (\u003e) 100`.\n- **Groups** . For example, you can group two sets of charts and filter on **Device Category** to show website traffic in one set, and on the other to show mobile traffic.\n- **Pages** . Page-level filters apply to every chart on that page. For example, you can dedicate page 1 of your Google Analytics report to mobile app traffic, and page 2 to desktop traffic by filtering on the **Device Category** dimension.\n- **Reports** . Every chart in the report is subject to the filter. For example, you can create a report that focuses on your best customers by setting the report-level filter property to `Lifetime Value Greater than or equal to 10,000`.\n\nFilters and data sources\n------------------------\n\nJust like charts, filter properties are associated with a data source. If you create the filter by adding it to a component, that data source is the one in use by the component. If you create the filter using the filter manager, you can select any of the data sources that are added to the report.\n\u003e Reusing a filter on a component that uses a different data source can render the filter invalid. That's because the fields used by the filter may not exist in the new data source.\n\u003e\n\u003e The same thing can happen if you copy a chart or control to a report that uses a different data source, or if you simply change the data source in use by a filter by editing it in the filter manager.\n\u003e\n\u003e Invalid filters display an error on the chart or control, and a warning icon on the filter. You can fix this by editing the filter and selecting new dimensions or metrics, or by deleting the filter.\n\nFilter inheritance\n------------------\n\nFilters can be *inherited*, which means that filters on higher-level components apply to the components beneath them. The order of inheritance is as follows:\n\n**Report level \\\u003e page level \\\u003e chart/control level**\n\nFor a lower-level ( *child* ) component to inherit filters from a higher-level ( *parent* ) component, the dimensions and metrics that are used in the parent's filters must exist in the child component's data source. If they don't, then inheritance is turned off for the child component.\n\nYou can explicitly turn off inheritance by using the toggle in the **Filter** section of the **Setup** panel for a selected component. For example, you can tell a chart not to inherit a page level filter property, or you can tell a page not to inherit the report-level property.\n\nMultiple filters on a component\n-------------------------------\n\nA component can have multiple filters. When this is the case, each filter is treated like an AND clause. This means that only the data rows that meet all the conditions in the filter are affected.\n\nWhen viewing a report, you can view the filters that are applied to the current page or to individual components. To view applied filters, follow these steps:\n\n1. If you are editing the report, switch to [viewing the report](/looker/docs/studio/view-mode).\n2. Open the **Applied filters** panel using one of the following methods:\n - Click the three dot menu on a report and then select **View applied filters.**\n - Click the **View applied filters button** at the top of a chart.\n3. By default, the **Applied filters** panel shows the filters that are applied to the current page. To see filters for another page or for individual components, click the drop-down at the top of the **Applied filters** panel and select a page or component.\n4. By default, the **Active controls** section displays all the filters for which you can edit the values. To edit a filter value, click the filter in the report.\n5. If a report editor has [enabled viewing advanced applied filters](/looker/docs/studio/create-edit-and-manage-filter-properties) for a report, you can also see filters whose values you cannot edit. Click **Advanced View** to display any applied report and model filters, page filters, group filters, and chart filters.\n6. To see which components a filter applies to, click the crosshair icon next to the filter. Looker Studio highlights the component(s) that the filter applies to.\n\nLimitations of filters\n----------------------\n\n- Report-level filters only apply to components that use the default data source. If you include charts that use a different data source, you'll need to create a chart-level filter for that chart.\n- A single component can have a maximum of 75 filter clauses.\n- A single filter can have a maximum of 10 [OR clauses](/looker/docs/studio/create-edit-and-manage-filter-properties). If you need more OR clauses, consider changing the [comparison operator](/looker/docs/studio/configure-filter-conditions) to **In**.\n- Because of the way metrics and dimensions are aggregated, they cannot be mixed in an OR clause.\n- If you change a field in a data source from a metric to dimension or from a dimension to a metric, any filters that use that field are disabled.\n\nRelated resources\n-----------------\n\n- [Regular expressions in Looker Studio](/looker/docs/studio/regular-expressions-in-looker-studio)\n- [google / RE2 / Syntax](https://github.com/google/re2/wiki/Syntax)\n- [Filter controls](/looker/docs/studio/about-controls)"]]