Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Combined:
Load
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.
NewReport2:
left join (Combined)
load
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.
Thanks
Alam
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';
I could try that, but the Event_Type _Name field is in another table, which is why I didn't try it.
Right, that won't work then until you join that field to the table.
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)