Forum Discussion
Arial12
7 years agoFrequent Visitor
Case like statements - Compare two table columns
Hi Experts, I have two table with similar column that i want to compare and calculate a column. something like this, if tabl1.col1 = tabl2.col1 then "yes" else "NO" any suggestion? ...
Anonymous
7 years agoNot applicable
Merge the tables into a new one in Power Query, then you can easily achieve what you want.
Arial12
7 years agoFrequent Visitor
can't merge them. both are very large tables
- Christann7 years ago
Advocate IV
Try creating a relationship between the tables and then use a function like:
isequal = IF(Table[Column1]=RELATED(Table2[Column1]),"yes","no")
Hope this helps!
- Arial127 years agoFrequent Visitor
Tables don't have a relationship.
- dedelman_clng7 years ago
Community Champion
Then how do you know which values to compare?