March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi everyone!
I am trying to set up a formula for a new measure with a IF condition.
I have actually 2 columns: Actual Room Name and New Room Name both with text values.
I would like to add a column that identifies when the Actual Room Name is different from the New Room Name.
And I was thinking using the IF value like I use in Excel...
Could you help me to redact the formula?
Thanks a lot!
Elofly
Solved! Go to Solution.
Hi @Elofly
You may use SELECTEDVALUE().
IF(SELECTEDVALUE(actual_room) = SELECTEDVALUE(new_room), True, False)
Thank you so much!
Or you can just use EXACT() and add a column 🙂
Hi @Elofly
You may use SELECTEDVALUE().
IF(SELECTEDVALUE(actual_room) = SELECTEDVALUE(new_room), True, False)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
118 | |
96 | |
87 | |
71 | |
62 |
User | Count |
---|---|
138 | |
116 | |
114 | |
99 | |
98 |