Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SubField Function in qlikview

Hi all,

From the following, I jus want LA_GRMTH as the output.

Is this possible using SubField function?

"RPRPLA_GRMTH_CD","relatedparty":"'

Thanks all for you help.

Vidhya

23 Replies
swuehl
Champion III
Champion III

Can you create a small INLINE script with the current code you are using (e.g. from Max Dreamer) and some sample records? So that we can see where it has not delivered the expected results?

swuehl
Champion III
Champion III

You can maybe use the occurence index in Textbetween() function:

TextBetween(FORM_DATA,'"relationshipinfo":[{"relationship":"R','_CD',1)as Primary_Relation,

TextBetween(FORM_DATA,'"relationshipinfo":[{"relationship":"R','_CD',2)as Secondary_Relation,


Secondary_Relation should be NULL in most records. You can decide what you want to do with these fields, e.g. concatenate into one or create a Hierarchy out of that.

Not applicable
Author

Thanks Swuehl.

Your suggestion worked.

Not applicable
Author

Thanks all for your effort