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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
robert_mika
Master III
Master III

Evaluate If statment within Set Analysis

I hit  a brick wall

I would like evaluate if statement within set analysis.

When creating variable I can write:

v_Co

=If(.....

and I can use that within my set analysis

SUM( {$<Desc={'$(v_Co)'}>} Am)

but how to write the set analysis syntax to evaluate that if statement in set analysis only.

I do not want to use variable globally.

so the when crating variable I will use:

v_Co

if(......

(no equal sign)

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

SUM( {$<Desc={'$(=$(=v_Co))'}>} Am)

View solution in original post

2 Replies
MK_QSL
MVP
MVP

SUM( {$<Desc={'$(=$(=v_Co))'}>} Am)

robert_mika
Master III
Master III
Author

I swear I tried that.

Thank Manish!

Vary Merry x-mass!