Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
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