I am trying to filter a cube formula by date range.
I have the following cubeset:
=CUBESET("ThisWorkbookDataModel","FILTER([BasicCalendarUS].[DateKey].Members, NOT ISEMPTY({[BasicCalendarUS].[DateKey].[10/1/2016]:[BasicCalendarUS].[DateKey].[10/31/2016]}))", "New")
The CUBESETCOUNT() returns 672, instead of 31. So something is awry.
While I'd like to know how to get this formula working, my ultimate desire is to have the formula filter from 10/01/2016 - Present. I've come up with this formula:
=CUBESET("ThisWorkbookDataModel","FILTER([BasicCalendarUS].[DateKey].Members, [BasicCalendarUS].[DateKey].CurrentMember.Value > =DATE(2016,10,01))", "New")
but it returns #N/A.
So I am at a loss. I don't know where to turn, or what book to look into for MDX in cube formula help.
Thanks,
Andy