Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
oseimuduame
Creator II
Creator II

Unwanted Field

Good Afternoon,

Is it possible to Exclude a particular field from the Database, i tried doing it with WHERE NOT but it only excludes the name of the Field but showing other attributes of the field.

Thank You.

13 Replies
vinieme12
Champion III
Champion III

if you know what fields are to be loaded, then specify all fields in the LOAD statement

if you only know what fields are to be excluded then drop them after the table load

example

Drop fields fielda,field2,.....;

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
oseimuduame
Creator II
Creator II
Author

i will try that but lets take for example i have a field that contains Column that contains Mango, Apple, Orange and Ball, but i want to fetch all items except Ball.

Thats what i meant. How can i fetch all items and ecxlude just Ball from my selection.

i used WHERE NOT Description = 'the Name of the Item(BAll);',

Please i need assistance

vinieme12
Champion III
Champion III

WHERE Wildmatch(FieldName,'Ball')=0;

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
oseimuduame
Creator II
Creator II
Author

What i am getting in SQL Script Editor is Invalid Identifier.

vinieme12
Champion III
Champion III

please post the script you are using

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
oseimuduame
Creator II
Creator II
Author

Lemme show you what CaptureReport.PNG

Now from the above table i want to exclud the row thats holding LPG BUTANE and so that i will only have my Gas Refill.

Any idea how that can be done

vinieme12
Champion III
Champion III

in Qlikview LOAD statement

Load *

From XXX

WHERE WildMatch(ItemName,'LPG Butane')=0;

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

i think you are adding the where clause in the Select statement instead of Load , if you post your script i can tell you where to place it

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
awhitfield
Partner - Champion
Partner - Champion

Where are you loading you r data from ?

Andy