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!View all the Fabric Data Days sessions on demand. View schedule
Hi Friends
I have following two tables in my project .
Now I want to check if CODE in Table 1 exists in Table 2 and If true a new column should be added to table 1 marked as 'Y' and if false new column should be marked as 'N'. Required output table is shown below. Kindly help to solve the issue.
Assumming you have a relationship between the two on CODE. You should be able to do something like this:
FLAG calculated column =
IF (
Table1[CODE] = RELATED( TABLE2[CODE] ),
"Y",
"N",
)
Thnaks,
It is not working my friend
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!