Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

GetFieldSelections more than one value

i can't figure out the syntax for using more than one value with the GetFieldSelections function

GetFieldSelections(SECTOR)='CROSSOVER' AND GetFieldSelections(SECTOR)='CROSSOVER UPFRONTS'

i tried this but it doesn't work

any ideas?

2 Replies
MK_QSL
MVP
MVP

TRY

=IF(GetFieldSelections(SECTOR)='CROSSOVER,CROSSOVER UPFRONTS',

     Condition for True,

     Condition for False)

Not applicable
Author

Try:

if(SubStringCount(GetFieldSelections(SECTOR,', ',5000),'CROSSOVER')>0 or SubStringCount(GetFieldSelections(SECTOR,', ',5000),'CROSSOVER UPFRONTS')>0,1,0)

With 5000 as your max values (change as needed).