![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
([CalendarDate].CurrentMember.Level is [CalendarDate].[All]) |
| iif([Measures].[FiscalSelected], |
#3
| |||
| |||
|
|
If your users will only select a specific member from one of the 2 time hierarchies, leaving the other hierarchy selection at the "All" level, then you can check the level of the current member in each hierarchy. Something like: [Measures].[FiscalSelected] : ([CalendarDate].CurrentMember.Level is [CalendarDate].[All]) [Measures].[TotalDays] : iif([Measures].[FiscalSelected], Count(Descendants([FiscalDate].CurrentMember, [FiscalDate].[Day])), Count(Descendants([CalendarDate].CurrentMember, [CalendarDate].[Day]))) - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |