Forum Discussion
mdex
Resolver I
6 years agoCalculating Column/X Axis Percentage in Stacked Bar Chart
Hi, I have a matrix table show below that has the ability to show the percentage of column total. I'd like to also present the same data as a stacked bar chart but the item...
- Anonymous6 years ago
HI mdex,
You can try to use the following measure formula if they suitable for your requirement:
Measure = DIVIDE ( CALCULATE ( SUM ( Table[Amount] ), ALLSELECTED ( Table ), VALUES ( Table[Role] ), VALUES ( Table[Date] ) ), CALCULATE ( SUM ( Table[Amount] ), ALLSELECTED ( Table ) ) )Regards,
Xiaoxin Sheng
Anonymous
6 years agoNot applicable
HI mdex,
You can try to use the following measure formula if they suitable for your requirement:
Measure =
DIVIDE (
CALCULATE (
SUM ( Table[Amount] ),
ALLSELECTED ( Table ),
VALUES ( Table[Role] ),
VALUES ( Table[Date] )
),
CALCULATE ( SUM ( Table[Amount] ), ALLSELECTED ( Table ) )
)
Regards,
Xiaoxin Sheng