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

Variable is not working in Set Analysis

Hey,

can anyone help me. I create a set analysis function with a variable vTest inside. But this function1 doesn´t work. I want to choose in Objekt A or B and then the function should give me the value of Wert like in Function2...

Thank you

3 Replies
sunny_talwar

Have a look, its working.

Need to add '=' to your variable and use this expression:

=sum( {$<Objekt = {"$(vTest)"}>} Wert)

maxgro
MVP
MVP

try vTest (remember 😃

=concat(distinct chr(39) & Objekt & chr(39), ',')

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

The content of your variable needs = sign.

So in the variable overview window click on your variable and in the definition section enter = before the fieldname