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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Tyroooon
Regular Visitor

total of a pivot column is different from the sum of all columns values

Hello,

 

i have the following issue. We have contract hours assigned to only one department. In reality most do not work for one department only and hence have done work in other departments too. Now I simply wanted to divide the costs by the sum of one department through the costs of all departments one did work for and multiply it by the contract hours.

 

Works like a charm so far on a row base, but the total of the column differs from the sum of column values. The math behind is somehow correct. I hope with the attatched photo you get the idea (9 instead of 10).

 

Any suggestions highly appreciated. 

 

Cheers.

 

IMG_20170118_111636.jpgChristian

 

 

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Tyroooon,

 

Can you please share some detailed information or sample data? I'm not so clear for your issue.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

I don't really understand your workings, but if your column total doesn't match your row totals, it is no doubt a sumx issue. Read my article here - particularly the section "totals don't add up"

 

http://exceleratorbi.com.au/sum-vs-sumx-in-dax/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.