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: 
Not applicable

Use of one variable in another variable in QlikSense

Can I use one variable in another variable?  If  I have a variable defined as vSales= Sum(Sales) and I would like  to use another variable

vComb =$(vSales)+Expression.

Is it possible? if it is, how can I do it

1 Reply
oknotsen
Master III
Master III

Yes it is possible.

In this example I am using a variable with just a number together with an expression in another variable:

SET vCalculation = sum(Sales) * vRate;

(or do something similar in an input box)

May you live in interesting times!