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

Disable auto-labeling on wildcard table loading

Hi all,

I have several Excel files with the exactly same structure. When I try to load them all while some fields are unqualified, it auto-numbers the label. How can I use one label instead of several?

My code is as follows,

QUALIFY *;

UNQUALIFY id;

MyList:

LOAD id, name, company FROM List*.csv;

UNQUALIFY *;


When the tables are loaded, I get MyList.name, and MyList.company. But I also got MyList-1.name, and MyList-1.company, etc.


Is there's a way I just get a single table like I didn't specify QUALIFY/UNQUALIFY at all?


Thanks a lot.


-jl

1 Solution

Accepted Solutions
sunny_talwar

May be do it this way

MyListTemp:

LOAD id,

    name,

    company

FROM List*.csv;

QUALIFY *;

UNQUALIFY id;

MyList:

LOAD *

Resident MyListTemp;

DROP Table MyListTemp;

View solution in original post

2 Replies
sunny_talwar

May be do it this way

MyListTemp:

LOAD id,

    name,

    company

FROM List*.csv;

QUALIFY *;

UNQUALIFY id;

MyList:

LOAD *

Resident MyListTemp;

DROP Table MyListTemp;

Anil_Babu_Samineni

Perhaps this Way?

QUALIFY *; 

MyList: 

LOAD id, name, company FROM List*.csv; 

UNQUALIFY *;


[MyList-1]:

Load * From ....

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful