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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

I am trying to add column values in each row to produce a totals column but doesn't work

I have tried to use SUM to add up the column values in each row and the final value is not right

 

My formula is as follows:

 

Totals = sum('Outstanding Work'[Key])+sum('Outstanding Work'[Verify])+sum('Outstanding Work'[Submit])+sum('Outstanding Work'[1ST TRACK])+sum('Outstanding Work'[2ND TRACK])+sum('Outstanding Work'[Outstanding HDMs])
 
this is the table with the Totals column:
 
sum tABLE.png

This is driving me crazy. Any help would be appreciated.

 

Luis

2 ACCEPTED SOLUTIONS

Thanks for sharing the PBIX. First off; try updating your PBI desktop (it doesn't relate to this issue, but always good to be up to date as I got a compatibilty message 🙂 )

Then on to your issue. The Key column has it's summarization set to COUNT, not SUM:

image.png

If this is correct, you need to change your measure accordingly:

Totals = COUNT('Outstanding Work'[Key])+SUM('Outstanding Work'[Verify])+SUM('Outstanding Work'[Submit])+SUM('Outstanding Work'[1ST TRACK])+SUM('Outstanding Work'[2ND TRACK])+SUM('Outstanding Work'[Outstanding HDMs])

Result:

image.png

Let me know if this answers your question 🙂

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

 Hi Djerro,

 

I dont know why you see count. This is my desktop capture...sum.png

View solution in original post

6 REPLIES 6
JarroVGIT
Resident Rockstar
Resident Rockstar

Are the other columns just column references or are these measures? If they are measures, could you share them? If they are column references, would it be possible to share your PBIX (can also via PM if you don't want to share publicly)? There is definitely something funny going on but we have to little to go on here 🙂

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

no the data is not a measure but it is in a matrix 

 

I dont want to share publicly and I didnt see an attachment option in the pm section

 

Regards,

Luis

Thanks for sharing the PBIX. First off; try updating your PBI desktop (it doesn't relate to this issue, but always good to be up to date as I got a compatibilty message 🙂 )

Then on to your issue. The Key column has it's summarization set to COUNT, not SUM:

image.png

If this is correct, you need to change your measure accordingly:

Totals = COUNT('Outstanding Work'[Key])+SUM('Outstanding Work'[Verify])+SUM('Outstanding Work'[Submit])+SUM('Outstanding Work'[1ST TRACK])+SUM('Outstanding Work'[2ND TRACK])+SUM('Outstanding Work'[Outstanding HDMs])

Result:

image.png

Let me know if this answers your question 🙂

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

 Hi Djerro,

 

I dont know why you see count. This is my desktop capture...sum.png

image.png

The number in your matrix represents a COUNT of the Key column, not a SUM. This is confirmed when you clik on the little arrow in the Columns field of the visual like the screenshot above. Changing your measure to use COUNT for the calculation as well for the Key column fixed the issue for you (now you get 172 in the first row). I don't know if you need COUNT or SUM, that is up to you of course.

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




If they are column references, do the value represent distinct counts? Or are they number columns and are they summarized as sums? 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors