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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Call Variables in Set Analysis

Hi everyone,

Need i little help here:

A create a variable that i called variable_a.

Then im trying to make Sum({$<id={'variable_a'}>} Costs).

It doesn't work.

Any suggestions for that?

Thanks,

Eliano

4 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

I can never quite remember the syntax without looking at my own previous uses (which I can't do now!) but try:

Sum({$<id={'$(variable_a)'}>} Costs)

or

Sum({$<id={"$(variable_a)"}>} Costs)

If neither works I'll go and look it up!

Jason

Not applicable
Author

Didn't work.

Anyother suggestions?

Thanks,

Eliano

Jason_Michaelides
Partner - Master II
Partner - Master II

I seem to remember an example being in the F1 help in Set Analysis. Have a look there.

Not applicable
Author

I solve it out.

thanks