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

splitting returned record field into multiple records

Hi

I need to split the following table into a more readable format in the load statement.

From this

Area Post Sectors
A ['PE33 0', 'PE33 9', 'PE34 3']
B ['NG13 0', 'NG13 9', 'NG23 5', 'NG24 4']

 

To this

Area Post Sectors
A PE33 0
A PE33 9
A PE34 3
B NG13 0
B NG13 9
B NG23 5
B NG24 4

 

Any ideas please?

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

Hi, load the field like this.

Trim(PurgeChar(SubField([Post Sectors],','),'[]''')) as [Post Sectors]

View solution in original post

2 Replies
BrunPierre
Partner - Master II
Partner - Master II

Hi, load the field like this.

Trim(PurgeChar(SubField([Post Sectors],','),'[]''')) as [Post Sectors]

k_holt69
Contributor III
Contributor III
Author

Spot on thx, and really appreciate the quick response