Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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