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

  • AREMOVEFILTERS(DimProduct[Category]) to clear category filtersCorrect answer
  • BKEEPFILTERS(DimProduct[Category]) to intersect current filters
  • CVALUES(DimProduct[Category]) to return visible category rows
  • DRELATED(DimProduct[Category]) to traverse the many-to-one side

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.

All Model the Data questions and the topic overview →

Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.