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? ...
Christann
Advocate IV
7 years agoTry creating a relationship between the tables and then use a function like:
isequal = IF(Table[Column1]=RELATED(Table2[Column1]),"yes","no")
Hope this helps!
Arial12
7 years agoFrequent Visitor
Tables don't have a relationship.
- dedelman_clng7 years ago
Community Champion
Then how do you know which values to compare?
- Christann7 years ago
Advocate IV
As far as I know, you will have to create a relationship between the tables in order to compare between them. This may require creating an extra column on each of them to use as a link.