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: 
User12321
Contributor III
Contributor III

Extract text before a fixed phrase

Hi,

I want to create a table in load where the values are the text extracted before a fixed phrase (example: 'has met our orders') in the field names.

Can someone help please. Thank you.

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

You could do this by using mid() and index().

Try something like this:

mid([Company],1, index([Company], 'has met our orders')-1) as Company

View solution in original post

1 Reply
Vegar
MVP
MVP

You could do this by using mid() and index().

Try something like this:

mid([Company],1, index([Company], 'has met our orders')-1) as Company