![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
| This query |
| With Member [Measures].[DateValue] as |
#3
| |||
| |||
|
|
Hi Vladimir, I can't explain the discrepancy, but am wondering why you say that: This query // select Filter([Date].[Calendar].[Month].members, [Date].[Date].CurrentMember.MemberValue = CDate("11.07.2004")) on 0, {} on 1 from [Adventure Works] returns as expected one member Since the [Date].[Date] attribute is at a finer granularity than [Date].[Calendar].[Month], I would expect the [All] member to be the [Date].[Date] current member, as in this query; so I don't understand how your query finds a match: With Member [Measures].[DateValue] as [Date].[Date].CurrentMember.MemberValue select {[Measures].[DateValue]} on 0, [Date].[Calendar].[Month].members on 1 from [Adventure Works] --------------------------------------- DateValue July 2001 All Periods August 2001 All Periods September 2001 All Periods .. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |