I’ve created a DAX measure to calculate the average revenue per customer across different product categories. The individual values displayed against each category appear correct, but the grand total doesn’t match the calculation I was expecting.
I understand that Power BI evaluates measures differently depending on the filter context, but I’m struggling to determine when the total should be recalculated and when it should represent an aggregation of the individual rows.
I’ve experimented with SUMX and VALUES, but I’m concerned about introducing incorrect calculations when users apply additional filters or drill down into the report.
How do you generally handle non-additive measures in Power BI while ensuring that totals remain meaningful from a business perspective?
