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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Users online (2,308)