Approach 1 using Sorter Transformation
Create a mapping as below:
In case your source is relation select "Distinct" option in Properties tab (not required any sorter transformation).
In case your source is file use Sorter Transformation as mentioned above:
In Sorter Transformation by selection “Distinct” option.
In Sorter Transformation by selection “Distinct” option.

Map required ports from Sorter Transformation to Target Instance.
Approach 2 using Aggregator
Transformation:
By selecting Group By option for all the ports in
Aggregator Transformation.
Create the mapping as below:
Create the mapping as below:
In Aggregator Transformation by selection Group by for “All Ports”. (In case your are filter duplicate based on selected ports/columns then select group by for only those ports/columns).

Map required ports from Aggregator Transformation to Target Instance.
Approach 3 using Ranker Transformation:
Create mapping as below:
Map ports from RankerTransformation to Target Instance.Create mapping as below:
we can do this by just Rank Transformation no need of Flagging and Filter Transformation.
ReplyDeleteYes.. We can do this by Rank also and I have already posted above a Approach 3 using Ranker Transformation
ReplyDeleteAwesome post bro
ReplyDeleteinformatica online training, informaitca training in bangalore