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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
vipin_mishra479
Creator II
Creator II

set analysis

i want a plant which are coming in vertical = '500060' and what ever the variable pass

Labels (1)
4 Replies
MayilVahanan
MVP
MVP

Hi,

     Try this,

     =only({<verical = {'500060' } , model = {'$(variablename)'} >} plant)

     Make sure that, plant has a single value for vertical and variablevalue

      or

    

     Concat({<verical = {'500060' } , model = {'$(variablename)'} >} plant,',') gives plant with comma separation

     Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
vipin_mishra479
Creator II
Creator II
Author

thanks ramasamy for a reply

i have use if(vertical = '500060' , model = '$(variablename)' >} plant) it gives the correct out put but i want two vartical

at a same time then it not show any value will u please suggest me the helpful answer

Not applicable

Hi,

Try this

MinString ( {$<vertical={'500060','500061'}>} if ( model = variablename , Plant ) )

or

MinString ( if ( vertical = '500060' or vertical = '500061' , if ( model = variablename , Plant ) ) )

HTH

vipin_mishra479
Creator II
Creator II
Author

sorry its not working bcz i m trying in list box