dbTalk Databases Forums  

Another try, MDX LinRegxxx in Foodsmart

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Another try, MDX LinRegxxx in Foodsmart in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tbhope
 
Posts: n/a

Default Another try, MDX LinRegxxx in Foodsmart - 08-06-2003 , 04:55 PM






I must be missing something here... I'm trying to imitate
BOL examples and failing. Can anybody help me with why the
following produces errors?

with
member measures.myintercept
as 'linregintercept( lastperiods(9), measures.[store
sales] )'
member measures.myslope
as 'LinRegslope( LastPeriods(9), [Measures].[Store
Sales] )'
member measures.mytrend
as 'LinRegPoint( [Measures].[Store Sales], LastPeriods(9),
[Measures].[Store Sales] )'
select
{ [Measures].[Store Sales], measures.myintercept,
measures.mytrend, measures.myslope } on columns,
{ [Time].[1997].[Q1].[1] :[Time].[1998].[Q4].[12]} on
rows
from sales


Thanks in Advance!!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.