Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I Have three calculated columns X,Y,Z
I need to compare X=Y=Z and flag them if they are not equal
I can do by creating a three different columns agian like
X=Y
Y=Z
X=Z
If all have true then TRUE
But, Is there any easy way to do it in DAX ?
Solved! Go to Solution.
Hi @spaturu3234,
You just need to create a calculated column using the formula.
Flag = IF(Table4[Column1]=Table4[Column2]&&Table4[Column2]=Table4[Column3]&&Table4[Column1]=Table4[Column3],"True","False")
I create a sample table and test it, please see the result below.
Best Regards,
Angelia
Hi @spaturu3234,
You just need to create a calculated column using the formula.
Flag = IF(Table4[Column1]=Table4[Column2]&&Table4[Column2]=Table4[Column3]&&Table4[Column1]=Table4[Column3],"True","False")
I create a sample table and test it, please see the result below.
Best Regards,
Angelia
NewColumn = Table1[Column1]=Table1[Column2] && Table1[Column1]=Table1[Column3] && Table1[Column2]=Table1[Column3]
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |