Drop field
One or several Qlik Sense fields can be dropped from the data model, and thus from memory, at any time during script execution, by means of a drop field statement. The "distinct" property of a table is removed after a drop field statement.
Syntax:
Drop field fieldname [ , fieldname2 ...] [from tablename1 [ , tablename2 ...]]
Drop fields fieldname [ , fieldname2 ...] [from tablename1 [ , tablename2 ...]]
Examples:
Drop field A;
Drop fields A,B;
Drop field A from X;
Drop fields A,B from X,Y;