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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Show Percentage on Matrix but Category is 100

Is this possible in PowerBI. 

 

Can I have a Pivot matrix that has the following format?

Category A 100
 Sub category A.124
 Sub category A.276
Category B 100
 Sub Category B.123
 Sub Category B.277
Category C 100
 Sub Categoy C.122
 Sub Categoy c.278

 

This is called % of Parent Total in a pivot table in Excel:

axwack_0-1598883035276.png

 

 

 

This seems to work fine when working with a filter but not when you have the filter off:

 

For example: Filter Off:

 

We don't want the sum of each constituent to be the subtotal adding to the Category ...

 

Filter Off.png

But we want the sum as such on one Pivot Matrix for each category. Sort of like a union on a database query. 

Filter on.png

 

Is it possible to have the above picture equal to each 100% without having to filter?

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Plz let me know if you'd like to get this one:

Measure = IF(NOT(ISINSCOPE('Table'[Department])),1,DIVIDE(SUM('Table'[Cost of Material]),SUMX(ALLEXCEPT('Table','Table'[Product]),[Cost of Material])))

006.PNG

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

The sum of the percentages are not adding correctly. You may have put the percentage sum correct but percentage of 'a' should be a percent of Total '1'.

amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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