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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Negative Values

Hi,

I have the attached document, I am doing the percentage difference between rrp and cost, I have a issue where there are two negative fields and this will show this as a positive, has anyone have any suggestions to show this as a negative?

Thanks

1 Solution

Accepted Solutions
maneshkhottcpl
Partner - Creator III
Partner - Creator III

HI Please refer the attached document.

View solution in original post

2 Replies
maneshkhottcpl
Partner - Creator III
Partner - Creator III

Hi,

Please use the below expression

=

if([Total Cost]<0 and [Total RRP]<0,-1,1) * ([Total Cost]/[Total RRP])

refer the attached document.





maneshkhottcpl
Partner - Creator III
Partner - Creator III

HI Please refer the attached document.