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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
noah44
Helper I
Helper I

Showing percentage in Line and Stacked Column Chart

Hi,

 

I have a Line and stacked Column Chart. It shows total Values and the Columns are grouped by a category.

 

noah44_0-1637850728580.png

 

Now I want to show the single category values as a percentage of the total value for each column.

In my picture you can see that the total Value for the selected column is 2462 and the selected category has a value of 1199. I would like the percentage to substitude the category value, instead of 1199 it would be 48.7% for this case.

 

Is there a way to achieve this?

 

 

Best regards 
Noah

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Add this measure to the tooltip:

Category % =
DIVIDE (
    SUM ( Table[Anzahl Abrufscheine] ),
    CALCULATE ( SUM ( table[Anzahl Abrufscheine] ), ALL ( Table[Farzzeugtyp] ) )
)




Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

4 REPLIES 4
PaulDBrown
Community Champion
Community Champion

Add this measure to the tooltip:

Category % =
DIVIDE (
    SUM ( Table[Anzahl Abrufscheine] ),
    CALCULATE ( SUM ( table[Anzahl Abrufscheine] ), ALL ( Table[Farzzeugtyp] ) )
)




Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi @PaulDBrown,

thanks for the solution! This is exactly what I needed.

amitchandak
Super User
Super User

@noah44 , assume you are using a measure, Create a new measure for % of sub total

 

divide([measure], calculate([measure], removefilter(Table[category]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  thanks for the reply!

I am not using a measure. I tried your measure anyways but it just gives out 1 (100%) for each category

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.