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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
Anonymous
Not applicable

Sum of Calculations

Hi,

 

if looking for simple = here Excel = sum(Value1;Value2)
Value = Calculation

I don´t want to use +/- ... cause prefix of value can be at least different.

 

What is the correct formula in dax?
Thanks  

5 REPLIES 5
mhossain
Solution Sage
Solution Sage

Hi @Anonymous 

 

If you don't want to use +/- then SUMX is the option will work smilar to excel, agree with @Greg_Deckler  in DAX this the solution if you want to go down that route.

 

But it's interesting if you want to sum the different measures, why you don't want to use + prefixes simple, please let me know.

Anonymous
Not applicable

Hi, 

Well, cause first of all i was to stupid.. i forget that i was also using a Flip... so that allows me to make negative always negativ and postiv always positiv... in that case i can always use + an have right result.

But at least, cause i like the formula sum(Value1;Value2;aso) cause in this case i my opinion is much saver, as working wiht + an -.

Hi @Anonymous ,

 

Incase you have multiple columns try this

 

Measure =  SUM('Table'[ColumnOne]) +SUM('Table'[ColumnTwo])

 

Regards,

Harsh Nathani 

Greg_Deckler
Community Champion
Community Champion

@Anonymous - This might help: SUMX( { [Value1], [Value2] },[Value])

 

If not:

 

Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.

 

Also, this: https://community.powerbi.com/t5/Community-Blog/Excel-to-DAX-Translation/ba-p/1060991



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...
amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in a table format?

In power BI  it Sum of Column sum(Table[col1])

or sum(Table[col1]) +sum(Table[col2]) 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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