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: 
upaliwije
Creator II
Creator II

Error in Expression

if((Sum(ACTUAL)/$(=$(=vActual))*100)<0,Sum(ACTUAL)/$(=$(=vActual))*100)*-1,Sum(ACTUAL)/$(=$(=vActual))*100

The above expression in my Pivot Table  does not work. Will someone have a look at this and correct me please

1 Solution

Accepted Solutions
Anonymous
Not applicable

Try a simplified experssion:

=fabs((Sum(ACTUAL)/$(=$(=vActual))*100))


Marc.

View solution in original post

4 Replies
simondachstr
Specialist III
Specialist III

Can you disclose the content of vActual variable.. And when you say it doesn't work - is the expression not OK in the expression editor or do you get null as a result where you were expecting values?

upaliwije
Creator II
Creator II
Author

sum({$<DESCRIPTION={'GROSS_PREMIUM'}>}ACTUAL)

Expression is ok in expression editor    Expected Value is shown as -

Anonymous
Not applicable

Try a simplified experssion:

=fabs((Sum(ACTUAL)/$(=$(=vActual))*100))


Marc.

upaliwije
Creator II
Creator II
Author

Thanks All