Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Designing problem on fact table and dimension

Status
Not open for further replies.

buabucha

MIS
Nov 10, 2002
3
TH
What Should be the proper desing for this case???? Please help.

I have a problem in designing fact tables and dimension. I design a fact table to have salesmanid and timeid and a meaure of sales amount.
The problem is the sales can be transferred to any unit oftenly. When I create a salesman table that contains salesman information and include department there. The summary of the sales amount by department can be wrong if the sales amount the salesman did when he belongs to deparment A, will be summarized to current department at this moment.
Time 1 Saleman A, Deparment D1, sales amount of 100
later he moves to Department D2
Time 2 Saleman A, Deparment D2, sales amount of 150
When summarized in cube, the sales of 100 will be added to Dept D2 which is wrong

 
Hi,
I think this is Type2 - Dimesnion Change.
Handle it accordingly. New Surrogate key has to be generated.

Prasad.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top