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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
New-Qlik
Creator III
Creator III

Passing Variable in Set analysis

Hello ,

I have two variables 

Let vl.product= 'ABC;

Let vl.codes = '1,2';

and i have an expression in table like this 

(sum({$< [Product Name] ={$(vl.product)},[Product Code] ={$(vl.codes )}>}[gross Sales ])

This expression gives me wrong output but if i manually select Product name as ABC and then code it shows correct number.

I have tried putting expression in quotes but no success.

Any idea why its behaving like this.

Thanks

 

1 Reply
tresesco
MVP
MVP

Possibly a quotation issue. Could you share a sample app that replicates data and issue?