03-15-2018 11:55 AM
I have a usecase in which I get the files from some software that has record as follows -
Item Account Paid …
1 2.05
1 1.00
1 3.05
2 4.00
3 5.00
Now, I want to select the records having max value from account paid.It is like data base query pick max( account paid) group by item in RDBMS world.
I was able to group records but is there a way where I can select max( account paid ) value using snap ?
Any help much appreciated here…
Thanks…
03-15-2018 04:15 PM
My output should look something like this -
1 3.05
2 4.00
3 5.00
03-19-2018 01:09 AM
By using Aggregate Snap you can achieve your scenario. Please find below screen shot for reference.
Also I have attaching the sample snaplogic pipeline. please check it. Hope this is useful for you!
SL_COMM_SC1_2018_03_19.slp (3.2 KB)
03-20-2018 09:31 AM
So this works for simple example but aggregate fails when there are more fields.
03-20-2018 10:37 AM
Fails in what way?