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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
I would like to check if a value in column A already has any value in column B (no matter which one).
Normally I would solve the problem with VLOOKUP:
=IF(VLOOKUP(A1;$A$1:$B$12;2;FALSE)>0; "Yes"; "No")
How can I enable this in Power BI?
Thanks in advance.
Solved! Go to Solution.
Hi @Epinephrin ,
Something like below?
Column = IF('Table'[Column1] in VALUES('Table'[Column2]),"YES","NO")
Best Regards,
Jay
Hi @Epinephrin ,
Something like below?
Column = IF('Table'[Column1] in VALUES('Table'[Column2]),"YES","NO")
Best Regards,
Jay
Try new column like
Count = countx(filter(Table,table[colA] =earlier(Table[ColB])),Table[ColB])
or
Flag = if(isblank(countx(filter(Table,table[colA] =earlier(Table[ColB])),Table[ColB])) ="No","Yes")
Hey,
thank you. But the results from your first formular are empty and the second doesn't work because:
DAX comparisons do not support comparisons between True/False and Text type(?).
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 64 | |
| 47 | |
| 41 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 185 | |
| 123 | |
| 106 | |
| 78 | |
| 52 |