Color of formula field
I want to be able to change the colour of a formula field while displaying the result of the formula based on conditions. Example. Red if result is less than 0 and green if result is greater than 0. I tried the styled and the color formula and could not make it work. Is this feasible?
7 replies
-
Hi,
---
let AA:=(your conditions);
styled("", if AA< 0 then "red" else "green" end)
---
regards
Leo
-
Excellent--Thank You
-
Leo, it does not work. It truns green alright, but does not display the value resulting from the formula.
-
if you need display from value, then:
---
let AA:=(your conditions);
styled(text(AA), if AA < 0 then "red" else "green" end)
---
Leo
-
It works. Great. Thank you very much!
-
Is it also possible to change the color in for example appointment to show diffrent colors in calendar based on diffrent choice you choose in another field?
-
Hi,
Yes, that should be possible
I have invited you in a separate e-mail to our "Webinar team EN 2019". Please accept the invitation to get access to the team and the approx. 150 demo databases.There you will find a database "99_appointment colour per doctor" where kind of that scenarion is shown.
Kind regards, Jörg
Content aside
- 5 yrs agoLast active
- 7Replies
- 4667Views