Changing constant value with effective date
Posted: Thu Sep 19, 2019 2:17 pm
Hi All:
I am working for a hotel business, we keep tracking the daily occupancy rate , which is occupancy / available beds (on daily level).
I have an occupancy cube, which made up by Time, Centers and Occupancy_M dimensions.
In Occupancy_M dimension, amount other measurements, I have "occupied beds", which keep tracking the daily actual occupancy, and the "available beds" which is recording the available beds.
The "available beds" does not change very often, but in some cases, it will change and that is based on the center manager's decision.
I have 2 questions regarding to the "available beds" measurement.
1.
How do I put this "available beds" into a maybe like constant variable, so it will auto populated into the Occupancy cube on daily bases on each new day, because, we don't want to ask the center manager keep entering the same number ( in most cases ) each day.
2.
In case of that "available beds" changed ( say, for example, the center manager decide to take few beds offline for a week ) we want the manager to be able to enter the adjusted "available beds", and having an effective date from the date been entered, and without ruin the previous occupancy rate calculation (ie, it is not correct to apply the adjusted total beds into previous occupancy % calculation )
Please kindly help.
Thank you
W
I am working for a hotel business, we keep tracking the daily occupancy rate , which is occupancy / available beds (on daily level).
I have an occupancy cube, which made up by Time, Centers and Occupancy_M dimensions.
In Occupancy_M dimension, amount other measurements, I have "occupied beds", which keep tracking the daily actual occupancy, and the "available beds" which is recording the available beds.
The "available beds" does not change very often, but in some cases, it will change and that is based on the center manager's decision.
I have 2 questions regarding to the "available beds" measurement.
1.
How do I put this "available beds" into a maybe like constant variable, so it will auto populated into the Occupancy cube on daily bases on each new day, because, we don't want to ask the center manager keep entering the same number ( in most cases ) each day.
2.
In case of that "available beds" changed ( say, for example, the center manager decide to take few beds offline for a week ) we want the manager to be able to enter the adjusted "available beds", and having an effective date from the date been entered, and without ruin the previous occupancy rate calculation (ie, it is not correct to apply the adjusted total beds into previous occupancy % calculation )
Please kindly help.
Thank you
W