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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
RUPSY777
Helper II
Helper II

how to compare multiple columns from two tables in power bi ( is there any mdc or hash function key)

how to compare multiple columns from two tables in power bi ( is there any mdc or hash function key)?- i am doing a reconcillation where i am checking and comparing multiple columns using conditional column but is there any easy way or can we use hash key ?

6 REPLIES 6
camargos88
Community Champion
Community Champion

Hi @RUPSY777 ,

 

You can do it by merging with FULL OUTER if you have a key on both tables.

 

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



edhans
Super User
Super User

You can combine multiple columns in each table, then compare the combined colums to each other. There is no hash function though.

 

Not sure what you are doing though. You might be able to use an Anti-Merge to see what items don't exist in table a vs table b.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

i have already used a merge function to merge two tables ( primary and secondary table with left outer join - all rows from first and matching frm second). Then i started doing conditional column when we compare the columns. now i need a final column which will say if anything is not matched it should show but when i using final check column - its showing one value /either match or not matched - its not showing specfic values row wise.

Final column:

if [ID Check]="Match" and [Project name check]="Match"
and [Level 1 Function Check]="Match" and [Level 2 Function check]="Match" and [Fiscal check]="Match" then 1 else 0

Data would definitely help us out here.

How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

i am not able to the total check as its showing all false or all True .Capture.PNG

 

 

 
 

Can you follow the links I provided? I'm not typing that in.

 

How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors