Creating Calculations

<< Click to Display Table of Contents >>

Navigation:  Version 6 Enhancements > Dashboard Designer > Calculations >

Creating Calculations

The Dashboard Designer allows you to add a calculation for numeric measures. To do this, invoke the data item menu and select the required calculation type.

img123408

The image above shows a calculation menu of the Pivot dashboard item. The following items are available.

Percent of Column Grand Total - Calculates a contribution of individual measure values to a column grand total.

Percent of Row Grand Total - Calculates a contribution of individual measure values to a row grand total.

Percent of Grand Total - Calculates a contribution of individual measure values to a grand total.

Running Summary along Columns - Calculates a cumulative total for measure values along columns (horizontally).

Running Summary along Rows - Calculates a cumulative total for measure values along rows (vertically).

Difference along Columns - Calculates differences between measure values along columns (horizontally).

Difference along Rows - Calculates differences between measure values along rows (vertically).

Percent Difference along Columns - Calculates percentage differences between measure values along columns (horizontally).

Percent Difference along Rows - Calculates percentage differences between measure values along rows (vertically).

Rank along Columns - Ranks measure values along columns (horizontally).

Rank along Rows - Ranks measure values along rows (vertically).

Rank along Cells - Ranks measure values along cells (throughout the entire pivot table).

Custom... - Allows you to create a custom calculation by specifying various settings. Clicking this item invokes the Customize Calculation dialog that allows you to add additional customizations to calculations.

img123637

To learn more, see descriptions of the available calculations below.

Note

Note that the list of available items in this menu can be changed by the Dashboard Designer dynamically. For instance, if the Pivot dashboard item does not contain dimensions in the Rows section, menu items related to rows will be disabled.

Running Total

The Running Total calculation can be used to compute a cumulative total for the specified measure across a window. For example, the Grid below displays cumulative sales across all quarters.

img123465

The Customize Calculation dialog provides the following settings for the Running Total calculation.

img123627

Running along - Specifies a window and direction used to calculate running totals.

Summary function - Specifies a summary function used to apply calculation. To learn more about the available summary functions, see the Summary Function Types in the summary function topic.

Moving Calculation

The Moving calculation uses neighboring values to calculate a total. For example, the Grid below shows a moving average across all quarters.

img123466

The Customize Calculation dialog provides the following settings for the Moving calculation.

img123628

Moving along - Specifies a window and direction used to apply a calculation.

Summary function - Specifies a summary function used to apply a calculation. To learn more about the available summary functions, see the Summary Function Types in the summary function topic.

Start offset / End offset - Specify start/end offsets from the currently processed value. For instance, if you specified offsets as 1/1, the previous and next values will be used along with the current value to apply the Moving calculation.

Difference

The Difference calculation can be used to compute the difference between measure values across a window. For example, the Grid below shows absolute differences between quarterly sales.

img123467

The Customize Calculation dialog provides the following settings for the Difference calculation.

img123629

Calculate along - Specifies a window and direction used to calculate differences.

Difference from - Specifies the value used to calculate the difference. The following values are available: Previous, Next, First and Last.

You can also use the Percent Difference option to specify whether the absolute or percentage difference is displayed.

Percent of Total

A calculation is used to compute a percentage of the total for the specified measure across a window. For example, the Grid below shows a contribution of individual quarterly sales to total sales.

img123468

The Customize Calculation dialog provides the following settings for the Percent of Total calculation.

img123630

Percent of Total - Specifies a window and direction used to apply a Percent of Total calculation.

Rank

Use the Rank calculation to compute rankings for the specified measure across a window. For example, the Grid below shows a ranking of sales for individual quarters.

img123469

The Customize Calculation dialog provides the following settings for the Rank calculation.

img123631

Rank along - Specifies a window and direction used to rank values.

Rank type - Specifies the type of ranking. The following rank types are available: Unique, Competition, Dense, Modified and Percentile.

Order - Specifies the order of ranking. You can select Ascending or Descending.

Expression

Use Expression to specify a custom calculation by adding the required calculation functions inside the measure expression.

img123632

Click the Edit in Expression Editor button to invoke the Expression Editor and specify the required expression.

img123643

The Expression type provides the Calculate along option that specifies the window and direction used to calculate differences. Note that this option is in effect if the expression contains a calculation function.