Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Search for a string in a Field

Hello Everyone,

does anyone know how to search for a string in selected field?

I need to know the recurrence of a specific string in a selected field.

Thanks in advance

Mirco

1 Solution

Accepted Solutions
Not applicable
Author

Hi Mirco, you can try using two functions -

getfieldselection - to get the field value selected

and

substringcount - to give frequency of the string you are searching for.

SubStringCount(GetFieldSelections(FIELD_NAME),'STRING_VALUE')

View solution in original post

2 Replies
aveeeeeee7en
Specialist III
Specialist III

Hi Mirco

You can achieve this using Button and setting Action under it.

Create Button> Properties

Actions> Select in field

Field : Name

Search String : *Mirco*

See the Attachment.

Regards

Aviral Nag

Not applicable
Author

Hi Mirco, you can try using two functions -

getfieldselection - to get the field value selected

and

substringcount - to give frequency of the string you are searching for.

SubStringCount(GetFieldSelections(FIELD_NAME),'STRING_VALUE')