Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
oscargm_bi
Contributor III
Contributor III

Make a filter in the script after load a xsl file

Hi everyone,

 

I'm triying to make a filter in the Data Loader, for example

 

Column: SERVICE, this column bring me a lot name of services provides to a company, but I do not want that certainly services count in the app that I'm developing and the services are: AMBULANCE and PIMP.

 

How can I do the filter? any example?

 

Thanks a lot,

 

Regards,

 

Oscar,

Labels (1)
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

If you want to exclude AMBULANCE and PIMP, add a Where clause to the load:

...
Where Match(SERVICE, 'AMBULANCE', 'PIMP') = 0;

 

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
dplr-rn
Partner - Master III
Partner - Master III

You will have to use data load editor to filter the data
jonathandienst
Partner - Champion III
Partner - Champion III

If you want to exclude AMBULANCE and PIMP, add a Where clause to the load:

...
Where Match(SERVICE, 'AMBULANCE', 'PIMP') = 0;

 

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

If you wish your data contains only services AMBULANCE and PIMP the load script should look like this:
Table_name:
Load *
From
Where Match(SERVICE, 'AMBULANCE', 'PIMP')
;