The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a row that has the totals per Category in row 2. What I'd like is to not sum the total of row 2 because that would be way too much, but only sum one value in row 2 per Category. The granularity also needs to be kept. I pretty much need a DAX calc that will make the sum of column 2 be equal to the sum of column three by only summing one value from column 2 per Category so both grand totals for column 2 and 3 are 2500. Right now, column two will be 7500, which is over-summing.
Category | Total | Commission |
A | 1000 | $ 400.00 |
A | 1000 | $ 200.00 |
A | 1000 | $ 400.00 |
B | 1500 | $ 500.00 |
B | 1500 | $ 500.00 |
B | 1500 | $ 500.00 |
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Sum Total measure: =
SUMX ( SUMMARIZE ( 'Data', 'Data'[Category], 'Data'[Total] ), 'Data'[Total] )
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Sum Total measure: =
SUMX ( SUMMARIZE ( 'Data', 'Data'[Category], 'Data'[Total] ), 'Data'[Total] )
calculate(sum([commission]),allexpet(table, table[Category]))
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |