EPBCS MDX

  • EPM GROOVY- Performing MDX Calculations with Custom Groovy Scripts In ASO Cubes

    I’ve been wanting to check out the new MDX custom calculation capability, which allows us to write MDX calculations directly in ASO cubes. Although the Groovy documentation only provides an example of a constant value assignment, it is possible to write more complex MDX calculations. Before constructing the MDX formula, there are a few factors to keep in mind. Writing Inventory Calculation MDX Interdependent values are heavily used in inventory calculations. This may be accomplished in BSO by forcing the calc to run in Cell mode (@CalcMode(Cell)). Let’s look at how we can use Groovy to convert the BSO calculation below into MDX code. Setting up the POV Pov, Source RegionPov, Source Region, and Script are the three mandatory fields to be specified for any MDX calculations written in ASO cubes with the CustomCalcParameters class. As usual, crossjoin is used to fix multiple dimension members in the POV. Since we have Groovy, I…

    Read More