Can someone help me in configuring the Pivot Stage? The input data coming in is
A, B, C, D
and I need the output to be:
A, B, C1, C2, D1, D2
Example:
Input:
12345 aaaa c1 d1
12345 aaaa c2 d2
Output:
12345 aaaa c1 c2 d1 d2
Thank you
PIVOT Stage
Moderators: chulett, rschirm, roy
I think the obvious solution is using stage variables in a transformer, but, in case the number of reoccurances is varying you might need to build a routine that concatenates the fields
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)