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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
kg4u
Helper II
Helper II

How to divide column totals

Hi,

 

I have looked through this forum and searched online but cannot find a solution for what I think is an easy problem.  Below is my data table, and I simply would like a measure that will calculate (5,161.3/4392.7) or (Total CY/Total Target).  Do I need to create a measure for CY Total and Target Total?  I do not know how to create the two measures if that is what is needed.   Thanks!!

kg4u_0-1680098476126.png

 

 

 

5 REPLIES 5
justingraff88
Helper I
Helper I

should be able to just do a measure like below and change it to a %

justingraff88_0-1680100723065.png

 

@justingraff88 The only problem is I don't have a 'Table'.  The picture in my example is a table visual.  How do I pick up the total from the value from the visual table?  I can't create the calc you suggested as I don't have an actual table.   Do you have any other ideas for me to try?

@kg4u Can you post a copy of your pbix?

@justingraff88 Not quite what I am looking for.  I want to divide the column totals (5,161.3/4392.7)

It will display at the level it is at. So the total (117.50%) is the total of the columns divded by each other. If you don't want to display it with the different product levels showing I would recommend just putting the measure into a card visual (this would be the easiest way).

 

Alternatively you could just change the text and background of that column in the table to essentially hide the values

justingraff88_0-1680105550669.png

 

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.