Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

GetFieldSelections with multiple values

Hi there,

i have a listbox with three values for year:     2012   2013  2014

I am using this listbox to enable and disable diagrams. This works fine with 1 value, like this in the Layout - Show Condition:

GetFieldSelections(Year) = 2013

But what about if i need to interpret 2 selections of the User (ie: 2013 and 2014)?

I am looking for a solution like this:

GetFieldSelections(Year) = 2013 or ((GetFieldSelections(Year) = 2013 and GetFieldSelections(Year) = 2014))

Thanks and regards

Sabrina

1 Solution

Accepted Solutions
Not applicable
Author

Thank you!

I have found the solution by myself:          Index(GetFieldSelections(Jahr), 2013) >0

Your solution didn't work correctly.

Regards!

View solution in original post

3 Replies
yduval75
Partner
Partner

Hello,

try this


Match(GetFieldSelections(Year) , 2013, 2014) > 0

Not applicable
Author

Thank you!

I have found the solution by myself:          Index(GetFieldSelections(Jahr), 2013) >0

Your solution didn't work correctly.

Regards!

View solution in original post

obriened83
Creator
Creator

Many thanks for the solution Sabrina, worked really well!!