I would like to use the following MDX statement:
with member [x] as now()->plusMonths(1)->withDayOfMonth(1)->minusDay(1)
select [x] on 0
from sales
But I get the error "withDayOfMonth" is unknown. I know the function "plustMonths()" works fine. How can I make this other Joda function work?
The following line is active in the icCube.xml. The help explicitely states to add child packages as well if these are required, but I do not know if withDayOfMonth is a child package and I do not know where to find that:
<allowedPackage>org.joda.time</allowedPackage>