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

Help in table script

Hello,

Want a help,

In center no i have data like'1','2','3','4','5' against 1 employee_no 1

How can i split these center_no for coressponding employee_no as follows-

I want the center no. in the below format

center no. employee_no

1               1

2               1

3               1

4               1

5               1

and that needs to be linked to appropriate employee no.

So the relation will be

for employee no 1 -->center no -->1

                                                  2

                                                  3

                                                  4

                                                  5

Thanks and Regards

Priya

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw. Is that what you need?


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

See attached qvw. Is that what you need?


talk is cheap, supply exceeds demand
eddysanchez
Partner - Creator
Partner - Creator

I think you need to load your first table like:

Directory;

CenterTable:

LOAD SubField(Replace([Center No],Chr(39),''),',') as [Center No],

     Employee_No

FROM

Book1.xlsx

(ooxml, embedded labels, table is Sheet1);