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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
GEN3Electric
Regular Visitor

Find the Difference in the totals

My opperational software produces 4 different reports based on Revunue. I would expect the totals of these reports to match. But they don't. I built a report in powerbi that show me these 4 report by invoice #. Is there a way  for the reort to only show me the records that do not match?

 

 Where is the differance..PNG

1 ACCEPTED SOLUTION
jahida
Impactful Individual
Impactful Individual

Yep that should also work fine.

 

Use the Visual (or page or report) filter menus on the right:

Capture.PNG

 

Looking at it now, seems like the filtering for Logical values of measures doesn't work (and also my first formula wasn't a valid measure), so it's probably better to do:

 

MatchMeasure = (SUM(Table1[Total1]) = SUM(Table2[Total2]) && SUM(Table2[Total2]) = SUM(Table4[Total3]) && SUM(Table3[Total3]) = SUM(Table4[Total4])) + 0

 

and then you can drop MatchMeasure into the side menu and filter for is 1 (use the dropdown showing "is less than" and pick "is")

View solution in original post

3 REPLIES 3
jahida
Impactful Individual
Impactful Individual

MatchMeasure = Table1[Total1] = Table1[Total2] && Table1[Total2] = Table1[Total3] && Table1[Total3] = Table1[Total4]

 

And then filter for MatchMeasure = False?

The 4 Total are comming out of different tabels. Can you do this?

 

MatchMeasure = Table1[Total1] = Table2[Total2] && Table2[Total2] = Table4[Total3] && Table3[Total3] = Table4[Total4]

 

I have not used filters. Is "MatchMeasure = False?" a separated measure?

jahida
Impactful Individual
Impactful Individual

Yep that should also work fine.

 

Use the Visual (or page or report) filter menus on the right:

Capture.PNG

 

Looking at it now, seems like the filtering for Logical values of measures doesn't work (and also my first formula wasn't a valid measure), so it's probably better to do:

 

MatchMeasure = (SUM(Table1[Total1]) = SUM(Table2[Total2]) && SUM(Table2[Total2]) = SUM(Table4[Total3]) && SUM(Table3[Total3]) = SUM(Table4[Total4])) + 0

 

and then you can drop MatchMeasure into the side menu and filter for is 1 (use the dropdown showing "is less than" and pick "is")

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.