Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
manojin123
Contributor III
Contributor III

Split data in row level

Hi All,

 

Hope all is well,

Need help from you guys. I need to split cell values at row level with based on comma separate. is any know that how can i do in qlik sense. for better understand please see the below attached image. I am also attaching  sample data with expected result.

source Data is like this 

manojin123_0-1628764067560.png

I need data as per below format.

manojin123_1-1628764153220.png

 

 

1 Solution

Accepted Solutions
Taoufiq_Zarra

@manojin123  you can use Subfield, like :

Input:
load EmpID,subfield(Pod,',') as Pod;
LOAD * INLINE [
    EmpID, Pod
    12345, "VB_EB_Pet(3),VB_FrontDesk(3),VB_PLService(3),VB_PLService_Ancillary(3),VB_PLService_Billing(3),VB_PL_Care(3)"
    23456, "MRA_VOICEMAIL_AlexanderBaldwin(1),MRA_VOICEMAIL_DieboldNixdorf(1),VB_PLService(1),VB_PLService_Ancillary(1),VB_PLService_Billing(1),VB_PL_Care(1)"
];

 

output:

Taoufiq_Zarra_0-1628764934378.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

2 Replies
Taoufiq_Zarra

@manojin123  you can use Subfield, like :

Input:
load EmpID,subfield(Pod,',') as Pod;
LOAD * INLINE [
    EmpID, Pod
    12345, "VB_EB_Pet(3),VB_FrontDesk(3),VB_PLService(3),VB_PLService_Ancillary(3),VB_PLService_Billing(3),VB_PL_Care(3)"
    23456, "MRA_VOICEMAIL_AlexanderBaldwin(1),MRA_VOICEMAIL_DieboldNixdorf(1),VB_PLService(1),VB_PLService_Ancillary(1),VB_PLService_Billing(1),VB_PL_Care(1)"
];

 

output:

Taoufiq_Zarra_0-1628764934378.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
manojin123
Contributor III
Contributor III
Author

Thank you Taoufiq_Zarra