Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
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

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

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


Or

SET Var2 = Sum(@(Var1));

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



talk is cheap, supply exceeds demand