Forum Discussion
pollyog
Advocate I
8 years agoComparing column values with measure
Hi there! I have two tables (without relationship between them because of some businness rules). When I filter the CustomerID on table X, I have to check in every row of the table Y if this row i...
- 8 years ago
Hi pollyog,
Based on my test, you should be able to use the formula below to create a measure, then show it with TableY[CustomerID] on the Table visual in your scenario. :smileyhappy:
Measure = IF(MAX(TableY[CustomerID])=MAX(TableX[CustomerID]),"Yes","No")
Regards
v-ljerr-msft
Microsoft Employee
8 years agoHi pollyog,
Based on my test, you should be able to use the formula below to create a measure, then show it with TableY[CustomerID] on the Table visual in your scenario. :smileyhappy:
Measure = IF(MAX(TableY[CustomerID])=MAX(TableX[CustomerID]),"Yes","No")
Regards
pollyog
Advocate I
8 years agoThank you very much! It worked like a charm!