You can choose to position your grid calculations in Anaplan XL Reporting.

PropertyDescription
Link to memberPosition the calculation either before of after a slice in the grid (shown in the members box at the bottom of the dialog). This means that the calculations can be highly dynamic, appearing in the grid wherever the pinned member does, even after the member moves due to drilling or slice and-dicing.
Insert at positionFixes the calculation to a certain row/column in the grid. This is useful, for example, when calculating the difference between two members, irrespective of what members have been selected. The formula is treated as a literal Excel cell references rather than pinned to particular members in the cube.
Insert at endInsert the calculation at the end of the rows or columns, even when drilling.
Attached toIf a calculation is fixed to a hierarchy, then it'll move with the hierarchy if it is swapped between rows and columns. You can attach the calculation to an axis so that it remains on that axis even if the grid structure is changed.