Qlik Community

Ask a Question

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exclude after using Where clause or other methods.

Hi Have a Table where I pull information form and place it in to the Combined table I create. I want to add the report names, which adds fine, but it also adds junk I don't want, which I can filter based on a 'Event_Type_Name' field and its row called 'Object Instance'. The junk are Object Instances.

// First I create the table from another table.



  Event_ID as Combined_EventID,

  User_Name as Combined_UserName

Resident ADS_EVENT;

//Then I add report names to it, the Object Name field has any kind of object so I have to separate the data using IDs.


left join (Combined)


  Event_ID as Combined_EventID,

  Object_Name as Report_Names,

  Object_Type_ID as Report_ID

Resident ADS_EVENT

Where match(Object_Type_ID,'AYfjfcAV7cNPh33akDfm2RE'); 

//What I want to do after the report names have been pulled is to filter out the junk by telling the script to filter out anything that's considered an Object Instance.

Please let me know if I need to clarify more.



5 Replies
MVP & Luminary
MVP & Luminary

Any reason you can't add that object instance condition to your current where clause?

Where match(Object_Type_ID,'AYfjfcAV7cNPh33akDfm2RE') AND Event_Type_Name <> 'Object Instance';

talk is cheap, supply exceeds demand
Not applicable

I could try that, but the Event_Type _Name field is in another table, which is why I didn't try it.

MVP & Luminary
MVP & Luminary

Right, that won't work then until you join that field to the table.

talk is cheap, supply exceeds demand
Not applicable

Yea I might dump the field in to combined? and try it.


You could go in the script and create an indicator for an object instance, then use WHERE EXISTS(ObjIND,ObjIND)