Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
79 | |
53 | |
39 | |
36 |
User | Count |
---|---|
100 | |
85 | |
47 | |
46 | |
44 |