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

Calculate percentage of each category based on total

Hi All,

 

Please have a look at the below table,

Capture.JPG

 

I wanted to calculate % for each category and for the below filtered category ABC, I wanted to calculate the percentage of category total. For example, (2/4)*100 gives 50% for column X=XXX and location = ABC with a count of 65. Similarly for each category.

1.JPG

What I don't want is the percentage of grandtotal. i.e (2/11)*100 = 18%

1 ACCEPTED SOLUTION
adityavighne
Continued Contributor
Continued Contributor

@Anonymous 

add same column Y next to it and take a percentage of total instead of count -

cou.png

View solution in original post

2 REPLIES 2
adityavighne
Continued Contributor
Continued Contributor

@Anonymous 

add same column Y next to it and take a percentage of total instead of count -

cou.png

Anonymous
Not applicable

Thank you it worked


@adityavighne wrote:

@Anonymous 

add same column Y next to it and take a percentage of total instead of count -

cou.png


 

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.