![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| With Member [Measures].[SalesForecast] |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
| IIF((ParallelPeriod(Year,2), |
#7
| |||
| |||
|
|
The "With Member", "AS", and "Select" should be stripped away when defining a Calculated Member in Analysis Manager - they are part of the complete MDX Query syntax. Anyway, looking at your MDX expression, LinRegPoint() would not be equivalent, since it does a Linear Regression extrapolation, whereas the expression is exponential. You can use ParallelPeriod() instead of Lag(), if you need forecasts at various time levels (Day/Month/Quarter): SHIPPED QUANTITY FORECAST IIF((ParallelPeriod(Year,2), [Measures].[Shipped Quantity])=0,NULL, (ParallelPeriod(Year), [Measures].[Shipped Quantity]) /(ParallelPeriod(Year,2), [Measures].[Shipped Quantity])-1) *(ParallelPeriod(Year), [Measures].[Shipped Quantity]) +(ParallelPeriod(Year), [Measures].[Shipped Quantity]) - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
|
When you say the current month is 007.2004, does that mean data is loaded upto 007.2004; so the last loaded month is the "current" month? Also, what forecast formula is used? - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |