Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
How to show negative values to positive values within [ ] and red color font.Please anyone can suggest me how to achieve it.
Regards
Krishna
HI,
Check this
I add reply but its under moderation don't know why.
Check the attached File and let me know if that worked.
Regards
ASHFAQ
Hi,
Try something like this
=if(YourExpression<0,chr(91)&fabs(YourExpression)&chr(93),YourExpression)
Regards
ASHFAQ
Hi,
Try something like this
if(YourExpression<0,chr(91)&fabs(YourExpression)&chr(93),YourExpression)
Regards
ASHFAQ
you can start with fabs() function
fabs(-20) = 20
Hi,
Use num()
try like
num(value,'#,##0.00;[#,##0.00]')
and
For red font click on + symbol -> go to text color->write if(value<0,RED())
Regards,
HI,
Check this
I add reply but its under moderation don't know why.
Check the attached File and let me know if that worked.
Regards
ASHFAQ
Hi
try like this
Test:
LOAD * INLINE [
City, Amount
Berlin, -100
Zurich, 200
];
create a straight table in expression write fabs(sum(Amount))
and in background color write if(sum(Amount)<0,red())
hope this will help you
thanks