Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load statement using where

Hey guys, I want to load a Task object from SalesForce where the Status does not equal "Complete" so that only incompleted tasks are loaded in.  How do I do this?

[Task]:

LOAD

    AccountId,

    OwnerId,                                   

    Status                                     as TaskStatus,               

    Subject                                    as TaskSubject,

    Type;

SQL SELECT AccountId,

    CreatedById,

    OwnerId,

    Status,

    Subject,

    Type

FROM Task;

I know you are suppose to use a where statement.

1 Reply
Not applicable
Author

Hi Suzan,

You can put a WHERE clause in your LOAD statement like below.

LOAD .......

SQL SELECT...

FROM....

WHERE status <> 'Complete'.

Hope it helps.