Hi,
I work for a hospital. I've set up a cube to analyse clinic slots (slots in clinics for patients to be booked into). All the dimensions from my fact table are linked via surrogate integer keys, including date. My date dimension has a row per day from 1 Jan 1800 to 31 Dec 2200. The key for the date table is the integer that is generated by the ccyymmdd value. e.g. 24 Jul 2002 would be 20020724.
My ClinicSlot (fact) table links to my date dimension on both the SlotDateID and the Patient DateOfBirthID. I am using the cube browser to look for numbers of slots each day by clinic, but it is using the DateOfBirthID rather than the SlotDateID, hence indicating that I have clinics running back in 1906, which isn't the case; the earliest clinic I have is in 1994.
How do I tell the browser which 'version' of the dimension to use? Thanks,
Mark
Mark Roworth