Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
pang22
Helper III
Helper III

show the Percentage of parent row total in Power BI matrix

Hi,

 

I can make Percentage of parent row total in Excel.

How to show the Percentage of parent row total in Power BI matrix?

 

Power BI:

pang22_0-1724053662196.png

 

Excel:

pang22_1-1724053701018.png

 

 

Excel (Percentage of parent row total):

pang22_3-1724053735727.png

 

 

 

8 REPLIES 8
v-xingshen-msft
Community Support
Community Support

Hi @pang22 ,
If you can't show the percentage of the parent hierarchy in the software, we can do it by measure, here is the related resolved document I found for you hope it will help you!

Solved: Percentage of parent column total (parent row tota... - Microsoft Fabric Community
Solved: Show percentage of parent total - Matrix Visual - Microsoft Fabric Community

Hope it helps!

Best regards,
Community Support Team_ Tom Shen

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

remonseha
New Member

Right click on the values field and select show values as percent of row total

ann_2024
Helper I
Helper I

Hi @pang22 ,

 

You can achieve it using matrix visual (refer screenshot)

ann_2024_0-1724059164623.png

 

You also need to enable the row subtotal in visualization pane.  

ann_2024_1-1724059209451.png

This step would help you to get % of parent row total

miTutorials
Super User
Super User

Right click on the values field and play around with your requirement. From the picture that you have posted you might want to choose Percentage of Column Total.

 

miTutorials_0-1724054184388.png

 

@miTutorials 

But there is no Percentage of parent row total. How to find it? Thanks.

 

Thejeswar
Community Champion
Community Champion

@pang22 ,

If you are not getting this option, you can use the below measure for this purpose

Percent_of_grand_total = 
VAR NUM = CALCULATE(SUM(A[QUANTITY]))
VAR DEN = CALCULATE(SUM(A[QUANTITY]), REMOVEFILTERS(A))
RETURN
DIVIDE(NUM, DEN)

 Post adding this measure to the table, add the totals in the properties as shown below

Thejeswar_0-1724056693178.png

 

Regards,

@Thejeswar 

 

I right click in PowerBI and only have these options. No % of parent row total

pang22_0-1724057103080.png

 

Thejeswar
Community Champion
Community Champion

@pang22 ,

If you see the screenshot @miTutorials shared, it shows the selection to Percent of Column total. In your screenshot also, you are having that option. You can use that.

 

If that is not working, you can use the DAX measure I have shared above. Pasting the same here again.

Percent_of_grand_total = 
VAR NUM = CALCULATE(SUM(A[QUANTITY]))
VAR DEN = CALCULATE(SUM(A[QUANTITY]), REMOVEFILTERS(A))
RETURN
DIVIDE(NUM, DEN)

 Post adding this measure to the table, add the totals in the properties as shown below

Thejeswar_0-1724147995895.png

 

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors