Forum Discussion
Anonymous
8 months agoNot applicable
DAX Formula
I have created PBI summarized table and I need another column DAX Formula column grant total divided by rows total NOT Sum of amount (later will add multiple columns) like 5 /43 , 31/43 , 7/4...
- 8 months ago
Please try the measure below:
% of Total = DIVIDE( SUM('YourTable'[Amount]), CALCULATE( SUM('YourTable'[Amount]), ALLSELECTED('YourTable') ) )
rohit1991
Super User
8 months agoHii Anonymous
You need row value ÷ overall grand total (dynamic). Create a measure, not a column:
% of Grand Total =
DIVIDE(
SUM('Table'[Amount]),
CALCULATE(
SUM('Table'[Amount]),
ALL('Table')
)
)
This keeps the row context (China, International, USCAN) but removes filters to get full grand total (43).