Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

Cube Calculations are a powerful way to enrich data and are used in CXO-Cockpit when:

  • The calculation is not done in the source system

  • In some organizations, adding a calculation in the source system can be a very cumbersome or time consuming tasks, due to for example compliance rules.

  • The calculation can’t be done in the source system.

  • In some underlying systems (for example HFM) the calculation options are limited (such as dynamic rules in HFM) which can’t deal with more complex or advanced rules

  • The calculation can be done more easily or with less maintenance in CXO-Cockpit. In CXO-Cockpit we have the most powerful and maintenance friendly language (MDX) available.


Currently Report Builders can use existing Cube Calculations but can't create their own. This limits unnecessarily their access to the powerful tools provided by the system. 
As asked by several clients, Report Builders should have the possibility to create Linked Cube Calculations.

Functional Requirements

The following table shows how the overall user story is subdivided into smaller sub user stories, which are detailed below.

#
Title
User Story
JIRA Story
MoSCoW *
1Create & Manage List Cube CalculationsAs a Report Builder I want to be able to create Cube Calculations connected to a specific list in order to be able to manage them

2Create & Manage Report Cube CalculationsAs a Report Builder I want to be able to create Cube Calculations connected to a specific report in order to be able to manage them

3Promote a Linked Cube Calculation to SharedAs a Report Admin I want to promote a linked Cube Calculation to shared Cube Calculation in order to reuse it

4Provide a permission for editing in MDXAs a Security Admin I want to prevent Report Builders who do not know MDX from editing in MDX in order to avoid possible issues

5Prevent deleting elements used in Linked Cube CalculationsAs a Report Admin I want to prevent deleting elements used in a Linked Cube Calculation to grant they work correctly


CONTENT



 What are Cube Calculations Technically?

  • Cube Calculations are Performed in the OLAP Cube
  • Calculations are made dynamically when a report is opened
  • Cube Calculations are written in MDX
  • The MDX calculation is applied at the moment of executing the query


Best Practices

Examples of cube calculations that are often used

  • A rolling 12 month total for profit and loss items.
    With cube calculations we can set this up in a very dynamic way
  • A profit and loss as a percentage of Sales or a profit and loss per FTE
    We can calculate these percentages for all lines in the profit and loss in one formula
  • A Year-on-Year growth percentage

Examples of all of these calculations are available in reports in our on-line demo environment.

In addition, the cube calculations are also often used for simple calculations such as the sum of accounts or entities.

Considerations around cube calculations and performance - see examples

For an overview of supported MDX functions check the Microsoft website: https://msdn.microsoft.com/en-us/library/ms145970.aspx

  • No labels