Link to home
Create AccountLog in
Avatar of Coco Beans
Coco Beans

asked on

FACT TABLE updated

Hi,

I have an issue with my FACTS. I'm not sure what I should do with it.  

I have an registration fact table.  A student is registered in a College in January.  At the time of registration, the College is a public College.  Every February the colleges can be given a private status, and any registration after February will be at a 'Private College'.

When I try to analyse the number of students in a private college.  Anyone registered in January is public but after January is Private.  Once the college turns private, I would like to the registration to be classed as private.

I was thinking of adding a flag to my FACT private/Public.  And updating the Flag retrospectively if the College changes status.


Any thoughts?


Thanks for any help!
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
May be this flag shoud be in table with College properties?
Simce you have to check against FACTS, no. If the flag had effect on all registrations, that would work, but here you need more than just a single global flag.
hmm, the registration is the fact table as you said. Then the college is a dimension. According to your description a SCD-2 (slowly chaninging dimension, type 2).
That's oversized, ste5an, and against KISS. You do not have to document in each record why the status has been changed, because there is a single and simple event changing a lot of records.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Coco Beans
Coco Beans

ASKER

Thank you