Filters on This Visual in Power BI: Setup and Usage Guide
In this article
To apply a filter to a single visual in Power BI, select the specific chart or table, open the Filters pane, and drag the desired field into the "Filters on this visual" section. This allows you to isolate data for one specific element of your report without affecting other visuals on the same page, ensuring that different charts can show different subsets of the same dataset simultaneously.
What You'll Need
- Power BI Desktop installed on your computer or access to the Power BI Service via a web browser.
- A report already created with at least one visual (chart, table, map, or card) on the canvas.
- A dataset loaded into the report with fields (columns) that can be used for filtering.
- The Filters pane enabled (this is usually visible by default on the right side of the screen).
Step-by-Step
- Select the Target Visual: Click once on the specific visual you want to filter. You must see the selection border (the gray box with handles) around the visual. If no visual is selected, the Filters pane will only show "Filters on this page" or "Filters on all pages." Note that menu labels may vary slightly depending on whether you are using the Desktop application or the web-based Power BI Service.
- Locate the Filters Pane: Look to the right side of your Power BI window. You will see a vertical pane labeled "Filters." If it is collapsed, click the arrow to expand it.
- Identify the Correct Filter Level: Within the Filters pane, you will see three distinct sections: "Filters on this visual," "Filters on this page," and "Filters on all pages." Focus exclusively on the top section, "Filters on this visual."
- Add a Field to the Filter: There are two ways to do this. You can either drag a field directly from the Data pane (the list of tables and columns on the far right) and drop it into the "Add data fields here" area of the "Filters on this visual" section, or you can click the "Add data fields here" text and select the field from the resulting list.
- Choose the Filter Type: Once the field is added, click the dropdown arrow on the field name to expand the filter options. You will typically see two main categories: Basic filtering and Advanced filtering.
- Configure Basic Filtering: Select "Basic filtering" if you want a checklist of all available values in that column. Check the boxes for the specific items you want to include in the visual. For example, if you have a "Region" field, you can check only "North America" and "Europe" to exclude all other regions from this specific chart.
- Configure Advanced Filtering: Select "Advanced filtering" if you need more complex logic. This allows you to filter based on rules such as "contains," "starts with," "is greater than," or "is less than." For a numeric field like "Sales," you might set a rule where Sales is greater than 10,000. You can use "And" or "Or" logic to combine two different rules.
- Apply the Filter: After selecting your values or rules, click the "Apply filter" button at the bottom of the filter card. The visual will immediately update to reflect the filtered data.
- Lock or Hide the Filter (Optional): If you are publishing this report for others, you can click the lock icon on the filter card to prevent users from changing the filter. You can also click the eye icon to hide the filter from the end-user, making the filter a permanent part of the visual's logic without cluttering the interface.
Common Mistakes
One of the most frequent errors is applying a filter to the "Filters on this page" section when the intention was only to affect one chart. When you place a field in the page-level filter, every single visual on that report page is restricted by that criteria, which often leads to users wondering why their other charts have suddenly gone blank or changed values. Always double-check that the field is sitting in the topmost section of the pane.
Another common mistake is forgetting to click the "Apply filter" button in the Advanced filtering menu. Unlike Basic filtering, where checking a box updates the visual instantly, Advanced filtering requires a manual confirmation. If you set a rule and then click away from the pane without hitting Apply, your changes will be discarded.
Users also frequently confuse visual-level filters with Slicers. A Slicer is a visual element placed on the canvas that allows the end-user to interactively filter data. A visual-level filter is a "behind-the-scenes" setting. If you have a Slicer on the page and a visual-level filter on a chart, both will apply. This can lead to "empty visual" errors because the Slicer might be asking for "Year 2023" while the visual-level filter is restricted to "Year 2022," leaving no data that satisfies both conditions.
Tips
To keep your report organized, give your filters clear names. While the filter takes the name of the data field, you can rename the field in the Data pane to something more intuitive for the end-user if you decide to leave the filter visible.
Use the "Top N" filter type for high-impact visuals. Instead of Basic or Advanced filtering, select "Top N" from the filter type dropdown. This allows you to show only the top 5 or 10 items based on a specific measure (e.g., the top 5 products by total profit). This is significantly cleaner than manually checking boxes in a list of hundreds of products.
When dealing with date fields, use the "Relative Date" filter. Instead of picking specific calendar dates, you can set the visual to always show data from the "Last 30 Days" or "This Calendar Year." This ensures that as time passes, the visual updates automatically without you having to manually change the filter every month.
Troubleshooting
If the visual does not update after applying a filter, first check for conflicting filters. Look at the "Filters on this page" and "Filters on all pages" sections. If a page-level filter is already restricting the data to a set that doesn't overlap with your visual-level filter, the visual will appear blank. Remove the page-level filters one by one to identify the conflict.
If the field you want to filter by is not appearing in the list, ensure that the field is actually part of the dataset loaded into the model. If you recently added a column to your underlying data source (like an Excel sheet or SQL table), you must click the "Refresh" button in the Home ribbon to bring that new column into Power BI.
If the visual is showing "No Data" but you are certain the data exists, check the data types. If you are using Advanced filtering with a "Greater than" rule on a column that Power BI perceives as "Text" rather than "Decimal Number," the filter may fail or produce unexpected results. Go to the Data view and change the Data Type of the column to the correct format.
If the Filters pane has disappeared entirely, check the View menu in the top ribbon. Ensure that the "Filters" checkbox is selected. In some versions of the Power BI Service, the pane may be collapsed into a thin strip on the right; click the expand icon to bring it back.
Frequently Asked Questions
Can I apply multiple filters to one visual?
Yes, you can drag as many different fields as you need into the "Filters on this visual" section. Power BI will apply all of them using "AND" logic, meaning the data must meet all the criteria to be displayed.
Will a visual-level filter affect my DAX measures?
Yes, visual-level filters change the filter context of the visual. Any DAX measure used in that visual will calculate its result based on the filtered subset of data. If you want a measure to ignore these filters, you must use the CALCULATE function with the ALL or ALLEXCEPT modifiers.
Can I copy a filter from one visual to another?
There is no direct "copy-paste" button for filters. You must manually add the same field to the second visual and configure the same rules, or move the filter to the "Filters on this page" section if it should apply to all visuals.
What is the difference between a visual filter and a slicer?
A visual filter is managed in the Filters pane and can be hidden from the user; it only affects the selected visual. A slicer is a visual on the report canvas that users interact with to filter one or more visuals on the page.
Can I use a visual-level filter to hide blank values?
Yes. Drag the field that contains the blanks into the "Filters on this visual" section, select "Basic filtering," and uncheck the "(Blank)" option. This is the most efficient way to clean up a chart that is showing empty categories.
Do visual filters increase the report loading time?
Generally, no. Filters are processed as part of the query sent to the data engine. In many cases, highly restrictive filters can actually improve performance by reducing the amount of data the visual needs to render.