Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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