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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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.

Labels (1)
1 Reply
jagan
Partner - Champion III
Partner - Champion III

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.