Power BI Data Analyst PL-300 · Model the Data · hard
To compute each product category's share of grand-total revenue ([% of All Category Sales]) in a matrix visual sliced by DimProduct[Category], you write DIVIDE([Total Sales], CALCULATE([Total Sales], ...)). Which modifier inside CALCULATE removes any filter on DimProduct[Category] so the denominator always equals grand-total sales across all categories?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: A. REMOVEFILTERS(DimProduct[Category]) to clear category filters
REMOVEFILTERS(DimProduct[Category]) (or ALL(DimProduct[Category])) clears the active filter context on DimProduct[Category] inside CALCULATE, ensuring the denominator returns total sales across all categories while the numerator respects the current matrix row's category.
Why the other options are wrong
- B. KEEPFILTERS(DimProduct[Category]) to intersect current filters — KEEPFILTERS preserves existing row filters, making the denominator equal the numerator (always 100%).
- C. VALUES(DimProduct[Category]) to return visible category rows — VALUES returns only the currently filtered category in the matrix row, also resulting in 100% on every row.
- D. RELATED(DimProduct[Category]) to traverse the many-to-one side — RELATED requires a row context and is not a table or filter modifier for CALCULATE.
More Model the Data questions
- Performance Analyzer shows that a report page takes 6.4 seconds to render, and your .pbix file size has ballooned to…
- Why does Microsoft recommend designing a Star Schema (normalized dimension tables connected via 1:* single-direction…
- A Sales table has 3 order lines: Line 1 (Qty = 2, UnitPrice = 10), Line 2 (Qty = 5, UnitPrice = 20), and Line 3 (Qty =…
- You are configuring a custom DimDate table in Power BI Desktop and selecting Mark as date table so DAX Time…
- When should a Power BI data modeler create a DAX Calculated Column instead of a DAX Measure?
- Your semantic model contains FactBudget (at the Month and Category grain) and FactActuals (at the daily Date and…
Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.