Groovy

  • 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

  • EPM GROOVY – Create Custom Grid Spread Functionality in Web Forms

    For the existing grid spread functionality to work, a webform needs to meet certain conditions, such as the entire hierarchy of YearTotal (IDescendants) must be available on the form; otherwise, the natural spread doesn’t work. The ability to input at the YearTotal and hide the Q1..Q4, H1..H2 members from the form are general requests. The article was…

    Read More