Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I was trying to use IF function to cross check 2 different tables. However it does not work as it is 2 separate tables. Do i really have to merge or append the tables? Below is my formula: Match = If('table A'[template] = 'table B'[template], "Yes", "No")
Solved! Go to Solution.
No you don't have to. You just need to utilize the DAX formula RELATED().
Try to use it like this: Match = If('table A'[template] = RELATED('table B'[template]), "Yes", "No")
Let me know how it goes. I'll also gladly elaborate.
@CTan42,
Please note that when you use RELATED() function as other post, you need to firstly create relationship using template field between the two tables.
Alternatively, merge the two tables based on the template field in query editor, then create Match column in the merged table.
Regards,
Lydia
No you don't have to. You just need to utilize the DAX formula RELATED().
Try to use it like this: Match = If('table A'[template] = RELATED('table B'[template]), "Yes", "No")
Let me know how it goes. I'll also gladly elaborate.
@Anonymous It works. Thanks for your help.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 51 | |
| 39 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 79 | |
| 37 | |
| 27 | |
| 25 |