Forum Discussion
Epinephrin
6 years agoRegular Visitor
How can I count the values without VLOOKUP?
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$...
- Anonymous6 years ago
Hi Epinephrin ,
Something like below?
Column = IF('Table'[Column1] in VALUES('Table'[Column2]),"YES","NO")Best Regards,
Jay
amitchandak
Super User
6 years agoTry 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")
- Epinephrin6 years agoRegular Visitor
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(?).
- DebbieE6 years ago
Community Champion