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: 
Anonymous
Not applicable

how to split the values in excel with more functions

Hi,Experts.

My extracted table data having more functions in one excel cell.I want split the values into different rows. Iam attached a table.

In my data one of the column is Group.The Group column is one of the sheet(i,e.LH  Driver Safety Scorecard) of attached data.please give me a suggestion.

Thanks in advance.

1 Solution

Accepted Solutions
Quy_Nguyen
Specialist
Specialist

Try this function:

https://help.qlik.com/en-US/sense/April2018/Subsystems/Hub/Content/Scripting/StringFunctions/SubFiel...

Example:

Load *, SubField(Group,'___') as NewField;

LOAD * INLINE

[

Group

NYALA___TC-993684___PC-ZM10000, NYALA EMAIL

]

View solution in original post

5 Replies
Quy_Nguyen
Specialist
Specialist

Try this function:

https://help.qlik.com/en-US/sense/April2018/Subsystems/Hub/Content/Scripting/StringFunctions/SubFiel...

Example:

Load *, SubField(Group,'___') as NewField;

LOAD * INLINE

[

Group

NYALA___TC-993684___PC-ZM10000, NYALA EMAIL

]

Anonymous
Not applicable
Author

Hi,Quy Nguyen.Thank you giving good suggestion.

IAm using same expression. Its possible only one row value to splitting purpose.When i execute the data is  combining with ',' & '__'.So i want split hole data of group column and the data  spit & the split data should be separate row.So please give another suggestion.

Thanks.

Quy_Nguyen
Specialist
Specialist

Hi,

Just replace the ',' by '___'


Load *, RowNo(), SubField(Replace(Group,',','___'),'___') as NewField;

LOAD * INLINE

[

Group

'NYALA___TC-993684___PC-ZM10000, NYALA EMAIL'

'SATWANT___TC-944083___PC-ZM10000, SATWANT EMAIL'

'STALLION MOTORS___TC-943658___PC-ZM10010'

'TOOL OF TRADE'

];

Anonymous
Not applicable
Author

Its working.

Thanks for give good suggestion.

Quy_Nguyen
Specialist
Specialist

Glad it helped. If your question has been answered with your satisfaction, please mark the appropriate  reply as correct/helpful.