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
vbourbeau
Resolver II
Resolver II

Total don't fit

 

 

Hi, I think it's a common problem but I can't figure it out.

Look the total for my measure "balance" and "total value". It's not the total I'm looking for I try to get the sum...

I know that PowerBi apply the measure to the total value but how can I tel them to do the sum.

I want Balance = 136 , Total Value = 253

 

Capture.PNG

 

Capture.PNGCapture2.PNG

source file https://we.tl/t-fm3wYbf9EA

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@vbourbeau , row context issue.

Please create both formula's with values or summarize

new balance = sumx(summarize(Table, table[part],"_1",[Balance]),[_1])

or

new balance = sumx(values(table[part]),[Balance])

 

You can replace [Balance] with actual balance formula

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@vbourbeau , row context issue.

Please create both formula's with values or summarize

new balance = sumx(summarize(Table, table[part],"_1",[Balance]),[_1])

or

new balance = sumx(values(table[part]),[Balance])

 

You can replace [Balance] with actual balance formula

Good 

But what I do with the other column.

the "Total 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.