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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

$ expansion in the script and variable overview

Hi everybody.

I set two variables in the script -

SET Var1 = a+b;

SET Var2 = Sum($(Var1));

In Variable overview window Var2 expanded to Sum(a+b). Is it possible not to expand and keep  Var2 as Sum($(Var1)) in variable overview?

Thanks

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

LET Var2 = 'Sum($' & '(Var1))';


Or

SET Var2 = Sum(@(Var1));

LET Var2 = replace('$(Var2)','@','$');



talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

LET Var2 = 'Sum($' & '(Var1))';


Or

SET Var2 = Sum(@(Var1));

LET Var2 = replace('$(Var2)','@','$');



talk is cheap, supply exceeds demand