![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi Deepak, Me again with the Rolling Time problem. The formula that we previously came up with works well if there's one distinct count measure. But now, I have two other measures (not distinct) in the cube. Using the formula that I have only accounts for the distinct count measure. This is what I have: IIF([Measures].CurrentMember = [Measures].[No of Cases], NonEmptyCrossJoin({[Cases].[Case Key].Members}, {[Locations].CurrentMember}, {[Time Series].[Value]}, {[Measures].CurrentMember}, {[Intent].CurrentMember}, {[Staging].CurrentMember}, {[Calendar Time].CurrentMember}, LastPeriods(4,[Fiscal Time].CurrentMember),1).Count, Sum(LastPeriods(4,[Fiscal Time].CurrentMember), [Time Series].[Value])) The three measures are: No of Cases (Distinct COunt) Total Cycles (Sum) Starting Cycle (Sum I hope this makes sense. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Hi Deepak, The Rolling Time issue always seem to creep up on us. The following query which you have provided works well: NonEmptyCrossJoin({[Cases].[Individual].Members}, {[Locations].CurrentMember}, {[MR Measures].CurrentMember}, {[Programs].CurrentMember}, {[Staging].CurrentMember}, {[Time Calendar].CurrentMember}, LastPeriods(12,[Time Fiscal].CurrentMember),1).Count But as you notice in the NECJ, there are two Time dimensions. One to illustrate 'Fiscal Time' and the other one is to illustrate 'Calendar Time'. The only issue with this is that we are counting the last 12 members of ONLY the [Time Fiscal] dimension. I would like to count BOTH the [Time Fiscal] and [Time Calendar]. Is that possible? Hope this makes sense, Audrey *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |