Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
NicholasIQ
Partner - Contributor
Partner - Contributor

Load only records where a certain value is used a certain amount of times

Hello all,

I have a question. I have a table with columns 'upn',  'sct', 'specialism'. The 'upn' column contains client numbers. I want to load two versions of this table.

1. The full table. This presents no issues.

2. The table, but only the subset of records of clients with a maximum of 10 records. For example, if a client has 11 records in the table, I don't want to load those records. If a client has anywhere between 1 and 10 records, I want to load those records. 

I want to do this in the data load editor. 

Thanks a lot for helping out!

NicholasIQ

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

Easiest to do with a preceding load:

Load * Where Records <10;

Load Client, Count(RecordID) as Records

From YourTable

Group By Client;

View solution in original post

2 Replies
Or
MVP
MVP

Easiest to do with a preceding load:

Load * Where Records <10;

Load Client, Count(RecordID) as Records

From YourTable

Group By Client;

NicholasIQ
Partner - Contributor
Partner - Contributor
Author

That works, thanks a lot!