dbTalk Databases Forums  

Aggregating measures from the first period in the cube.

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


Discuss Aggregating measures from the first period in the cube. in the microsoft.public.sqlserver.olap forum.



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

Default Aggregating measures from the first period in the cube. - 05-02-2005 , 07:54 AM






I have a cube with a couple of measures and I want to aggregate these
measures from the first period in the cube. The time dimension, Period, has
four levels Year, Half year, Quarter and Month, the time dimension has no All
level. I have tried to create a calculated member with the following formula:

Sum(PeriodsToDate([Period].CurrentMember.Level.Members.Item(0):[Period].CurrentMember))

In the Calculated Member Builder I receive “Formula error-syntax error-Token
is not valid” but I can’t figure out how to change it. Can anybody give me
a hint?

Many thanks in advance

--
Not a Guru

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.