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.
I am trying to create a measure for % of total by Site. % of Grand Total can use built-in functionality so no work there, but what is the logic to break it down to an attribute level?
Tried this but it doesn't work: DIVIDE(SUM('Main'[Amount]),CALCULATE(SUM('Main'[Amount]),ALLEXCEPT('Main','Main'[Site])))
Hi @smileamile2 ,
I used your formula and get the result as shown in your screenshot. What is the expected result?
Best Regards,
Jay
Hey @smileamile2 ,
can you show your result in Power BI?
The values for % of total by site look good, but I guess that's Excel.
What is the result for the calculate-part:
CALCULATE(SUM('Main'[Amount]),ALLEXCEPT('Main','Main'[Site]))
Most results are 0%, only adding up to a total of 9.71%. I only included the excel spreadsheet as the desired outcome sample.
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 |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |