Export specific dimensions from ASO cube to BSO cube using Groovy Script
Summary: I've a script in groovy, basic script, it works but i need to remove a dimension that's in the row;
Script:
Cube cube = operation.application.getCube("CAPEX")
cube.createDataExporter()
.setDateFormat("dd/MM/yyyy")
.setDelimiter('|')
.setColumnMemberNames(["CA00019"])
.setRowFilterCriteria("Jan", "FY24", "Working4", "Base Value","USD_input")
.setDataExportFormat(CELL_FORMAT)
.setErrorFileName("Level0DataWithDimHeaderErrors.log")
.exportDataToFile("Level0DataWithDimHeader.txt")
File:
Appointments:
1. I dont need to export "Maintenance_Capital" and "22430020110" (Category dimension from ASO) because i haven't this dimension in BSO Cube. How to remove the dimension in the export ?
2. In BSO Cube there's 3 dimensions that i dont have in ASO Cube; Cliente, Cost Center and Raw Material. How to add/map this 3 dimension into groovy script?