0
Styled text
Hello
How to style text negative positive and zero? there is a formula when there are two values, but you still need to add a text color when there is zero
let AA := 'field name'
if AA >0 then
styled(text(AA), " ")
else
styled(Text(AA), " ")
end
3 replies
-
For me, I like to use a switch if I have start embedding ifs within ifs.
You can try:
switch true do case 'field name' = 0: styled(text(AA), "green") case 'field name' < 0: styled(text(AA), "red") case 'field name' > 0: styled(text(AA), "orange") end
Content aside
- Status Answered
- 2 mths agoLast active
- 3Replies
- 50Views
-
2
Following