Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
javvaji
Creator II
Creator II

How to group records and send first record of group to online file and same for rest

 Hi Folks,

 

I need to group the records coming in email column and send the first record of each group into one file and next second record of each group to another file and remaining records also same.

Ex : 

a@a.com

a@a.com

b@a.com

b@a.com

a@a.com

c@c.com

 

As per above example first file should have 

a@a.com

b@a.com

c@c.com

second file

a@a.com

b@a.com

third file

a@a.com

 

Can anyone help me on this. Thanks in advance.

 

 

 

Thanks,

Bharath.

Labels (2)
11 Replies
Anonymous
Not applicable

@nthampi

 

Apologies, I saw this after I wrote my post and thought see if anyone can help.

vboppudi
Partner - Creator III
Partner - Creator III

Hi Shaf,

 

Please try below job. I used limited attributes for process. 

0683p000009Ly6f.png

 

Used tFilterRow to restrict "I" records.

0683p000009Lz0l.png

Used tMap to restrict number of attributes from source.

0683p000009Lyx4.png

And connected the tMap output to tFlowtoItterate.

0683p000009Lz0q.png

connected tfolowtoiterate to tFxedFlow and created number of attributes

0683p000009LyiL.png

 

Then connected to output file.

0683p000009Lyp2.png0683p000009LynL.png

Regards,