Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
dunnalahk123
Creator III
Creator III

How to Pick ISO CODE from a Field

Hi,

Can Some one Help me how can we identify 2 letter ISOCode From a Project Name Field.

For Example i have 2 project Names from below but i have to get "CA" and "US" From below Project Names.

i have thousand of values in a project Name Field  so i have to pull all ISO Codes From that Field.

It will be always after second hyphen or Third hyphen or always 10 digit number.

  

Proactive Services-2054898610-CA-LIQUOR DISTRIBUTION BRANCH
PS - HP Proactive Care-2151293980-US-Oklahoma Housing Finance Agency

Can Some one help  me to find out. For your reference i am attaching the Qlikview app.

Best Regards,

HK

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

SubField(FieldName, '-', -2) as FieldName

Or

SubField( Mid( FieldName, FindOneOf(FieldName,'1234567890')),'-',2) as FieldName

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

1 Reply
Anil_Babu_Samineni

May be this?

SubField(FieldName, '-', -2) as FieldName

Or

SubField( Mid( FieldName, FindOneOf(FieldName,'1234567890')),'-',2) as FieldName

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)