Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Creating new rows & splitting up text strings

    Hello Experts!

Here is how my marketing campaign table looks like now. I am simplifying for the sake of discussion. Each unique email that is used by marketing campaigns is listed once and the campaigns utilizing that email are listed in one cell separated by a semi-colon (see below).

   

Campaign namelead Email
Campaign A; Campaign B; Campaign Caaffqa#@gmail.com

Here is how I want this to look so I can more easily manipulate the data in the future:

   

Campaign nameEmail
Campaign Aaaffqa#@gmail.com
Campaign Baaffqa#@gmail.com
Campaign Caaffqa#@gmail.com

How do I do this? I have no idea.

3 Replies
sunny_talwar

Try this:

LOAD SubField([Campaign name], '; ') as [Campaign name],

           [lead Email] as Email

FROM ....

maxgro
MVP
MVP

with subfield (replace with your field names)

load SubField(f1, ';') as f11, f2 Inline [

f1, f2

Campaign A; Campaign B; Campaign C , aaffqa#@gmail.com

];

1.png

sunny_talwar

Sample script:

Table:

LOAD SubField([Campaign name], '; ') as [Campaign name],

          [lead Email] as Email;

LOAD * INLINE [

    Campaign name, lead Email

    Campaign A; Campaign B; Campaign C, aaffqa#@gmail.com

];

Capture.PNG