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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
SupItzAdeem
Contributor
Contributor

Multiple Reject Files for each input file

Hey guys, I made a job where it takes in multiple files of donation entries based on volunteers and sorts through them and inserts them into my database and outputs the rejects into a file. I'm having trouble getting it to make a seperate file for each volunteer's reject entries

This is how my job looks like and so far:

SupItzAdeem_0-1722967830074.png

 

I have it mapped to a single csv file. I'm not sure how I would get it to make multiple files based on the volunteers since in the database the volunteers have a group leader id which is set to 100, 200, 300, ..., etc. and each group leader has volunteers with their own volunteer ids. For group leader id 100 it would range from (141 - 149), group leader 200 would be from 241-249.

 

Labels (2)
1 Reply
quentin-vigne
Partner - Creator II
Partner - Creator II

Hi SupItzAdeem

 

One idea is to add a tLoop component for each group leader from 100 to XXX with a step of 100

And add a tFilterRow for this value to only load the values of your file for the current value of the loop 

And the file of for the rejects you can name it "C:/....../rejects_"+tLoopCurrentValue+".csv"

 

That's juste one idea of how to implement it