Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
richard_chilvers
Specialist
Specialist

LOAD all fields except .....

It seems good practise to LOAD only those fields in a table which are useful, although the temptation is to LOAD everything, "just in case".

Of course, this can be achieved by listing each field which is required, but I wondered if there is a way to say LOAD all fields except .....

Perhaps LOAD * - NOT_NEEDED1, NOT_NEEDED2 FROM .... ;

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Or just use Drop Field after a Load *, like:

Load * From <>;

Drop Fields field1, field2;

Otherwise, if all fields are known, commenting out would a better option.

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Unfortunately no, just comment out the fields unwanted ...

tresB
Champion III
Champion III

Or just use Drop Field after a Load *, like:

Load * From <>;

Drop Fields field1, field2;

Otherwise, if all fields are known, commenting out would a better option.

richard_chilvers
Specialist
Specialist
Author

Oh yes, I should've thought of that. Its a pretty good solution.

Thanks