Groovy: Essbase Error(0) Invalid member name
Hi all,
I am trying to retrieve the date from a combination using DataGridDefinitionBuilder and extract year, month and day from it.
The approach might be a bit long but I am converting the data retrieved to long followed by string.
But, when I am using substring() function to extract year, month and day, the calculation manager is throwing the below error. I haven't written any Essbase Calculation in the groovy script.
The following the full code for your reference:
def valuestartdate
def strstartdate
def Strstartdateyear
def Strstartdatemonth
def Strstartdateday
long longVar
Cube cube = operation.application.getCube("Plan1")
DataGridDefinitionBuilder builder = cube.dataGridDefinitionBuilder()
Tagged:
0