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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist
Specialist

Limiting the no. of rows in the data

Hi,

I have a table with many fields, but i want to restrict the data in the script by using company, brands and spend amount fields.

There are scenarios where there will be companies without brands and spend amount, so i want to restrict these records where the spend amount is 0 and no brands for a company.

There are scenarios where there will be companies and brands, but spend amount will be 0, so i want to restrict these records as well in the script.

How to achieve this in QlikView script?

1 Solution

Accepted Solutions
robert_mika
Master III
Master III

look for WHERE statement

Load * From..

WHERE SpendAmount>0 and not isnull(Brand)

or similar syntax..

View solution in original post

2 Replies
robert_mika
Master III
Master III

look for WHERE statement

Load * From..

WHERE SpendAmount>0 and not isnull(Brand)

or similar syntax..

sunny_talwar

May be like this:

Table:

LOAD Company,

          Brand,

          SpendAmount

FROM .....

Where SpendAmount > 0;

Your first condition is met by the overarching second condition