Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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
Partner - Master

Hi, load the field like this.

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

View solution in original post

2 Replies
BrunPierre
Partner - Master
Partner - Master

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