![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, Currently I am pulling my hairout trying to write some KPIs for AS 2k5. What I am trying to do is return an average against a measure for the last 7 days and 56 days respectively. Firstly, I trying completing the tasking with the following MDX & then using a Calculated Member. I was using the below MDX expression (which changes appropriately) & filtering by the current date: Avg ( [Date].[CalendarDate].CurrentMember.Lag(56) : [Date].[CalendarDate].CurrentMember, [Measures].[Withdraw Txns] ) I have also tried executing the TAIL function on the appropriate data ... alas, no love. Unfortunately, the KPI engine decides to sum the set of data it recieves, which royally buggers me. Basically, does anyone know how to create a KPI that will always return an average of last 7 days from the current day (so the user doesnt always have to filter the data). This is killing me so any help is most gratefully accepted. Regards, James Kent |
![]() |
| Thread Tools | |
| Display Modes | |
| |