MicroStrategy ONE
Create Calculated Members in Hierarchy Reports Using MDX Expressions
You can create calculated members in hierarchy reports using MDX expressions.
- Open the dossier you want to modify.
- Right-click an element in the grid and select Calculated Member. The Calculated Member dialog opens. The parent element appears in Parent.
- In Name, enter a name for the calculated member.
- In the MDX Expression, enter arguments for the Apply Simple function. This function allows you to enter an MDX expression, within the quotes, to create a calculated member. You can type arithmetic operators (such as + and -) and values directly in the expression.
- You can add hierarchical elements from the left pane to the MDX expression. Expand the hierarchies in the left pane to locate the hierarchical elements you want to add. Then, double-click or drag them to the MDX Expression pane.
- The targeted element is the default parent. To change the parent, click Set Parent next to the hierarchical element you want to assign as the parent.
- If you need to delete the expression and begin again, click Clear.
- Click Save.
Create a calculated member for the previous year.
ApplySimple("ParallelPeriod([Date].[Calendar].[Calendar Year], 1, [Date].[Calendar].[Calendar Year].[CY 2018])")