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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking facts and dimensions at different levels? 1

Status
Not open for further replies.

MissyEd

IS-IT--Management
Feb 14, 2000
303
GB
Hello

We have a Sales cube with orders stored at line number level so:

OrderNum -> 1 or more InvoiceNum -> 1 or more LineNum

I've developed another cube that holds Enquiries which are recorded at order level so:

OrderNum -> 0 or more EnquiryNum.

I'm attempting to create a single cube with both Orders and Enquiries in the same cube. I've tried one approach but I'm interested in finding out the best way to handle this.

Many thanks

"There are only two lasting bequests we can hope to give our children; one of these is roots, the other wings" - Hodding Carter
 
I'm guessing that an Enquiry could become an order or not, depending on the customer choice. In that case, the dimension hierarchy becomes Enquiry, Order, Invoice, Line Item.

-------------------------
The trouble with doing something right the first time is that nobody appreciates how difficult it was - Steven Wright
 
No, these are separate, say for example a customer calling to check where their order is.

"There are only two lasting bequests we can hope to give our children; one of these is roots, the other wings" - Hodding Carter
 
You would build a seperate measure group that pointed to your Enquiries fact table.

Then depending on your business needs you could build a many to many relationship from Enquiries to Order.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top