How to transpose this Excel data (suggetions appriciated)

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

this is a very standard problem (normalize/denormalize) which is relativly easily to be solved.

Let me know if you don't find a solution by searching in this forum.
Wolfgang Hürter
Amsterdam
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This is a pivot; it can be done with a Pivot stage. Over-configure the number of pivoting columns, then filter out those generated with NULL in the result.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
paradize
Participant
Posts: 2
Joined: Tue May 22, 2007 10:09 pm

Post by paradize »

thnx for repling

ray.wurlod wrote:This is a pivot; it can be done with a Pivot stage. Over-configure the number of pivoting columns, then filter out those generated with NULL in the result. ...
How can i remove rows from the column defination when they r null
pls explain
as my columns will keep on increasing by time how much can i over-configure it
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Filter them out post-pivot with a simple "Not(IsNull())" constraint in the transformer after the pivot stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply