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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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

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