SpinTheMic
Pro

Interview practice question

Percentage of total that ignores a slicer

Data Analyst · Power BI and Tableau · Intermediate

You need a measure showing each product's share of total sales, where the total ignores the product slicer but respects the date slicer. How do you write it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Denominator with REMOVEFILTERS/ALL on Product.
  • Keep other filters.
  • DIVIDE([Sales], CALCULATE([Sales], REMOVEFILTERS(Product))).
  • ALLSELECTED for visual totals.
  • Test with slicers.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics