Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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(?).
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |