×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Modelling Order Header attributes

Modelling Order Header attributes

Modelling Order Header attributes

(OP)
Hi,

I'm just finishing off the modelling of a classic Sales Orders fact and have pushed all of the header information down to the line level as I believe is best practice. I've also got the Order number as a degenerate dimension but there are attributes that really are attributes of the header which implies I need a dimension to hang them off. Having a D-Order dimension attached to the fact defeats the whole point of pushing the header information down. It occurred to me that I could create a junk dimension of header attributes such as order status, order source and hang that off the fact thus removing the need for the D-Order dimension completely. (Actually while typing this it just became clear these are dimensions so I could just have two new dimensions hanging off the fact - or put them in a junk dimension as there are just 9 cross combinations)

Does this sound like a good approach? Any thoughts on what could be a better approach?

one issue that crossed my mind is that if there is no Order dimension and I have a second fact table built around the Invoice (I'm assuming a different grain if I keep invoice line in the fact) how would I relate an Order in the Orders fact to its Invoices in the Invoice fact?

Tom


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close