Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - Use of Variables

Hi everybody,

I have this expression:

=sum({<_PITR_Base={1}, Tipo = {'Ventas'}>} Cnt_VTA)

I wish to make this Variable:

vTest= <_PITR_Base={1}, Tipo = {'Ventas'}>

So I can use the created Variable in a lot of expressions with Set Analysis.

Wich is the right way to put that variable in the set analysis expression?

Thanks very Much

3 Replies
Anonymous
Not applicable
Author

=sum({$(vTest)} Cnt_VTA)

sunny_talwar

May be this:

=Sum({$(vTest)} Cnt_VTA)

swuehl
MVP
MVP

In general, when using variables, have a look at

The Magic of Dollar Expansions

The Magic of Variables