Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
sona_sa
Creator II
Creator II

Drop the field

Hi,

I have 3 table and I want to delete or drop 3 field at a single line code from each table.

Is it possible ? If yes, Please suggest.

Regards,

K

7 Replies
kfoudhaily
Partner - Creator III
Partner - Creator III

felipedl
Partner - Specialist III
Partner - Specialist III

Hi,

If they aren't in other tables you can just use

drop fields X,Y,Z;

if they are present elsewhere, you'd have to specify the table for each one.

PabloTrevisan
Partner - Creator II
Partner - Creator II

Hi iTree,

you can try use

Drop Fields fiel1,field2,field3

If you use this command after the three tables, it will remove from all tables, if they are different fields, execute after the 'FROM' of each table



sona_sa
Creator II
Creator II
Author

Suppose

I have :

 

Table 1
A
B
C

 

Table 2
D
E
F

 

Table 3
G
H
I

Now I want to delete by using single line code - From Table 1 -- A, Table 2 -- D, Table 3 -- G,


Not Multiple line of multi-line Drop statement.


Thanks for Reply. Any Idea please suggest.

vishsaggi
Champion III
Champion III

After loading all these tables in the last line just do

Drop Fields A,D,G;

Chanty4u
MVP
MVP

or

drop the fields  A,B from Tabl1,Table2;

jagadeeshbv29
Contributor
Contributor

how  to drop multiple field names like  this   'David muffle'  In the table