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