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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GD61
Helper III
Helper III

SUM row by row

Hi, 

In my table, I want to add a new column to display the sum row by row :

Crime rate + Community well-being + Cost of living + Health care quality + Tax rate

What is the formula to do that?

Thanks for help

Sum row by row.jpg

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

If I understand correctly, you would create a custom column with the formula:

 

MySum = [Crime rate] + [Community well-being] + [Cost of living] + [Health car quality] + [Tax rate]

 

You could also create a measure with the same formula and place it in a table visualization.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

If I understand correctly, you would create a custom column with the formula:

 

MySum = [Crime rate] + [Community well-being] + [Cost of living] + [Health car quality] + [Tax rate]

 

You could also create a measure with the same formula and place it in a table visualization.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

hello sir, i have the same issue and i did what u mentioned but the column shows total sum and not the individual sum...i even tried dont summerize option but its not working.. pls help @Greg_Deckler 

i want to use this calc and then also divide this number by the number of columns i used.. to get the average   ex: i have 12 columns and sometimes a row may only have 6 columns that have a number "1" so if the sum is 6 and i want to average it throught the 12 columns. i want the average to return ".5 " not averaging it through only the 6 filled columns returning "1".  

@Greg_Deckler

Thanks! That works!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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
Top Kudoed Authors