![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- Attempting to write MDX select statement that displays last 12 months that have data in them. Here is what I have so far: select tail(Filter({[Period].Month.Members},(NOT IsEmpty([Measures].CurrentMember))),12) on columns, {Measures.[Enroll Cnt]} ON ROWS from Enrollment I need to limit this to current year ([Period].[2003]. It is pulling all the months from all the years in the cube now, so I can't tell if the filter works since I do have an enroll cnt for all months over time. I don't have an Enroll Cnt for December 2003, so my retrieval should show December (2002) thru November (2003). -- Posted via http://dbforums.com . |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |