Solution:
1. Put the source to mapping and connect the ports to aggregator transformation.
2. Make 4 output ports in aggregator as in the picture above : count_d10, count_d20, count_d30, count_d40.
For each port write expression like in the picture below.
3. Then send it to expression transformation.
4. In expression make four output ports (dept10, dept20, dept30, dept40) to validate dept no
And provide the expression like in the picture below.
5. Then connect to router transformation. And create a group and fill condition like below.
Finally connect to target table having one column that is dept no.
Do we need to group by on dept no. here ...
ReplyDeleteThis article is very nice and informative to learners
ReplyDeleteInformatica training, informatica training in bangalore, informatica online training