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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to store expression in Variables in Excel Sheet

I am using same expression in many charts, I think it will be more efficeint if I create a variable for each expression and call them from excel sheet. Can anyone help me start on it by advices or pointing to a thread??

5 Replies
sunny_talwar

Take a look at the attached sample. Hopefully this will help.

Best,

Sunny

Anonymous
Not applicable
Author

Thank you Sunny and Massimo!

Anonymous
Not applicable
Author

Sunny,

can you pls explain i=0 and next in your script.

Many Thanks.

imageFile.png

sunny_talwar

'i' is a For loop initiation variable and next is used to increment 'i'. For more details check out this wikipedia link: For loop - Wikipedia, the free encyclopedia