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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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