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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Purushothaman
Partner - Creator III
Partner - Creator III

Limit Load

Hi,

I have a QVD , I want to limit the to 600 rows based on below condition to fields;

1) Period = 2020, 2021

2) Product = Bike, Car, Cycle

 Note:  Each product 200 rows  and should be 100 rows for2020 and 100 rows for 2021.

How to do that in Data Load editior?

Anyone, Please help!!

 

 

1 Solution

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

 

Peraps a script like :

 

for each vPeriod in '2020', '2021'

  for each vProduct in 'Bike', 'Car', 'Cycle'

    First 100

    Load * From QVD Where Period='$(vPeriod)' and Product = '$(vProduct)';

  next vProduct

next vPeriod

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

1 Reply
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

 

Peraps a script like :

 

for each vPeriod in '2020', '2021'

  for each vProduct in 'Bike', 'Car', 'Cycle'

    First 100

    Load * From QVD Where Period='$(vPeriod)' and Product = '$(vProduct)';

  next vProduct

next vPeriod

Help users find answers! Don't forget to mark a solution that worked for you!