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
Micnorex
New Member

Percent of column Total

Hi! Could anyone show me how to show a percent of column total in my chart? I only have the choice % of grand total. I would like to show the percent of column total as in the matrix table (screen shot). Please? Best regards MichaelScreen shot Power BI.png

 

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Micnorex,

 

If I understand you correctly, you should be able to use the formula below to create a new measure to calculate the percent of column total, and show the measure as Values on the Chart to get the expected result in your scenario. Smiley Happy

Measure =
DIVIDE (
    COUNTA ( 'Sheet1'[Number] ),
    CALCULATE ( COUNTA ( 'Sheet1'[Number] ), ALL ( 'Sheet1'[Alder] ) )
)

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @Micnorex,

 

If I understand you correctly, you should be able to use the formula below to create a new measure to calculate the percent of column total, and show the measure as Values on the Chart to get the expected result in your scenario. Smiley Happy

Measure =
DIVIDE (
    COUNTA ( 'Sheet1'[Number] ),
    CALCULATE ( COUNTA ( 'Sheet1'[Number] ), ALL ( 'Sheet1'[Alder] ) )
)

Regards

Thank you, that made the trick. Really appreciate it!

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.