Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
table1
EID Month Does Exist (conditional col) Doesn't Exist(conditional col)
vanessa.escudero Jan 0 1
jayvee.valdez Jan 0 1
jayvee.valdez Nov 1 0
charlotte.yoro Feb 0 1
charlotte.yoro June 0 1
charlotte.yoro Nov 1 0
emma.solo March 0 1
andrea.baral June 0 1
andrea.baral Nov 1 0
table2
EID Month
jayvee.valdez Nov
charlotte.yoro Nov
andrea.baral Nov
Solved! Go to Solution.
Hi, @Anonymous
Is this a error you encountered?
You need to make sure there are no duplicate records in table2.
You can also try formula like below:
Does Exist2 =
VAR result =
CALCULATE (
MAX ( table2[Index] ),
FILTER ( table2, table2[EID] = table1[EID] && table2[Month] = table1[Month] )
)
RETURN
IF ( ISBLANK ( result ), 0, 1 )Doesn't Exist2 =
VAR result =
CALCULATE(MAX(table2[Index]),
FILTER(table2,table2[EID]=table1[EID]&&
table2[Month]=table1[Month]
))
RETURN
IF ( ISBLANK ( result ), 1, 0 )
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
You can add index column for each table in PowerQuery.
Then you can try calculated column like:
Does Exist =
VAR result =
LOOKUPVALUE (
table2[Index],
table2[EID], table1[EID],
table2[Month], table1[Month]
)
RETURN
IF ( ISBLANK ( result ), 0, 1 )Doesn't Exist =
VAR result =
LOOKUPVALUE (
table2[Index],
table2[EID], table1[EID],
table2[Month], table1[Month]
)
RETURN
IF ( ISBLANK ( result ), 1, 0 )
Best Regards,
Community Support Team _ Eason
Hello, i've tried this but its giving me an error "A table of multiple values was supplied where a single value was expected."
Hi, @Anonymous
Is this a error you encountered?
You need to make sure there are no duplicate records in table2.
You can also try formula like below:
Does Exist2 =
VAR result =
CALCULATE (
MAX ( table2[Index] ),
FILTER ( table2, table2[EID] = table1[EID] && table2[Month] = table1[Month] )
)
RETURN
IF ( ISBLANK ( result ), 0, 1 )Doesn't Exist2 =
VAR result =
CALCULATE(MAX(table2[Index]),
FILTER(table2,table2[EID]=table1[EID]&&
table2[Month]=table1[Month]
))
RETURN
IF ( ISBLANK ( result ), 1, 0 )
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.