Create Restricted Measures for Charts
In your SAP Analytics Cloud chart, you can create a measure (or account) that restricts the data from a member of the Account dimension or the Cross Calculations dimension by excluding certain members of one or more dimensions.
Context
Measures (which are referred to as Accounts in a planning model) are numerical values on which you can use mathematical functions.
Restricted measures can be useful for comparing one value to a set of other values in the same chart. For example, you can create a measure that contains all expenses for the country of Australia, and compare expenses from Australia side by side with expenses for all other countries.
Procedure
-
(Optional) Select Constant Selection.
When Constant Selection is disabled, the restricted measure value is influenced by chart, page, and story filters, as well as categorical axis values. This is the default setting.
When Constant Selection is enabled, the restricted measure value is determined by the values you specify in the Calculation Editor and will remain constant. Enabling constant selection is useful for comparing a single value with several different values. For example, you could create a restricted measure for sales in 2012, and then compare sales in 2012 with sales for all other years in the same chart.
NotePrompts are respected even when constant selection is enabled.
Results
A measure is created that does not include data for the members that you excluded. Any input controls you created appear on the canvas and are listed in the Calculation Editor under Input Controls. Input controls can also be used in calculated measures.
On the canvas, input controls are indicated by the
(Formula) icon. If you hover over the icon, all calculations associated with the input control are
displayed. By default, the input control is displayed in token mode where input values can be selected from a drop-down list. The
input control can be expanded into widget mode, where radio buttons appear beside each value.


(
(