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

Using a String Variable with Set Expressions

Hi Folks:

CAn't get this to work.  Result is always nothing.

Set Varx ="ACME INC";

=If (Count ( {$<[Install Site GU Company Name]={'$(Varx)'}>} [Serial Number])>0, Count ( {$<[Install Site GU Company Name]={'$(Varx)'}>} [Serial Number]))

Thanks.

1 Reply
jagan
Luminary Alumni
Luminary Alumni

Hi,

This expression is working, seems it is similar to yours.

Set Varx = 'a';

Expression = Sum({<[Student id]={'$(Varx)'}>} Mark1)

What are the dimensions you are using?  Can you attach sample file?

PFA, hope it helps you.

Regards,

Jagan.