Hi Team,
I have a table which contains 11 variable (ID, Prod1--Prod10). I am getting desired output by following query but i need to make a DI job for the same, Kindly assist which transformation to use and how ( User written transformation is not allowed).
I tried with join + subqery but i was not able to make that, if this one is the correct way, it would be greatful if i could have step by step for that or any pdf link or video link.
Proc sql; Select * from (Select distinct(ID), Product1 from table1 Union Select distinct(ID), Product1 from table1 Union Select distinct(ID), Product2 from table1 Union Select distinct(ID), Product3 from table1 Union Select distinct(ID), Product4 from table1 Union Select distinct(ID), Product5 from table1 Union Select distinct(ID), Product6 from table1 Union Select distinct(ID), Product7 from table1 Union Select distinct(ID), Product8 from table1 Union Select distinct(ID), Product9 from table1 Union Select distinct(ID), Product10 from table1 )R; quit;
Regards,
Uma Shanker Saini
... View more