dbTalk Databases Forums  

How to create calculated member to get last 12 months value

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


Discuss How to create calculated member to get last 12 months value in the microsoft.public.sqlserver.olap forum.



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

Default How to create calculated member to get last 12 months value - 11-05-2003 , 03:44 AM






Hi,
I am trying to create a calculated member for the cube.
In this, I need to create a calculated member for last 12
months value.For example Last 12months sales

How to do that?
If anybody knows pls reply.

Reply With Quote
  #2  
Old   
Bob
 
Posts: n/a

Default Re: How to create calculated member to get last 12 months value - 11-05-2003 , 05:54 AM






Tell us a little bit more about your time dimension
Bob
"Vanchi" <gvanchi (AT) hotmail (DOT) com> a écrit dans le message de news:
083601c3a378$fec85250$a601280a (AT) phx (DOT) gbl...
Quote:
Hi,
I am trying to create a calculated member for the cube.
In this, I need to create a calculated member for last 12
months value.For example Last 12months sales

How to do that?
If anybody knows pls reply.



Reply With Quote
  #3  
Old   
Tom Chester
 
Posts: n/a

Default Re: How to create calculated member to get last 12 months value - 11-05-2003 , 10:22 AM



Something like this:

Sum(LastPeriods(12, Time.CurrentMember), Measures.[MyMeasure])

tom @ the domain below
www.tomchester.net


"Vanchi" <gvanchi (AT) hotmail (DOT) com> wrote

Quote:
Hi,
I am trying to create a calculated member for the cube.
In this, I need to create a calculated member for last 12
months value.For example Last 12months sales

How to do that?
If anybody knows pls reply.



Reply With Quote
  #4  
Old   
Vanchi
 
Posts: n/a

Default Re: How to create calculated member to get last 12 months value - 11-06-2003 , 03:36 AM



Thanks Tom.
It works.
Vanchi
Quote:
-----Original Message-----
Tell us a little bit more about your time dimension
Bob
"Vanchi" <gvanchi (AT) hotmail (DOT) com> a écrit dans le message de
news:
083601c3a378$fec85250$a601280a (AT) phx (DOT) gbl...
Hi,
I am trying to create a calculated member for the cube.
In this, I need to create a calculated member for last
12
months value.For example Last 12months sales

How to do that?
If anybody knows pls reply.


.


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.