![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello There, I am trying to create a calculated memmber that will aggregate last twelve monhts of data based on the current month. Let's say the current month in time dimension is 2003.OCT, so I would like to desing a calculated member that will aggregate 2003.OCT + 2003.SEP+...2003.JAN + 2002.NOV + 2002.DEC I was thinking on the lag function but never used it before, so i am not sure if that would work. any help will be highly appreciated thanks!! martino |
#3
| |||
| |||
|
|
Hello There, I am trying to create a calculated memmber that will aggregate last twelve monhts of data based on the current month. Let's say the current month in time dimension is 2003.OCT, so I would like to desing a calculated member that will aggregate 2003.OCT + 2003.SEP+...2003.JAN + 2002.NOV + 2002.DEC I was thinking on the lag function but never used it before, so i am not sure if that would work. any help will be highly appreciated thanks!! martino |
#4
| |||
| |||
|
|
-----Original Message----- Assuming the calculated member is a measure, something like this: SUM(LastPeriods(12), MyMeasure) public @ the domain below www.tomchester.net "martino rivaplata" anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:041401c3d571$8498e820$a501280a (AT) phx (DOT) gbl... Hello There, I am trying to create a calculated memmber that will aggregate last twelve monhts of data based on the current month. Let's say the current month in time dimension is 2003.OCT, so I would like to desing a calculated member that will aggregate 2003.OCT + 2003.SEP+...2003.JAN + 2002.NOV + 2002.DEC I was thinking on the lag function but never used it before, so i am not sure if that would work. any help will be highly appreciated thanks!! martino . |
#5
| |||
| |||
|
|
would not something like this work:? SUM(LastPeriods(12),[TIME].[2003.OCT]),CATEGORY.ACTUAL) thanks a lot for your thoughts! -----Original Message----- Assuming the calculated member is a measure, something like this: SUM(LastPeriods(12), MyMeasure) public @ the domain below www.tomchester.net "martino rivaplata" anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:041401c3d571$8498e820$a501280a (AT) phx (DOT) gbl... Hello There, I am trying to create a calculated memmber that will aggregate last twelve monhts of data based on the current month. Let's say the current month in time dimension is 2003.OCT, so I would like to desing a calculated member that will aggregate 2003.OCT + 2003.SEP+...2003.JAN + 2002.NOV + 2002.DEC I was thinking on the lag function but never used it before, so i am not sure if that would work. any help will be highly appreciated thanks!! martino . |
![]() |
| Thread Tools | |
| Display Modes | |
| |