Room Tags with IF/Then Labels

Room Tags with IF/Then Labels

Anonymous
Not applicable
2,399 Views
4 Replies
Message 1 of 5

Room Tags with IF/Then Labels

Anonymous
Not applicable

Hello Dears,

I have created a shared yes/no parameter for rooms, for "Floor Demolition" . When I create Room Tags with this parameter, I get a simple "Yes" or "No" in the tag, depending on whether I have ticked the option or not. I want the tag to say, "Floor Demolished", in case the Floor demolished options is ticked, and want it to be blank if the option is not ticked. How can I achieve this text swap? Any way to put a formula in the label which says something along the lines of, IF "Yes" then "Floor Demolished", IF "No" then " " ?


0 Likes
Accepted solutions (3)
2,400 Views
4 Replies
Replies (4)
Message 2 of 5

martijn_pater
Advisor
Advisor
Accepted solution

You could do it using a calculated value in the label.
formula: IF(<sharedparameter>, "demolished", "not demolished")

..or vice versa IF (not(<sharedparameter>, "not demolished", "demolished") works too.

 

parameter_roomtag_.jpg

 

 

 

 

 

 

 

 

 

 

 


edit: just wondering if you wouldn't just need a schedule though?

0 Likes
Message 3 of 5

ToanDN
Consultant
Consultant
Accepted solution
If (Floor demolition, "Floor Demolished", " ")
0 Likes
Message 4 of 5

Anonymous
Not applicable

I did the exact same thing yesterday (although clearly I didn't) and it didn't work. Now it did. Thanks! 

My mistake probably was that I added the Floor Demolished field to the label and then did the formula. This time, I just did the formula, and it worked! Thanks for the screenshot. It helped me identify the apparent mistake.

0 Likes
Message 5 of 5

martijn_pater
Advisor
Advisor
Accepted solution

Small correction in my previous reply... IF (not(<sharedparameter>), "not demolished", "demolished")

...and you can fill in " " instead of "not demolished" as Toan showed above, to answer the question precisely. edit: althought it is "along the lines"  🙂

0 Likes