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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Imperial_Lackey
Regular Visitor

Comparing two columns in a table...

Hi All

 

 

Trying to create a table that compares two column values and returns a value where there is a match ('Balanced' or 'Imbalanced').


I know I've done it correctly as its working in most cases, however there are many (too many to be comfortable with) that are clearly matching but are being reported as "imbalanced".

 

 

Its a large data set, just under 4m rows, but I don't believe that should be an issue...

 

 

I'm using:


Match = IF('Summary of Accounted DR and CR'[Sum of Accounted_CR]='Summary of Accounted DR and CR'[Sum of Accounted_DR], "Balanced", "Imbalanced")

 

 

 

I get the following;

 matching cells reported as not matching  (Imbalanced)...matching cells reported as not matching (Imbalanced)...

1 ACCEPTED SOLUTION
Stachu
Community Champion
Community Champion

it's probably rounding issues, you can add ROUND() to your comparison to cut of at the same precision to solve it



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

View solution in original post

2 REPLIES 2
Stachu
Community Champion
Community Champion

it's probably rounding issues, you can add ROUND() to your comparison to cut of at the same precision to solve it



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Aaah! I didn't think that was the issue but playing around with the forumula and then eventually switching the data type of the two currency cells to 'Fixed Decimal..' seems to have eliminated any formatting/ rounding issues! (if that's what it does)

 

Merci Beaucoup! Smiley LOL

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.