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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi everyone,
I stuck this problem when calculate the "% Margin" for each row level (please see detail in the picture below)
"Total Revenue" and "Profit/Loss" are calculation column and use Matrix to summary by all dimension for each row level.
Problem is only the last level is calculated percentage correctly. But the upper row level sum up every below rows rather than using the fomular to calculate percentage? 😓
The fomular is:
% of Margin = DIVIDE('3 LOAD FULL'[Profit/Loss],'3 LOAD FULL'[Total Revenue],0)
I don't know what was wrong of my implementation. Please help me, thank you ❤️
Solved! Go to Solution.
@TungNguyen_19 , I am assuming these are measures other wise you need a measure like
% of Margin = DIVIDE(Sum('3 LOAD FULL'[Profit/Loss]),Sum('3 LOAD FULL'[Total Revenue],0) )
% of Margin needs to be a measure
@TungNguyen_19 , I am assuming these are measures other wise you need a measure like
% of Margin = DIVIDE(Sum('3 LOAD FULL'[Profit/Loss]),Sum('3 LOAD FULL'[Total Revenue],0) )
% of Margin needs to be a measure
Thank you @amitchandak It's true, I need to use Measure rather than another Calculation Column. Thank you very much ❤️