Popular Searches
Popular Course Categories
Popular Courses

Understanding Filters in Power BI

Understanding Filters in Power BI

Filters, Slicers, and Interactive Reports

Understanding Filters in Power BI

Course: Microsoft Power BI Training

Topic: Understanding Filters in Power BI

Course Link: Microsoft Power BI Training – JustAcademy

Demo Link: Register for a Course Demo

JustAcademy Website: Visit JustAcademy


1. Introduction to Filters in Power BI

Filters in Microsoft Power BI help users focus on specific portions of a dataset by displaying only the records that meet selected conditions. Instead of analyzing every transaction, customer, product, or region at once, users can narrow the information to answer specific business questions.

For example, a sales manager may want to view revenue for the current financial year, examine a particular region, or analyze only products whose sales exceed a specified amount. Filters make these tasks possible without permanently deleting or changing the underlying source data.

Power BI provides several filtering methods, including visual-level filters, page-level filters, report-level filters, slicers, drillthrough filters, and interactions between visuals. Each method serves a different purpose and provides different levels of control.

1.1 Why Filters Are Important

  • Focused analysis: Display only the data relevant to a particular question.
  • Interactive reports: Allow users to explore data based on their selections.
  • Improved readability: Reduce unnecessary information in charts, tables, and cards.
  • Better decision-making: Help identify trends and performance differences.
  • Flexible reporting: Analyze the same report by date, region, product, customer, or other dimensions.
  • Efficient exploration: Make large datasets easier to investigate.

1.2 Learning Objectives

After completing this topic, learners should be able to:

  • Understand the purpose of filters in Power BI.
  • Identify different filter levels and filtering methods.
  • Apply basic and advanced filters.
  • Use slicers to filter reports interactively.
  • Work with date, text, numeric, and measure-based filters.
  • Understand visual interactions, cross-filtering, and cross-highlighting.
  • Configure drillthrough filters for detailed analysis.
  • Understand how filters affect DAX measures and filter context.
  • Troubleshoot common filtering problems.
  • Build an interactive report using multiple filtering techniques.

2. What Is a Filter?

A filter is a condition that determines which data should be included in a report, visual, calculation, or analysis. Records that satisfy the condition remain available to the filtered result, while records that do not satisfy it are excluded from that result.

2.1 Simple Example

Suppose a company has sales data for four regions.

Region Sales
North ₹2,00,000
South ₹1,50,000
East ₹1,20,000
West ₹2,30,000

The total sales across all regions are ₹7,00,000. If a filter is applied to show only the West region, the report displays sales of ₹2,30,000 for that selection.

The original source records are not deleted. The filter changes which records contribute to the displayed result.

2.2 Filter Conditions

Filters can use different conditions depending on the data type.

  • Region is West.
  • Sales are greater than ₹2,00,000.
  • Order Date falls within January 2026.
  • Product Name contains the word Laptop.
  • Profit Margin is greater than 15%.
  • Customer Status is Active.

3. Types of Filters in Power BI

Power BI provides different filter scopes and interactive filtering options. Understanding their scope is essential when designing reports.

Filter Type Scope Example
Visual-level filter A single visual Show only the top-performing products in one chart.
Page-level filter All applicable visuals on one report page Show only the West region on a regional analysis page.
Report-level filter All applicable pages in the report Show only records from the current financial year throughout the report.
Slicer Selected visuals according to configured interactions Let users select a region from the report canvas.
Drillthrough filter A destination page receiving selected entity context Open a product-detail page for a selected product.
Cross-filtering Related visuals affected by a selection Selecting a region in a chart filters related charts.
Cross-highlighting Related portions of other visuals are highlighted Selecting a category highlights its contribution in another chart.

4. Understanding Visual-Level Filters

A visual-level filter applies to an individual visual. It is useful when one chart, table, card, or other visual needs to show a more specific subset of data without applying the same condition to every visual on the page.

4.1 Example

Suppose a report contains a chart showing sales by product category and another chart showing sales by region. You want the category chart to display only Electronics, while the regional chart should continue to show all categories.

Apply a visual-level filter for Product Category to the category chart and select Electronics. The regional chart remains unaffected by that visual-level filter unless another filter or interaction also affects it.

4.2 Steps to Apply a Visual-Level Filter

  1. Open Power BI Desktop and switch to Report view.
  2. Select the visual that needs filtering.
  3. Open the Filters pane.
  4. Locate the section named Filters on this visual.
  5. Drag a field from the Data pane into the visual-level filter area if it is not already listed.
  6. Choose the required values or condition.
  7. Review the visual to confirm that the filter is working correctly.

4.3 When to Use Visual-Level Filters

  • Display only selected categories in a chart.
  • Show a subset of products in a table.
  • Exclude blank values from one visual.
  • Show products whose sales exceed a threshold.
  • Restrict a card to a specific business metric or segment.

5. Understanding Page-Level Filters

A page-level filter applies to all applicable visuals on a single report page. It is helpful when the entire page is intended to focus on a particular date range, region, department, or other condition.

5.1 Example

Imagine a report page called Regional Performance. You want every visual on this page to show results for the South region.

Apply a page-level filter on the Region field and select South. The cards, charts, tables, and other affected visuals on that page now show data for the selected region.

5.2 Steps to Apply a Page-Level Filter

  1. Open the report page that needs filtering.
  2. Locate the Filters pane.
  3. Find the section named Filters on this page.
  4. Drag the required field into that section.
  5. Select the values or conditions to apply.
  6. Check all relevant visuals on the page.
  7. Repeat the process on another page only if a separate page-level filter is needed there.

5.3 When to Use Page-Level Filters

  • Restrict a report page to a specific business unit.
  • Show one financial year throughout a page.
  • Create a page dedicated to a single product category.
  • Ensure all visuals on a page use the same regional scope.

6. Understanding Report-Level Filters

A report-level filter applies across all report pages where the field and filter context are relevant. It is useful when a condition should remain consistent throughout the report.

6.1 Example

Suppose a sales report contains Overview, Product Analysis, Customer Analysis, and Regional Analysis pages. If the entire report must display only orders from 2026, apply an appropriate report-level filter on the order date or year field.

All affected visuals across the report will reflect the selected period unless other report design choices or filter logic change the result.

6.2 Steps to Apply a Report-Level Filter

  1. Open the report in Power BI Desktop.
  2. Open the Filters pane.
  3. Find the section named Filters on all pages.
  4. Drag the required field into this section.
  5. Choose the required value or condition.
  6. Navigate through the report pages and verify the results.
  7. Save the report after checking that the filter is appropriate.

6.3 When to Use Report-Level Filters

  • Restrict the entire report to a selected year.
  • Exclude test or invalid records from all report pages.
  • Focus the report on a particular business entity.
  • Apply a shared reporting scope across multiple pages.

7. Comparing Visual-Level, Page-Level, and Report-Level Filters

Feature Visual-Level Page-Level Report-Level
Number of visuals affected One visual Applicable visuals on one page Applicable visuals across report pages
Typical use Customize one chart or table Focus an entire page Maintain a common report scope
Configuration area Filters on this visual Filters on this page Filters on all pages
Can coexist with other filters? Yes Yes Yes
Example Only top-selling products in one chart Only South region on one page Only 2026 orders across the report

8. Understanding the Filters Pane

The Filters pane is a central place for configuring and reviewing filters in a Power BI report. Report authors can use it to add, change, and organize filters at visual, page, and report levels.

8.1 Main Areas

  • Filters on this visual: Shows filters affecting the selected visual.
  • Filters on this page: Shows filters that affect the current report page.
  • Filters on all pages: Shows filters that apply across the report.

The exact appearance and available controls can vary by Power BI version, report configuration, and whether the report is being edited or viewed.

8.2 Filter Cards

Each filter field appears as a filter card. The card provides controls for selecting values or specifying conditions. For example, a Region filter may list North, South, East, and West, while a Sales filter may provide numeric comparison operators.

8.3 Filter Pane Management

Depending on the report and permissions, authors can format filter cards, change their order, hide or lock filters, and control which filter options report readers can modify. These settings help create a clearer report experience.

9. Basic Filtering in Power BI

Basic filtering allows users to select specific values from a list of available values. It is commonly used for text categories, dates, and other fields with a manageable number of distinct values.

9.1 Example

Suppose the Region field contains North, South, East, and West. To show only North and West, select those two values in the basic filter list.

9.2 Steps for Basic Filtering

  1. Open the relevant filter card in the Filters pane.
  2. Select Basic filtering if the option is available.
  3. Review the list of field values.
  4. Select one or more values.
  5. Clear values that should not be included.
  6. Verify the result in the report visual.

9.3 Advantages of Basic Filtering

  • Simple and easy to understand.
  • Useful for selecting known categories.
  • Allows multiple values to be included.
  • Provides a quick way to restrict a report to a subset of records.

10. Advanced Filtering in Power BI

Advanced filtering lets users define conditions rather than selecting only from a list of values. It is useful when a report needs more specific criteria.

10.1 Common Text Conditions

  • Contains a particular word or phrase.
  • Does not contain a particular word or phrase.
  • Starts with a specified value.
  • Does not start with a specified value.
  • Is or is not equal to a particular value.

10.2 Common Numeric Conditions

  • Is greater than a value.
  • Is greater than or equal to a value.
  • Is less than a value.
  • Is less than or equal to a value.
  • Is between two values.

10.3 Example: Filter High-Value Sales

Suppose you want to show records where Sales Amount is greater than ₹50,000.

  1. Select the relevant visual or filter scope.
  2. Add Sales Amount to the filter area if necessary.
  3. Select Advanced filtering when available for that field.
  4. Choose the condition Is greater than.
  5. Enter 50000.
  6. Apply the filter if the interface requires it.
  7. Verify that only qualifying records contribute to the filtered result.

10.4 Basic Versus Advanced Filtering

Feature Basic Filtering Advanced Filtering
Method Select listed values Define conditions
Example Select the West region Sales Amount greater than 50000
Best suited for Known categories and values Rules and comparisons
Typical field types Text, dates, and categorical fields Text, numeric, and other supported fields

11. Understanding Top N Filters

A Top N filter allows you to display the highest- or lowest-ranked items according to a selected measure. It is useful when a report contains many products, customers, employees, or regions and you want to focus on a limited number of items.

11.1 Example: Top 5 Products by Sales

Suppose a company sells 200 products but wants to display only its five highest-revenue products.

  1. Select the chart or table that displays products.
  2. Add the Product field to the visual.
  3. Locate the Product filter under Filters on this visual.
  4. Choose the Top N filter type if available.
  5. Enter 5 as the number of items.
  6. Add the Total Sales measure to the By value area.
  7. Apply the filter.
  8. Sort the visual by Total Sales in descending order if needed.

11.2 Example Measure

Total Sales = SUM(Orders[SalesAmount])

The Top N filter uses the selected measure to determine which products rank highest. The ranking can change when other filters change the underlying data.

11.3 When to Use Top N Filters

  • Top 10 customers by revenue.
  • Top 5 products by profit.
  • Bottom 10 stores by sales.
  • Top-performing sales representatives.
  • Highest-cost projects.

12. Understanding Date Filters

Date filters help users analyze information for specific dates, months, quarters, or years. They are essential for time-based reporting and trend analysis.

12.1 Common Date Filtering Options

  • Specific dates or date ranges.
  • Before or after a selected date.
  • Dates between two boundaries.
  • Relative date periods, such as the last 30 days, when supported by the selected filter control.
  • Calendar-based selections through date slicers.
  • Year, quarter, month, and day fields from a Date table.

12.2 Example: Filter January 2026

If the report contains an OrderDate field, you can restrict the data to January 1 through January 31, 2026. The exact steps depend on whether you use the Filters pane, a date slicer, or separate calendar fields.

12.3 Relative Date Filters

Relative date filters are useful when the reporting period should move with time. For example, a filter configured for the last 30 days can update its date window as the current date changes.

Make sure that the chosen period matches the business requirement. “Last 30 days,” “previous calendar month,” and “year to date” represent different reporting periods.

12.4 Best Practices for Date Filters

  • Use proper Date data types.
  • Prefer a dedicated Date table for complex time-based analysis.
  • Use chronological sorting for month names.
  • Check whether a filter uses calendar or financial-year logic.
  • Verify date boundaries and time-zone assumptions when working with timestamps.

13. Understanding Slicers in Power BI

A slicer is an interactive visual placed directly on the report canvas. It allows users to filter report data by selecting values without needing to open the Filters pane.

Slicers are useful when a report is designed for business users who frequently change criteria such as region, product category, customer segment, or reporting period.

13.1 Common Slicer Fields

  • Region.
  • Product Category.
  • Customer Name.
  • Order Date.
  • Financial Year.
  • Sales Representative.

13.2 Steps to Create a Slicer

  1. Open the report in Power BI Desktop.
  2. Select the Slicer visual.
  3. Drag the required field into the slicer's field well.
  4. Choose an appropriate display style, such as list, dropdown, or date selection, when available.
  5. Resize and position the slicer on the report canvas.
  6. Configure its selection and formatting options.
  7. Test how it affects other visuals on the page.

13.3 Example: Region Slicer

Add the Region field to a slicer. A report user can select West to view West-region results or select another region to explore its performance.

By default, a slicer generally affects other visuals on the page, but its behavior can be customized using Edit interactions. Relationships and model design also influence the result.

13.4 Slicer Versus Filters Pane

Feature Slicer Filters Pane
Location Visible on the report canvas Available in the Filters pane
User experience Direct selection from a report control Open a filter card and configure criteria
Best suited for Frequently used interactive filters Detailed filtering and report-level configuration
Page scope Depends on configured visual interactions Can be visual-, page-, or report-level
Cross-page behavior Can be synchronized across pages Report-level filters apply across pages

14. Types and Formatting of Slicers

Power BI supports different slicer presentations. The options available depend on the slicer visual and Power BI version.

14.1 List Slicer

A list slicer displays selectable values in a list. It is useful for fields such as Region, Department, or Product Category.

14.2 Dropdown Slicer

A dropdown slicer saves space by showing the available choices in a dropdown control. It is useful when a report has limited canvas space or many possible selections.

14.3 Date Slicer

A date slicer allows users to select a date or date range. Depending on the configuration, it may support range, relative date, or other date-selection modes.

14.4 Button Slicer

A button slicer presents choices as clickable buttons. It can make common selections more visible and convenient for dashboard users.

14.5 Slicer Formatting Options

  • Title and header text.
  • List or dropdown presentation.
  • Selection controls and single-select behavior.
  • Background, border, and font formatting.
  • Search, when supported by the slicer type.
  • Responsive sizing and layout.

15. Single Selection and Multiple Selection

Slicers can be configured to allow one value or multiple values, depending on the visual and its selection settings.

15.1 Single Selection

Single selection is useful when users should analyze one region, department, or reporting period at a time.

Example: selecting only the North region.

15.2 Multiple Selection

Multiple selection allows users to include several values simultaneously.

Example: selecting North and West to compare two regions together.

15.3 Select All

Some slicers provide a Select all option. Its behavior depends on the slicer configuration and selection settings. Test it to ensure users understand whether all values are selected or the slicer is effectively cleared.

15.4 Clear Selections

Users can clear selections using the available clear-selection control or by selecting values according to the slicer's interaction settings. Report authors should make it easy to understand how to return to the intended default state.

16. Syncing Slicers Across Report Pages

Power BI can synchronize compatible slicers across multiple report pages. This is useful when users should maintain a consistent selection while navigating between different parts of a report.

16.1 Example

A sales report contains Overview, Product Analysis, and Customer Analysis pages. A user selects the 2026 financial year on the Overview page. If the relevant slicer is synchronized with the other pages, the same selection can be maintained while navigating through the report.

16.2 Steps to Sync Slicers

  1. Add a slicer to the first report page.
  2. Select the slicer.
  3. Open the Sync slicers pane from the View options when available.
  4. Review the list of report pages.
  5. Choose the pages on which the slicer should synchronize.
  6. Configure whether the slicer should also be visible on each page.
  7. Test the selection while navigating between pages.

16.3 Benefits of Slicer Synchronization

  • Maintains a consistent reporting context across pages.
  • Reduces the need to repeat the same selections.
  • Improves the user experience in multi-page reports.
  • Helps users compare related analyses for the same period or region.

17. Understanding Drillthrough Filters

Drillthrough lets users navigate from a summary visual to a dedicated detail page while carrying the context of the selected data point. The destination page uses drillthrough fields to filter its content to the selected entity or category.

17.1 Example

A report contains a chart showing sales by product. A user wants detailed information about a particular product, including its revenue, orders, customers, and monthly trend.

A drillthrough page can be configured for Product. When the user drills through from a selected product, the destination page displays the relevant product details.

17.2 Steps to Create a Drillthrough Page

  1. Create a new report page for detailed analysis.
  2. Add the required drillthrough field, such as Product Name, to the Drill-through field area.
  3. Add charts, cards, tables, or other visuals to the destination page.
  4. Configure the page title and layout to explain the selected context.
  5. Return to a summary page containing the same field.
  6. Right-click a suitable data point and choose the drillthrough destination when available.
  7. Verify that the destination page reflects the selected entity.

17.3 When to Use Drillthrough

  • Product summary to product detail.
  • Regional overview to regional detail.
  • Customer summary to customer history.
  • Employee performance to employee detail.
  • Department summary to departmental transactions.

18. Cross-Filtering and Cross-Highlighting

Power BI visuals can interact with each other. Selecting a category or data point in one visual can filter or highlight related information in other visuals on the same page.

18.1 Cross-Filtering

Cross-filtering restricts another visual to the data related to the selected item. For example, selecting the West region in a region chart may cause a related line chart to show only West-region values.

18.2 Cross-Highlighting

Cross-highlighting emphasizes the selected data's contribution in another visual while leaving unrelated data visible, often in a dimmed state. The exact behavior depends on the visual types involved.

18.3 Edit Interactions

  1. Select the visual whose interaction behavior you want to change.
  2. Open the Format menu and choose Edit interactions when available.
  3. Review the interaction controls displayed for other visuals.
  4. Choose whether each affected visual should be filtered, highlighted, or not affected.
  5. Exit Edit interactions and test the report.

18.4 Example

A report contains a bar chart showing sales by category and a line chart showing sales by month. Selecting Electronics in the bar chart can filter or highlight the related data in the line chart according to the configured interaction.

19. Filtering Text, Numeric Values, and Measures

Filters can be applied to different types of fields. The available operators depend on the field type and the filtering method.

19.1 Text Filters

Text filters are useful for names, categories, locations, and status fields.

Examples:

  • Product Name contains Laptop.
  • Region is West.
  • Customer Status is Active.
  • Department starts with Sales.

19.2 Numeric Filters

Numeric filters help restrict data according to thresholds or ranges.

Examples:

  • Sales Amount is greater than 50000.
  • Profit is between 10000 and 50000.
  • Quantity is less than 100.

19.3 Filtering by Measures

Measures calculate results from the data model. Depending on the visual and filter type, you can apply conditions to a measure to show only categories or groups that meet a required result.

For example, a product chart may be filtered to show categories whose Total Sales measure exceeds ₹1,00,000. The measure-based condition evaluates the aggregate result for each relevant category rather than simply testing every raw row individually.

19.4 Example DAX Measures

Total Sales =
SUM(Orders[SalesAmount])

Total Profit =
SUM(Orders[SalesAmount]) - SUM(Orders[Cost])

Profit Margin =
DIVIDE([Total Profit], [Total Sales], 0)

Total Orders =
DISTINCTCOUNT(Orders[OrderID])

These measures can be used in cards, charts, and tables. When a filter changes, the measures generally recalculate according to the resulting filter context.

20. Understanding Filter Context in DAX

Filter context is the set of filters that determines which rows are considered when a DAX measure is evaluated. It can be influenced by slicers, the Filters pane, visual selections, relationships, and the fields used in a visual.

20.1 Example

Consider this measure:

Total Sales =
SUM(Orders[SalesAmount])

If no filters restrict the dataset, the measure calculates total sales across all applicable records. If a Region slicer selects West, the measure generally calculates sales for West, provided the data model and relationships support that filter path.

20.2 Multiple Filters

Filters commonly work together. For example, a report may apply a report-level filter for 2026, a page-level filter for West, and a visual-level filter for Electronics. The affected visual reflects the combined conditions.

20.3 Filter Context and Relationships

Filters propagate through relationships according to the data model and relationship settings. If a slicer does not affect a measure as expected, inspect the relationship between the relevant tables, the direction of filter propagation, and the measure's DAX logic.

20.4 CALCULATE Function

The DAX CALCULATE function evaluates an expression in a modified filter context. It is useful when a calculation must apply, modify, or remove particular filters.

Total Sales =
SUM(Orders[SalesAmount])

West Sales =
CALCULATE(
    [Total Sales],
    Orders[Region] = "West"
)

This example assumes that Region is a column in the Orders table. If Region is stored in a separate dimension table, use the appropriate field from the model.

21. Removing or Modifying Filters with DAX

Some analyses require comparing a filtered result with a total that ignores a particular filter. DAX provides functions such as REMOVEFILTERS and ALL for specific filter-context scenarios.

21.1 Example: Total Sales Ignoring Region Filters

Total Sales =
SUM(Orders[SalesAmount])

Sales Across All Regions =
CALCULATE(
    [Total Sales],
    REMOVEFILTERS(Orders[Region])
)

This measure removes filters from the specified Region column. Filters from other columns may still apply. The result depends on the data model and where the filters originate.

21.2 Example: Percentage of Overall Sales

Sales % of All Regions =
DIVIDE(
    [Total Sales],
    [Sales Across All Regions],
    0
)

Format this measure as a percentage. It can help show the selected region's contribution to the overall total when the denominator is defined correctly.

21.3 Important Considerations

  • Removing a filter from one column does not necessarily remove all filters from its table or related tables.
  • ALL and REMOVEFILTERS have related but not identical usage patterns.
  • Validate DAX measures using sample data and a table visual.
  • Do not remove filters that are required for the business definition of the metric.

22. Filter Order, Combined Filters, and Report Behavior

Power BI evaluates a visual in the context of multiple filters. These filters may come from the visual itself, the current page, the entire report, slicers, visual interactions, and DAX expressions.

22.1 Example of Combined Filters

Suppose a report has the following conditions:

  • Report-level filter: Year is 2026.
  • Page-level filter: Region is West.
  • Visual-level filter: Product Category is Electronics.
  • Slicer selection: Sales Representative is Alex.

The resulting visual displays the records that satisfy the combined applicable filters. The exact result depends on the model relationships and measure logic.

22.2 Why Combined Filters Matter

  • They allow precise analysis without creating separate reports for every scenario.
  • They can explain why a card displays a smaller total than expected.
  • They help authors identify unexpected report behavior.
  • They make it important to communicate the active reporting scope to users.

23. Best Practices for Using Filters

23.1 Choose the Correct Filter Scope

Use visual-level filters for one visual, page-level filters for an entire page, and report-level filters for a common condition across the report. Avoid applying a broad filter when only one visual needs it.

23.2 Use Slicers for Frequent User Selections

Place slicers for commonly used fields, such as date, region, and category, where users can find them easily. Avoid adding so many slicers that the report becomes difficult to navigate.

23.3 Make Filter States Clear

Use descriptive titles, slicer labels, and suitable page headings. Where appropriate, show the selected reporting period or region so that users understand the context of the displayed results.

23.4 Keep the Report User-Friendly

  • Group related slicers together.
  • Use dropdowns when a long list would consume too much space.
  • Keep important filters visible.
  • Provide a clear way to return to default selections.
  • Test the report with realistic user scenarios.

23.5 Check Filter Interactions

Confirm which visuals respond to each slicer and chart selection. Use Edit interactions when a particular visual should remain unaffected or should highlight rather than filter data.

23.6 Validate the Data Model

Correct relationships and appropriate data types are important for reliable filtering. Review relationships between fact and dimension tables and check for ambiguous or inactive filter paths when results are unexpected.

23.7 Distinguish Filters from Security

Report filters and slicers are intended to shape the displayed analysis. They are not a substitute for data-access security. When users must be restricted from seeing particular records, use appropriate security features such as row-level security and test them carefully.

24. Common Filtering Problems and Troubleshooting

Problem Possible Cause Solution
A slicer does not affect a visual Interaction disabled, missing relationship, or incompatible model path Check Edit interactions, relationships, and measure logic.
A visual shows fewer records than expected Multiple filters are active Inspect visual-, page-, and report-level filters and slicer selections.
A filter value is missing No matching rows, a related-table issue, or unexpected data type Validate source data, relationships, and the field being filtered.
A date filter produces unexpected results Incorrect data type, date hierarchy, or calendar logic Check date columns, boundaries, and the Date table.
Top N filter returns unexpected items Wrong measure, incorrect filter scope, or ties in ranking values Check the By value measure, scope, and ranking behavior.
A measure ignores a slicer DAX removes the filter or the relationship does not propagate it Review CALCULATE, ALL, REMOVEFILTERS, and relationships.
Totals differ between visuals Different filter scopes, aggregation levels, or measures Compare active filters and validate each measure.
A synced slicer behaves inconsistently Sync settings differ between report pages Review the Sync slicers pane and test each page.
A drillthrough page shows the wrong detail Drillthrough field or destination context is incorrect Check the destination page's drillthrough fields and source visual.
A filter option is unavailable Field type, visual type, permissions, or interface differences Verify the selected field, visual, editing permissions, and available controls.

25. Practical Project: Create an Interactive Sales Report

In this practical project, you will build an interactive sales report using multiple filter types. The goal is to understand how filters affect report visuals and measures.

25.1 Project Objective

Create a report that allows users to analyze sales by region, product category, and date while comparing overall performance with selected segments.

25.2 Sample Dataset

Column Description Example
OrderID Unique order identifier ORD1001
OrderDate Order date 2026-01-15
Region Sales region West
Product Product name Laptop
Category Product category Electronics
SalesAmount Revenue for the order row 75000
Cost Cost associated with the order row 55000
CustomerID Customer identifier CUST101

25.3 Step 1: Load and Prepare the Data

  1. Open Power BI Desktop.
  2. Select Get data and import the dataset.
  3. Open Power Query to inspect the column names and data types.
  4. Ensure OrderDate is a date field and SalesAmount and Cost are numeric.
  5. Review missing values and duplicate records.
  6. Apply the required transformations and load the data.

25.4 Step 2: Create DAX Measures

Total Sales =
SUM(Orders[SalesAmount])

Total Cost =
SUM(Orders[Cost])

Total Profit =
[Total Sales] - [Total Cost]

Total Orders =
DISTINCTCOUNT(Orders[OrderID])

Total Customers =
DISTINCTCOUNT(Orders[CustomerID])

Profit Margin =
DIVIDE([Total Profit], [Total Sales], 0)

These examples assume that the table is named Orders and that the listed columns exist in the dataset. Adjust the names and formulas to match your actual data.

25.5 Step 3: Create Summary Visuals

  1. Add a card displaying Total Sales.
  2. Add another card displaying Total Profit.
  3. Add cards for Total Orders and Total Customers.
  4. Add a column chart showing Total Sales by Category.
  5. Add a line chart showing Total Sales over time.
  6. Add a table showing Product, Total Sales, and Total Profit.

25.6 Step 4: Add Slicers

  1. Add a Region slicer.
  2. Add a Category slicer.
  3. Add a date slicer using OrderDate or a suitable Date table field.
  4. Place the slicers where users can find them easily.
  5. Select different values and observe how the visuals respond.

25.7 Step 5: Apply a Visual-Level Filter

Select the product table and apply a filter to show only products whose Total Sales exceed a chosen threshold. Check that the filter affects the intended table rather than every visual on the page.

25.8 Step 6: Apply a Page-Level Filter

Apply a page-level filter to focus the analysis on a selected region or financial year. Check that the applicable visuals on that page reflect the condition.

25.9 Step 7: Apply a Report-Level Filter

Apply a report-level filter for a reporting period if the entire report should use the same period. Review each report page to confirm that the filter is appropriate.

25.10 Step 8: Configure Visual Interactions

Select the Region chart and use Edit interactions to configure how its selections affect the other visuals. Test filtering, highlighting, and disabled interactions where available.

25.11 Step 9: Add a Drillthrough Page

Create a product-detail page with Product as the drillthrough field. Add cards for sales and profit, a table of related orders, and a chart showing the product's performance over time.

25.12 Step 10: Test and Validate

  • Verify that the Total Sales measure matches the source data.
  • Test the Region, Category, and Date slicers.
  • Confirm that each filter operates at the intended scope.
  • Check that visual interactions are configured correctly.
  • Validate drillthrough behavior.
  • Review the report with all filters cleared and with multiple filters applied.

26. Exercises and Practice Questions

Exercise 1: Visual-Level Filter

Create a chart showing sales by product category. Apply a visual-level filter so that only Electronics appears in the chart. Confirm that other visuals remain unchanged by this filter.

Exercise 2: Page-Level Filter

Create a report page for the West region. Apply a page-level filter and confirm that all relevant visuals on that page reflect the selected region.

Exercise 3: Report-Level Filter

Apply a report-level filter for a selected year. Navigate through every report page and check the result.

Exercise 4: Basic and Advanced Filtering

Use basic filtering to select two regions. Then use advanced filtering to display records whose SalesAmount exceeds ₹50,000. Compare the outcomes.

Exercise 5: Top N Filter

Create a chart that shows the top five products by Total Sales. Confirm that the ranking changes appropriately when the reporting period changes.

Exercise 6: Date Slicer

Create a date slicer and analyze sales for two different periods. Explain how the measure values and trends change.

Exercise 7: Sync Slicers

Create two report pages and synchronize a Year slicer across them. Test whether the selection remains consistent while navigating between pages.

Exercise 8: DAX Filter Context

Create a Total Sales measure and a second measure that removes the Region filter. Place them in cards and compare their results when a Region slicer is changed.

Exercise 9: Drillthrough

Create a product-detail page and configure Product as the drillthrough field. Navigate to the detail page from a selected product in a summary chart.

Exercise 10: Troubleshooting

A report slicer does not affect a chart, and the card total appears lower than expected. Identify possible causes and describe how you would investigate both problems.

27. Interview Questions and Answers

Q1. What are filters in Power BI?

Answer: Filters restrict the data included in a report, visual, or calculation according to selected values or conditions.

Q2. What are the main filter levels in Power BI?

Answer: The main levels in the Filters pane are visual-level, page-level, and report-level filters.

Q3. What is a visual-level filter?

Answer: It applies to one visual, allowing that visual to display a subset of data without automatically applying the same filter to other visuals.

Q4. What is a page-level filter?

Answer: It applies to the relevant visuals on a single report page.

Q5. What is a report-level filter?

Answer: It applies across report pages wherever the field and filter context are relevant.

Q6. What is a slicer?

Answer: A slicer is an interactive report visual that lets users select values or ranges to filter related visuals.

Q7. What is the difference between a slicer and the Filters pane?

Answer: A slicer appears directly on the report canvas for interactive selections, while the Filters pane provides centralized filter configuration and management at visual, page, and report levels.

Q8. What is advanced filtering?

Answer: Advanced filtering uses conditions such as greater than, less than, contains, or starts with instead of relying only on selecting listed values.

Q9. What is a Top N filter?

Answer: It displays a specified number of highest- or lowest-ranked items according to a selected measure.

Q10. What is a drillthrough filter?

Answer: It carries the selected entity's context to a destination report page designed for detailed analysis.

Q11. What is filter context in DAX?

Answer: Filter context is the set of active conditions that determines which data is considered when a DAX expression is evaluated.

Q12. What is the purpose of CALCULATE?

Answer: CALCULATE evaluates an expression in a modified filter context and is commonly used to apply or change filtering conditions in a measure.

Q13. What is the difference between cross-filtering and cross-highlighting?

Answer: Cross-filtering restricts related visuals to selected data, while cross-highlighting emphasizes the selected contribution and may leave unrelated data visible but dimmed.

Q14. Why might a slicer not affect a visual?

Answer: The interaction may be disabled, a relationship may be missing or inactive, the filter may not propagate through the model, or the measure may modify the filter context.

Q15. Can slicers be synchronized across report pages?

Answer: Yes. Compatible slicers can be synchronized across selected pages using the Sync slicers pane.

Q16. Do filters delete source data?

Answer: No. Report filters normally restrict the data included in a displayed result; they do not delete records from the original source.

Q17. What is the difference between report filters and row-level security?

Answer: Report filters shape the analysis shown to users, whereas row-level security restricts which data users are authorized to access according to configured security rules.

Q18. How can you show the top five products by sales?

Answer: Apply a Top N filter to the Product field, set N to five, use the Total Sales measure in the ranking value area, and apply the filter.

Q19. Why might totals differ between two visuals?

Answer: The visuals may have different filters, interactions, aggregation levels, relationships, or DAX measure logic.

Q20. How do you troubleshoot unexpected filtering behavior?

Answer: Inspect the active filter cards and slicers, check visual interactions, validate model relationships, review DAX filter-context changes, and compare results with the source data.

28. Quick Revision Checklist

  • Understand the purpose of filters.
  • Know visual-level, page-level, and report-level filters.
  • Understand the Filters pane and filter cards.
  • Apply basic and advanced filtering conditions.
  • Use Top N filters for ranked analysis.
  • Use date filters and relative date selections appropriately.
  • Create and format slicers.
  • Understand single and multiple selection behavior.
  • Synchronize slicers across report pages when necessary.
  • Configure drillthrough pages.
  • Understand cross-filtering and cross-highlighting.
  • Understand how filter context affects DAX measures.
  • Use CALCULATE and REMOVEFILTERS carefully.
  • Validate relationships and measure results.
  • Remember that report filters are not a replacement for data security.

29. Conclusion

Filters are an essential part of Microsoft Power BI because they allow users to explore data at different levels of detail. Visual-level filters control individual visuals, page-level filters focus a report page, and report-level filters establish a common scope across pages. Slicers make frequent selections accessible, while drillthrough and visual interactions support deeper analysis.

To create reliable reports, choose the correct filter scope, use meaningful slicers, validate relationships, and understand how filters affect DAX measures. Testing multiple filter combinations helps ensure that report results are accurate and that users can confidently explore business information.

Explore the training course: Microsoft Power BI Training at JustAcademy

Register for a course demo: Register Here

Official Microsoft Learning Resources:

whatsapp