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
ajohn1
Advocate I
Advocate I

Table Sum is incorrect.

if I were to take out my first 'if' statement "(if(value1-value2 <= 0, 0,)" the value comes out to be -92. But I'm replacing its value with 0. So why is calculating with the -92.

 

Capture.PNG

5 REPLIES 5
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @ajohn1,

 

If it is conveninent, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best  Regards,
Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

We found a work around, by appending a duplicate of our time and some other magic. To much to explain at the moment.

Hi @ajohn1,

 

If you solved your problem, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please feel free to ask.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I really appreciate replys from the community but neither of them worked for me. I would hate for somone to think the solution is in this thread. To make myself clear, we didnt get the table to add up the right way, but we formatted it to where it would be easy for our customers to understand.

 

Please close this thread if you can.

dedelman_clng
Community Champion
Community Champion

PowerBI tables/matrixes don't sum up the same way that Excel does.  Instead it recalculates the measure in the current context, which is ignoring the DLIN, DSUB, etc context.  It is calculating in the "Louisiana-Customer View" context.

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.