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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Selis
Contributor III
Contributor III

Changing The data in a table

Hi,

I have a data table consisting of two fields:
OPNAME, NAMESTRING (This field consists of names separated by the sign "|")

For example:
OP1 "ABC|ABB|CVV"
OP2 "VGB|ABB"
OP3 "GGG"
I want to reverse the table so that it appears in the following format:
OP1 ABC
OP1 ABB
OP1 CVV
OP2 VGB
OP2 ABB
OP3 GGG

Thanks to anyone who can help how to do this.

 

Labels (1)
1 Solution

Accepted Solutions
Selis
Contributor III
Contributor III
Author

Thanks, It's working ! 

View solution in original post

2 Replies
BrunPierre
Partner - Master II
Partner - Master II

Hi, load data with NAMESTRING field in this manner.

SubField(NAMESTRING, '|') as NAMESTRING 

Selis
Contributor III
Contributor III
Author

Thanks, It's working !