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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.