0

Color as background

Hi! I'm trying to set color as background.

 

It has to be like:

if the result is "MONTAGGIO" it has to be RED

if the result is "SMONTAGGIO" it has to be ORANGE.

 

this is the actual formula to edit:

 

if 'Check-In' > Event.Begin then
"SMONTAGGIO"
else
"MONTAGGIO"
end

 

Thanks for any help

2 replies

null
    • Nick
    • 4 yrs ago
    • Reported - view

    Here you go...

    ---

    if 'Check-In' > Event.Begin then
    styled("SMONTAGGIO", "orange", "", "")
    else
    styled("MONTAGGIO", "red", "", "")
    end

    • Walcher_Messebau_GmbH
    • 4 yrs ago
    • Reported - view

    That works great! Thanks a lot!!