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: 
Yakuz
Contributor
Contributor

Include right syntax filter into if-statement

Hi all,

 

I am using alternate state "Group1" for 6 diagrams and state "Group2" for 2 diagrams in one chart. It works for all diagrams besides the map. 😞 The Map shows the calculated dots but not the Location which I have selected. 

How can I intrigate the selected Location into an if-statement. The if-formula includes the Variable inputs. How do I include the dynamic selected filter into the if-statement:

>>>  If ([ throughput<10000 and testCase='$(vDL)'  and YYMM=(Max(YYMM)) and testLocation=??????..

I have tried the following inserts into the if-statement:

1) testLocation= '$(testLocation)'

2) testLocation= '($testLocation)'

3) testLocation= '($(testLocation))'

4) testlocation = '([Group2]testLocation)' 

5)testlocation ='({Group} testLocation)'

What is the right syntax in an if-statement?

 

The map diagram settings are already set to alternate state :'Group2'.

Many thanks, if anyone can give a quick help on syntax.

Labels (1)
0 Replies