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: 
omerbamba
Contributor
Contributor

SubField Extract

Hi,

Lets say that I have a list in one of my tables that contain data that look like this:

2018_BID_HC Cycle

2018_Stacker_HC Cycle

Now, During the LOAD I want to extract the words between the '_' (BID, Stacker)

I try the SubField Function but it extract only the first '_' (result: 'BID_HC Cycle', 'Stacker_HC Cycle')

Any suggestions?

Thx!

Omer

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

SubField(FieldName,'_',2)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

May be this?

SubField(FieldName,'_',2)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful