Lookup into DIM_MERCHANDISING table with the MERCHANDISING_ID and fetch the corresponding DEPT_NUMBER and then lookup into the DIM_SEGMENT table with SEGMENT_NUM = DEPT_NUMBER and retrieve the SEGMENT_ID
need join qyery for the above transformation..
input table = fact_sales
input column=MERCHANDISING_ID from fact_sales
so, can you publish what already has been done as query/join, so we can build on top of this - or correct something ..
Best Regards, Guy Przytula
Database Software Consultant
Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
Information Server Datastage Certified http://www.infocura.be