GROOVY SCRIPT FOR ASO data export
Summary:
Hi All,
I have writeen a Groovy script to export the level0 data from the ASO cube to a csv file based on few conditions. Account dimension is not a compression dimension so had to use on the Column filter
Content (please ensure you mask any confidential information):
List<Member> CC = operation.application.getDimension("CostCenter").getEvaluatedMembers("ILvl0Descendants(Total Cc)", cube)
List<Member> Dept= operation.application.getDimension("Department").getEvaluatedMembers("ILvl0Descendants(Total Dept)", cube)
List<Member> Customer = operation.application.getDimension("Customer").getEvaluatedMembers("ILvl0Descendants(Total Customer)", cube)
List<Member> periods = operation.application.getDimension("Period").getEvaluatedMembers("ILvl0Descendants(YearTotal)", cube)