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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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