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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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