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: 
Anonymous
Not applicable

Search for string in listbox

Hi guys,

I need to put an action in a button to filter a listbox with the string 'FCST'. This listbox contains values like 'FCST1', 'FCST2', 'FCST1', 'BGT' etc.

The problem is, I need to get the maximum nr. after 'FCST', in that case 'FCST3'.

Something like that: (but doesn't work..)

=If(Max(Right(WildMatch(Myfield,'FCST*'),1)),Myfield)

Any thoughts?

1 Solution

Accepted Solutions
sunny_talwar

May be this

=MaxString({<Myfield = {'FCST*'}>}Myfield)

View solution in original post

3 Replies
sunny_talwar

May be this

=MaxString({<Myfield = {'FCST*'}>}Myfield)

Anonymous
Not applicable
Author

use select in field for myfield and then

=MaxString({<myfield ={"FCST*"}>}myfield)

Anonymous
Not applicable
Author

Perfect, thanks!