Forum Discussion
Anonymous
6 years agoNot applicable
Compare value in two tables
Hello, I am trying to compare a single value in two table columns ie. "Table A[values] to Table B[values]" and if they match place a "Yes" in new column or "No" if no match. My DAX code listed i...
- 6 years ago
Hi,
Just in case you want to solve this without creating a relationship between the 2 Tables, write this calculated column in Table2
Column = if(ISBLANK(LOOKUPVALUE(Table1[Records],Table1[Records],Table2[Received])),"No","Yes")Hope this helps.
Ashish_Mathur
Super User
6 years agoHi,
Just in case you want to solve this without creating a relationship between the 2 Tables, write this calculated column in Table2
Column = if(ISBLANK(LOOKUPVALUE(Table1[Records],Table1[Records],Table2[Received])),"No","Yes")
Hope this helps.
Anonymous
5 years agoNot applicable
Hi Can you explain what needs to be done if we want to achieve this in a measure instead of column ?
- Ashish_Mathur5 years ago
Super User
This is an old post. Please share some data, explain the business context and show the expected result.