Handling changes to facts
2 posters
Page 1 of 1
Handling changes to facts
Hi All,
I have a question on how best to handle the scenario when something that has been recorded in a fact table changes at a later date. The situation is as follows:
If I have already inserted a row into the fact table what is the best way to handle these subsequent changes?
Any help/suggestions greatly appreciated!
Thanks.
lcm
I have a question on how best to handle the scenario when something that has been recorded in a fact table changes at a later date. The situation is as follows:
- For an educational institution
- Fact table storing a student's graded results for a particular unit - 1 row per student/unit inserted when a grade is detected
- Occasionally an error will be discovered after a unit has been graded (eg. wrong grade entered) and this will then be corrected in the source system.
If I have already inserted a row into the fact table what is the best way to handle these subsequent changes?
Any help/suggestions greatly appreciated!
Thanks.
lcm
lcm- Posts : 4
Join date : 2011-08-24
Re: Handling changes to facts
You have two choices:
1. update in place
2. expire the old row and insert a new row
It all depends if you want an audit trail of the changes.
1. update in place
2. expire the old row and insert a new row
It all depends if you want an audit trail of the changes.
Re: Handling changes to facts
Thanks for the response - it confirms my suspicions.
And yes, in this case they want to see the various values so I'll go down the row expiration route.
Thanks again,
lcm
And yes, in this case they want to see the various values so I'll go down the row expiration route.
Thanks again,
lcm
lcm- Posts : 4
Join date : 2011-08-24
Similar topics
» Multiple Facts or Single Facts and Status Table?
» How best to model Timesheet facts against Sales Order facts
» Identify the facts and facts grain
» In which layer to relate facts to other facts?
» Inventory facts and production facts
» How best to model Timesheet facts against Sales Order facts
» Identify the facts and facts grain
» In which layer to relate facts to other facts?
» Inventory facts and production facts
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|