Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi! I am trying to omit data in a table I have loaded in my app, but I can't figure out how to do it properly. I have tried editing the script, such as adding the line "set HidePrefix='datatoomit' ;" beneath the LOAD section of the script, but the data still remains in a table that I use in my app.
How can I accomplish this?
Hi there
Do you have a sample of the data in the file and the data you would ideally want? If you want to omit certain rows then you can put it in you where clause under the load and if you want to remove rows you can obviously not use them in the first place in your load statement or you can use DROP FIELDS <FieldName>; after your load.
Regards,
Mauritz
Hi
If you want to omit certain rows then you can use a Where statement, but you need to specify the field/column name that shouldn't have the 'datatomit' value. For example:
LOAD:
x,
y
From Table
WHERE
x <> 'datatomit';
As for the data connection part, try adding the data using the Data Manager and then unlock the script and edit it in the Data Load Editor.
Regards,
Mauritz
Yes, that's exactly how I wrote my code, so I think there's something wrong with loading the data, as you say. Thanks again!