Forum Discussion
mahadeva_raobc
9 years agoFrequent Visitor
Percent of column Total
Hi All, Iam new to Power BI, is there a way to display % instead of number in stacked bar chart. I want to display column total % and not Percent of Grand Total
- Anonymous9 years ago
mahadeva_raobc,
Create the following measure in your table.Perent of Total = DIVIDE ( COUNTA(Sheet1[CIP2]), CALCULATE ( COUNTA(Sheet1[CIP2]), ALLEXCEPT (Sheet1,Sheet1[Week]) ) )
Regards,
Lydia
mahadeva_raobc
9 years agoFrequent Visitor
Hi,
Thanks for your reply.
Taking 201719 as example chart has numbers 13, 46 ,7, 12.....
I want same chart but % of that column total so for 201729 total is 199 and chart should display 13/199 which is 6.53%
So chart should have 6.53% , 23.12%, 3.52% ......instead of 13 ,46 ,7....
Anonymous
9 years agoNot applicable
mahadeva_raobc,
Create the following measure in your table.
Perent of Total =
DIVIDE (
COUNTA(Sheet1[CIP2]),
CALCULATE ( COUNTA(Sheet1[CIP2]), ALLEXCEPT (Sheet1,Sheet1[Week]) )
)
Regards,
Lydia
- mahadeva_raobc9 years agoFrequent Visitor
- Purva_Purohit2 years agoNew Member
I am facing an issue in matrix
i am getting these percent and now i want to show this in stacked column chart so how to write dax query for this result