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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple Box

I have a multiple selection box.

Cars:

LOAD * Inline [

CARS

Ferrari

Porsche

Rolls Royce

Suzuki

];

Now i am looking for a formula

If i have selected in the cars the value Ferrari then i want to show a specific column

I have next formula

If((Match(CARS,'Ferrari') = 1),1,0)

but it doesn't work if i have selected ferrari and porsche at the same time.

does anyone know?

1 Solution

Accepted Solutions
Not applicable
Author

Try this formula:

alt(WildMatch(GetFieldSelections(CARS,'|'),'*Ferrari*'),0)

View solution in original post

2 Replies
crystles
Partner - Creator III
Partner - Creator III

Perhaps if you tried using WildMatch() it wouldn't look for JUST the one selection, but whether it was selected at all?

Not applicable
Author

Try this formula:

alt(WildMatch(GetFieldSelections(CARS,'|'),'*Ferrari*'),0)