Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load data

Is it possible to load data with a filter.

We only want records with status Completed loaded. So how to filter the load of data on this criteria.

John

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

With a where clause. Something like this:

Table1:

Load *

from mysource

where Status = 'Completed';

If you load date from an sql database you can include the where statement in the sql statement

Select * from mytable

where Status = 'Completed';


talk is cheap, supply exceeds demand
Not applicable
Author

TRY ACCORDING TO THIS

DATA:

Load *

from DATATABLE

where match(id,'404','408','522');

sql select * from source;

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Yes, you can load data with filter. As fellow QV experts have suggested you can use WHERE clause both in SQL statement or in QlikView script (assuming you just load all the data from source , database, flat files i.e. Excel, CSV, without filter).

So something like this: ALL THIS IN QV SCRIPT

Select top(10) *

from YourSource: (From database)

Where JobStatus = 'Complete