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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to store sum value in variable

how to store sum value in variable

set  VpercentSalary = sum(salary)/100

its not work any idea ..

pls suggest me..

Labels (1)
2 Replies
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Sarathi ,

Please use this Syntex

set  VpercentSalary = '=sum(salary)/100';

This Useful for U.

If u Not Answer please upload sample Qlikview file.

Regards ,

Perumal A

Anonymous
Not applicable
Author

Hi,

Use let instead of set. i.e. let VpercentSalary = sum(salary)/100

Thanks,

Leni