Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!