dbTalk Databases Forums  

YTD return Err Values

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


Discuss YTD return Err Values in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
karenmiddleol@yahoo.com
 
Posts: n/a

Default YTD return Err Values - 06-18-2005 , 07:59 AM






I have defined two calculated measures one called

YTD which is defined against the Foodmart Sales Cubes
Measures dimension as follows:

SUM(YTD([Time].Currentmember),[Measures].[Unit Sales])

and similarly I have defined - Last12Periods as a calculated member
against the Measures dimension in my cube called ProfitCube

SUM(LastPeriods(12),[Measures].[COGS])

I see there is data from the last 36 months in the cube for the Measure
COGS the LastPeriods always returns a value ERR.

The YTD always returns the messages ERR in the cube browser
irrespective whether I select a specific time period or not.

Please clarify what is wrong here how do I get the LastPeriods and the
YTD working

Is there some publication on the web with MDX samples for Lead, Lagm
YTD, MTD and other MDX functions against the FoodMart cube.


Thanks
Karen


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.