Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
AmCh
Creator
Creator

Create Fields from folder names

Hello All,

A. First step

 

I want to (1.) generate fields and (2.) name them as follow:

 

* I have a folder AB11  underthis path : C:\AB1\ AB11 containing  folders  01_AB111 and 02_AB112

 

--> (2.) Names of the fields should be AB111 and AB112

 

** 01_AB111 contains now Excel files named 01_v1111 and 02_v1112

*** 02_AB112 doesn't contain Excel files 

 

--> (1.) Values of field AB111  should be v1111 and v1112

--> (1.) Since 02_AB112 does not contain data files, the field AB112 has not to be created.

Output

AB111
v1111
v1112

 

 

B. Second step

* Excel files (e.g. 01_v1111 and 02_v1112) are structured as follow:

01_v1111

ABC
123
214

 

02_v1112

ABC
123
589
0117

 

--> I want to generate the following table named AB111 :

Variants_AB111A_AB111B_AB111C_AB111
01_v1111123
01_v1111214
02_v1112123
02_v1112589
02_v11120117

 

Any help please?

Thanks in advance.

Beste regards,

Amor

0 Replies