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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
narender123
Specialist
Specialist

how to write expression in script

Hi

I want to set an expression in script.

=if(GetSelectedCount(Import)=0,sum({<Year={$(=max(Year))},STATUS_CODE={350,360},REGIME={'C*'},Export=,TAXCODE={'ED'}>}TAX),sum({<Year={$(=max(Year))},STATUS_CODE={350,360},Export=,TAXCODE={'ED'}>}TAX))

I have written this expression in chart expression using set analysis .Now i want it to write in Script level.How to write it???

Thanks

Labels (1)
10 Replies
narender123
Specialist
Specialist
Author

Thank you all for the support.