Good morning all. I have this on a number field, but not woking.
let Resta := 'A pagar' - Pagado;styled(text(Resta), if Resta > 0 then"#FFEE00"elseif Resta < 0 then "Orange" else "white" endend)
let Resta := 'A pagar' - Pagado;
styled(text(Resta), if Resta > 0 then
"#FFEE00"
else
if Resta < 0 then "Orange" else "white" end
end)
As far as I know, styled() does not work in numeric fields.
Try a formula field (result will be text).