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

Is there any alternative for "InStr() Sql Function" in Qlikview?

Hi, I have the following status for my records:

  • BLOQ. A
  • BLOQ. B
  • C BLOQ.
  • CTEC A
  • CTEC BLOQ.

Well, I want to filter each record that contains "BLOQ" inside status value. In SQL exists the "InStr()" function but I haven't found any similar function in qlikview.

1 Solution

Accepted Solutions
maxgro
MVP
MVP

where     wildmatch(status, '*BLOQ*')

View solution in original post

4 Replies
marcus_sommer

Have a look on match() and wildmatch().

- Marcus

maxgro
MVP
MVP

where     wildmatch(status, '*BLOQ*')

MarcoWedel

To find the position of a substring in a string you can use the Index() function in QlikView.

So this would be the equivalent to the SQL InStr() function.

hope this helps

regards

Marco

Not applicable
Author

Many thanks, thats just that i've been triying to find.