Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
why would the total still count everything?
measure = CALCULATE(COUNTROWS(Table2), FILTER(Table2, COUNTROWS(Table2) > 1) )
how does one adjust the grand total to reflect the correct amount?
Proud to be a Super User!
Solved! Go to Solution.
Hi @vanessafvg,
Based on my test, the formula below should work in your scenario.
Measure 2 = SUMX ( SUMMARIZE ( Table2, Table2[Category], "counts", COUNTA ( Table2[Category] ) ), IF ( [counts] > 1, [counts] ) )
Regards
Hi,
Try this
=SUMX(FILTER(SUMMARIZE(Table2,Table2[Category],"counts",COUNTA (Table2[Category])),[COUNTS]>1).[COUNTS])
Hi @vanessafvg,
Based on my test, the formula below should work in your scenario.
Measure 2 = SUMX ( SUMMARIZE ( Table2, Table2[Category], "counts", COUNTA ( Table2[Category] ) ), IF ( [counts] > 1, [counts] ) )
Regards
Check out this blog post by PowerPivotPro:
https://powerpivotpro.com/2012/03/subtotals-and-grand-totals-that-add-up-correctly/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |