Modelling a related facts scenario
3 posters
Page 1 of 1
Modelling a related facts scenario
Hi,
Iam working on modelling a dimensional warehouse for a ticketing system. I have a accumulating snapshot fact table and the grain is individual ticket and there are a few dimensions involved. An individual ticket can be related to few other tickets in the system. How do i model this scenario?
Should this be a table where i store the fact id of the ticket and fact id of the related tickets, so that they can be joined with the fact table to retrieve the attributes?
Thanks in Advance.
Iam working on modelling a dimensional warehouse for a ticketing system. I have a accumulating snapshot fact table and the grain is individual ticket and there are a few dimensions involved. An individual ticket can be related to few other tickets in the system. How do i model this scenario?
Should this be a table where i store the fact id of the ticket and fact id of the related tickets, so that they can be joined with the fact table to retrieve the attributes?
Thanks in Advance.
arfoot653@gmail.com- Posts : 9
Join date : 2012-02-01
Re: Modelling a related facts scenario
Maybe, it depends. Is there a hierarchy among a group of tickets? How does one ticket relate to others?
Re: Modelling a related facts scenario
There are two cases. 1) Some tickets could be identified as realted to another Global ticket, which becomes the parent of the ticket. 2) Some tickets could be raised to address an already entered ticket, in which case its considered a related ticket, no hierarchy, but related.
Thanks,
Arun.
Thanks,
Arun.
arfoot653@gmail.com- Posts : 9
Join date : 2012-02-01
Re: Modelling a related facts scenario
It sounds like a role playing dimension by ticket. Is the ticket number a degenerate dimension (DD)? If it is, then put DD in different columns in the fact table. Otherwise have ticket SK by different aliases in your fact table like a normal role playing dimension.
hang- Posts : 528
Join date : 2010-05-07
Location : Brisbane, Australia
Re: Modelling a related facts scenario
Hi hang,
Thx for your reply. For the global ticket i had done a role playing dimension, since every ticket can be related to only one global ticket. But one ticket can be related to variable number of multiple tickets. So role playing dimensions are ruled out.
Thanks,
Arun.
Thx for your reply. For the global ticket i had done a role playing dimension, since every ticket can be related to only one global ticket. But one ticket can be related to variable number of multiple tickets. So role playing dimensions are ruled out.
Thanks,
Arun.
arfoot653@gmail.com- Posts : 9
Join date : 2012-02-01
Similar topics
» Modelling facts and related state transitions
» Related Facts?
» Facts with different grain from different sources but related
» Modelling two independent business processes related to a single event
» Modeling for Service related facts and dimension (for Tour Operating Company)
» Related Facts?
» Facts with different grain from different sources but related
» Modelling two independent business processes related to a single event
» Modeling for Service related facts and dimension (for Tour Operating Company)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum