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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
jonalyncas
New Member

How to get percentage of a group for multiple columns

Hi! I need your expert guidance, please. I am working on a dataset to get the volume percentage of each size, per quartile. I also want to create a table visual in powerBI. Here is what the data and expected output looks like.

Thank you in advance! ❤️

PS:
I've used the below formula but im getting the same % results for all sizes for Q1-Q4 . 😞

Test Engage = DIVIDE(COUNT('Table Q1),
CALCULATE(COUNT('TTable Q1]),
ALL()))



jonalyncas_0-1663242456225.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jonalyncas 

Step 1: Please go to Power Query and Unpivot all your data

Dax_Noob_0-1663244558775.png


Step 2: Go back to your reporting tab and create a matrix as per such

Dax_Noob_1-1663244677467.png


Step 3: Click on dropdown on count of value > Show Value As > Percent of Row Total

Dax_Noob_2-1663244717636.png


BR

View solution in original post

2 REPLIES 2
jonalyncas
New Member

Hey @Anonymous , thank you so much. First time I leaned about unpivot. Very helpful. And thank you for helping out with the steps. You're a Gem. 🙂

Anonymous
Not applicable

Hi @jonalyncas 

Step 1: Please go to Power Query and Unpivot all your data

Dax_Noob_0-1663244558775.png


Step 2: Go back to your reporting tab and create a matrix as per such

Dax_Noob_1-1663244677467.png


Step 3: Click on dropdown on count of value > Show Value As > Percent of Row Total

Dax_Noob_2-1663244717636.png


BR

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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