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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Identify if a specific field value is in current selection

Hi,

I'm interested in creating a conditional for an expression that identifies whether or not a specific field value is selected, and if it is shows the expression in a line chart. I was able to use: fieldName = 'value', but that only works if the only value selected in that field is 'value'. However I would like this to work if there are multiple selections for that field, as long as 'value' is one of them. I had previously asked this question and was told to use WildMatch(concat(fieldName), '*value*'), but this is not working for some reason. Does anybody know how to solve this?


Thanks for all of the help.

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Try this

WildMatch(GetFieldSelections(fieldName),'*value*')

Or

GetFieldSelections(fieldName) like '*value*'

View solution in original post

4 Replies
anbu1984
Master III
Master III

Try this

WildMatch(GetFieldSelections(fieldName),'*value*')

Or

GetFieldSelections(fieldName) like '*value*'

Not applicable
Author

would getCurrentSelections('FieldName') help you

lironbaram
Partner - Master III
Partner - Master III

hi

have a look  at the attach file

Not applicable
Author

GetFieldSelections(fieldName) like '*value*' works perfectly. Thanks.