Forum Discussion
Kamill11
Helper I
5 years agocompare columns with text values in different queries
Hi everyone,
I need to do measure for:
if the value in column 1 is contained in column 2 then it displays "YES", if none it displays "NO", Columns are in different queries, and they both are in text format.
I try to do it like this.
M = IF(CONTAINSSTRING(SUM(Column2),SUM(Column1)),"YES","NO")But there is problem with SUM, becouse of STRING.
Can someone help me? thank you.
2 Replies
- amitchandak
Super User
- Kamill11
Helper I
Should work, but the column1 and column2 are in different queries, and report is in DirectQuery mode. Is that problem or I do something wrong?