Hi,
I have requirement to read Excel in such a way :
xxxxx Apple Orange Mango
Peter 5 9 10
Ellie 9 6 3
Sarah 2 10 7
and covert it into such a way:
Peter Apple 5 (or Apple Peter 5)
Peter Orange 9
Peter Mango 10
Ellie Apple 9
Ellie Orange 3
and so on
I am thinking Excel Read + Pivot OR Excel + Transformer with loop
but in either case i cant materialize the implementation concretely nor think of a better idea...
Would love somebody's help.
Thank you
Suryesh
Excel Reading
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 6
- Joined: Thu Jul 10, 2014 5:09 pm
- Location: France
Excel Reading
Suryesh
Your first suggestion is the best approach. Read the Excel into DataStage and then pivot the results on the person.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 6
- Joined: Thu Jul 10, 2014 5:09 pm
- Location: France
Better? Depends. A csv is just a flat file and anything can read it and it is what you had to do before things like that new stage showed up. That or, since you are on Windows, use an ODBC driver for Excel. Saves an extra step since you don't have to do the "Save as" but many people find dealing with ODBC and Excel... problematic. Never used that Unstructured Data stage so will be curious how it goes.
Let us know!
Let us know!
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 6
- Joined: Thu Jul 10, 2014 5:09 pm
- Location: France