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
Gumberculeez
Helper II
Helper II

getting the sum of measures

Hey All;

 

I'm in need of a hand with adding/subractiing measures.  Two is no problem.  However, I have 4 measures that I want to get the total of.  

 

Did some digging around, however I can't get sum or sumx to work.  they error every time.  Any assist would be great.

1 REPLY 1
amitchandak
Super User
Super User

@Gumberculeez ,

 

Sum  = [Measure1] +[Measure2] + [Measure3] + [Measure4]

 

Or

 

Sum = Sumx(Table,[Measure1] +[Measure2] + [Measure3] + [Measure4])

 

or

 

SumX(Values(Table[Value]), [Measure1] +[Measure2] + [Measure3] + [Measure4] )

 

or

 

SumX({ [Measure1] +[Measure2] + [Measure3] + [Measure4]}, [Value] )

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.