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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to split cell values and create separate records?

Hi There,

Below is the screenshot of a spreadsheet I am trying to load into QlikView.

Original_Questions.png

Basically, I have to split the Question ID values where two or more question IDs are joined with a + sign and create the below table to tell Qlik that these question IDs belong to the same dimension and report values.

ideal_Questions.png

Can someone help me achieve this?

Many Thanks,

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

I mean in your Load script like

LOAD Subfield(QuestionID, '+') AS QuestionID,

          Dimension,

          Report

FROM Table1.xlsx ;

View solution in original post

3 Replies
vishsaggi
Champion III
Champion III

Try this:

Subfield(QuestionID, '+') AS QuestionID

vishsaggi
Champion III
Champion III

I mean in your Load script like

LOAD Subfield(QuestionID, '+') AS QuestionID,

          Dimension,

          Report

FROM Table1.xlsx ;

Not applicable
Author

Hi Vish,

Thanks for your solution, it does the trick!

Laleh