Power BI Filters are useful to restrict the data as per the requirements. For example, using Power BI basic filters, we can exclude a product from the display, or we can display top/bottom 10 performing records. Let me show you how to create Power BI basic filters with example.
How to use Power BI Basic Filters
To demonstrate the Basic Filters in Power BI, we are going to use the Clustered Column Chart that we created in our earlier post. As you can see from the screenshot Power BI below, we used the Country Name as the Axis field, Occupation as Legend field, and Sales amount as the Value field.
Under the Filters section, you can see the list of filters that are available in Power BI
- Visual Level Filters: It includes Filters on Dimension, Filters on Measures, Basic Filters, Advanced Filters, and Top N filters
- Page-Level Filters: These Page Level Filters apply to all the visuals present in the current page.
- Drill through Filters: This Drill through Filters helps you to drill through the particular region, or particular category, etc.
- Report Level Filters: These Report Level Filters apply to all the pages that are present in the current Report.
Let me expand the English Country Region Name (in Short Country) to see the filter types.
Use the drop-down list to see the list of Power BI filter types available for dimension.
- Advanced Filtering: This option helps you to use more advanced options like starts with, ends with, contains, etc.
- Power BI Basic Filters: It used to perform basic operations.
- Top N: Use this to find the top 10 records or bottom 10 records.
In this example, we want to discuss the Power BI basic filters so, let me select the same.
Selecting Basic Filters in Power BI display the rows that are available for this column. You can use the checkboxes to select One, None (or All)
Let me select Australia, Germany, the United Kingdom, and the United States. From the screenshot below, you can see that the clustered column chart is displaying the column that belongs to sleeted countries.
Required Single Selection: It restricts us to select one field at a time. I mean, now you can select only one country name at a time.
As you can see, we selected the United States.
By unchecking the Required Single Selection property, you can select multiple fields.
By clicking that little tiny clear filter button helps you remove the existing filters.
Power BI basic Filters on Multiple dimensions
Let me expand the English Occupation column to apply filters on Occupation.
Let me select the Management, Professional, and Skilled Manual fields as the basic filtering values. As you can see from the screenshot below, it is displaying 4 countries that we selected in Countries Filters and Three occupations that we selected now.
This time, we are selecting a single field, i.e., Skilled Manual.
Delete Power BI Filters
Click on the tiny little Clear filter button to delete existing filters. For the demo purpose, let me delete the filter on the Occupation field.
You can see that the Occupation field has no Filters
Let me remove the filters on the Country
Now you can see there are no filters in this Clustered Column Chart.