![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to create an OLAP system using SQL Server 2000 Analysis Services (AS). I want the AS cube to be based on a database with a star schema. I have a field called Ratio. The initial ratio value is based upon this formula: (CurrentTimePeriodAmount - PreviousTimePeriodAmount)/PreviousTimePeriodAmount. However, that initial ratio can be manually overridden and replaced. Then the ratio is used to calculate future Amounts. Should I place that calculated Ratio field in the "source" database design or should it be part of the Analysis Services cube? |
#3
| |||
| |||
|
|
I'm trying to create an OLAP system using SQL Server 2000 Analysis Services (AS). I want the AS cube to be based on a database with a star schema. I have a field called Ratio. The initial ratio value is based upon this formula: (CurrentTimePeriodAmount - PreviousTimePeriodAmount)/PreviousTimePeriodAmount. However, that initial ratio can be manually overridden and replaced. Then the ratio is used to calculate future Amounts. Should I place that calculated Ratio field in the "source" database design or should it be part of the Analysis Services cube? |
#4
| |||
| |||
|
|
What you may want to consider instead of creating a new field in the physical table, is to use a view with the calculation there. I am a huge advocate of using views for fact tables for the reason you are talking about below. The problem is if the ratio is going to be replaced/overridden you need to ask yourself do you need to create a new record for this ration value so you can track the changes over time. Are these changes going to be adhoc, if so does your front-end tool allow for this type of What If Functionality. Things to ask yourself. HTH -todd imani_technology_spam (AT) yahoo (DOT) com wrote in message news:<8be6e8.0402030738.213518f7 (AT) posting (DOT) google.com>... I'm trying to create an OLAP system using SQL Server 2000 Analysis Services (AS). I want the AS cube to be based on a database with a star schema. I have a field called Ratio. The initial ratio value is based upon this formula: (CurrentTimePeriodAmount - PreviousTimePeriodAmount)/PreviousTimePeriodAmount. However, that initial ratio can be manually overridden and replaced. Then the ratio is used to calculate future Amounts. Should I place that calculated Ratio field in the "source" database design or should it be part of the Analysis Services cube? |
#5
| |||
| |||
|
|
Probably in the cube. public @ the domain below www.tomchester.net imani_technology_spam (AT) yahoo (DOT) com> wrote in message news:8be6e8.0402030738.213518f7 (AT) posting (DOT) google.com... I'm trying to create an OLAP system using SQL Server 2000 Analysis Services (AS). I want the AS cube to be based on a database with a star schema. I have a field called Ratio. The initial ratio value is based upon this formula: (CurrentTimePeriodAmount - PreviousTimePeriodAmount)/PreviousTimePeriodAmount. However, that initial ratio can be manually overridden and replaced. Then the ratio is used to calculate future Amounts. Should I place that calculated Ratio field in the "source" database design or should it be part of the Analysis Services cube? |
![]() |
| Thread Tools | |
| Display Modes | |
| |