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
bingbadabom
Helper I
Helper I

Measure that is the sum of a table value and another measure

I have a table that looks like this:

bingbadabom_0-1614677642643.png

I want the adjusted value for each row to be the sum of the adjustment and the value. [Adjustment] is a measure.
This, for some reason, will not work

Adjusted value = sumx('Table', 'Table'[Value]+[Adjustment])



 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@bingbadabom ,

Seem fine. Try one of the two option

 

Adjusted value = sumx('Table', 'Table'[Value]+'Table'[Adjustment])

 

Adjusted value = sum('Table'[Value])+sum('Table'[Adjustment])

 

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@bingbadabom ,

Seem fine. Try one of the two option

 

Adjusted value = sumx('Table', 'Table'[Value]+'Table'[Adjustment])

 

Adjusted value = sum('Table'[Value])+sum('Table'[Adjustment])

 

 

I am an idiot. Tried the second option and it worked like a charm. Thank you very much!

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.