Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
mahitham
Creator II
Creator II

Covert to negatvie values

Hi Experts,

Can any one please help me on below requirement.

I have a bar chart with below expression

if( RowNo()= 1, column(1), column(1) - above(column(1)) )


The bar chart contains some negative and some positive values. please help me to convert all the values as negative.

By using fabs function we can convert to all as positive values. Is there any way to convert all values as negative.

fabs(if( RowNo()= 1, column(1), column(1) - above(column(1)) ))


Thanks in advance


10 Replies
BalaBhaskar_Qlik

May be this:

But parenthesis around the entire expression and put a - in front of it. If your expression starts with an = character then put that outside the parentheses, i.e. = -( ...Expression ...)