I need to identify the last row in a set of records and assign a flag to that row using informatica, not sure whether aggregator will do the job or rank. The grouping is based on multiple columns. Any suggestions please?
you can use rank or aggregator and then joiner transformation.
Aggregator - my preference.
Whole mapping should be like this -
SRT -->AGG--> EXP-->|
|----------------->|JNR --> next transformations
Rank This is similar to above process. only difference is we will use rank instead of aggregator. So, follow above steps with exceptions of rank. In rank transformation, pls mention, you want top row, use correct sort by column.
Mapping should be like this
SRT -->RNK--> EXP-->|
|----------------->|JNR --> next transformations