| The query below returns the variance values based on the regression line for the Month members for the FY 2003 member.
|
| |
WITH
MEMBER Measures.[OrderCountVariance] AS
LINREGVARIANCE(LASTPERIODS(30) AS [TimeSet],
[Measures].[Order Count],
RANK([Date].[Fiscal].CurrentMember, [TimeSet]))
SELECT {[Measures].[OrderCountVariance]} ON COLUMNS,
DESCENDANTS([Date].[Fiscal].[FY 2003], [Date].[Fiscal].[Month]) ON ROWS
FROM [Adventure Works] |
| |
| |
| |
|
| |
|