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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
arulsettu
Master III
Master III

convert values positive to negative and negative to positive

Hi,

      i am having a pivot table  with positive and negative values. i want to convert the values negative to positive and positve to negative.

one of community friend said mupliply by -1. but the problem is i am having multiple if conditions so i am unable to write the condition

anyone please can guide me how to do it

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have an expression now. 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. = -( ...complicated_expression_here ...) instead of -=( ...complicated_expression_here ...) or -(= ...complicated_expression_here ...). The last two are wrong.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have an expression now. 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. = -( ...complicated_expression_here ...) instead of -=( ...complicated_expression_here ...) or -(= ...complicated_expression_here ...). The last two are wrong.


talk is cheap, supply exceeds demand
arulsettu
Master III
Master III
Author

Thank you very much