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
97gesex
Frequent Visitor

Yearly column chart with totals as percentage of month

I currently have a yearly chart showing a total for each region per month. I would like to show the values as a percentage of the monthly total, but when I change it to show as a %, it displays the percentage of the year grand total. I've tried adding a few measures with no luck, I still only get a percentage of the year total. Any ideas? Thanks in advance for any help.

 

yearly chart.png

1 ACCEPTED SOLUTION

Hi @97gesex,

Please create the percentage using formula below.

Percentage = COUNT(Table[Region])/CALCULATE(COUNT(Table[Region]),ALLEXCEPT(Table,Table[Month]))


Then put the measure in value level, and check if it works fine.

I create the following sample table, I create the measure and get desired result based on my sample table, please review.

1.PNG

Percentage = COUNT(Table4[Region])/CALCULATE(COUNT(Table4[Region]),ALLEXCEPT(Table4,Table4[Month]))


Please review the result as the screenshot shown.

3.PNG2.PNG

Best Regards,
Angelia

View solution in original post

13 REPLIES 13

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.