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.
It is possible to show the % of column total (row total).
Is it also possible show the % of parent column total (parent row total) ?
For example:
We have a number of shops: Shop1, Shop2, Shop3, .... that all sell ice cream.
There is a wide variety of ice cream flavours: vanilla, chocolate, caramel...
What I need to know is the % percentage of flavours sold per month.
The first table has the count of each ice cream flavour.
The second table shows the percentage of the row total, that means for example if you sum up the % of Shop1 you get 100%.
This is what I have in PowerBI at the moment.
The third table is what I need to get in PowerBI.
As you can see Shop1 sold 50 chocolate ice creams in June, the % of chocolate ice creams in June is 50/(50+27)= 65%
Thanks in advance! I'm pretty new with PowerBI so maybe I missed the solution somewhere.
Solved! Go to Solution.
FOUND A SOLUTION!!!!
I did everything that was shown here
https://dwhgeek.wordpress.com/2015/01/18/percent-of-parent-in-hierarchy-dax/
Only replaced SUM with COUNT.
So alltogether it looked smth like this
ParentMeasure =
CALCULATE(
COUNT(Table[flavour]),ALL(Table[flavour])
)
RatioToParent =
COUNT(Table[flavour])/
ParentMeasure
)
FOUND A SOLUTION!!!!
I did everything that was shown here
https://dwhgeek.wordpress.com/2015/01/18/percent-of-parent-in-hierarchy-dax/
Only replaced SUM with COUNT.
So alltogether it looked smth like this
ParentMeasure =
CALCULATE(
COUNT(Table[flavour]),ALL(Table[flavour])
)
RatioToParent =
COUNT(Table[flavour])/
ParentMeasure
)
If your question is solved, please put your solution in a "REPLY" instead of editing your question context so that you/moderator can mark your thread as "Solved".
Regards,