Disaggregation of Values During Data Entry
In SAP Analytics Cloud, when you enter or change data for a planning model cell, the value is automatically spread to leaf members that aggregate up to it. This process is called disaggregation.
For planning models, data is stored in leaf members of each dimension hierarchy. Parent members only show the aggregated values of their children, and generally don't contain values on their own. Because of this, disaggregation happens whenever you change data that represents more than one combination of leaf members for all dimensions.
Accounts and measures can use different aggregation types, including a default aggregation type and an optional exception aggregation type for specific dimensions. These aggregation types determine whether data entry is supported in different circumstances, and how data entry will be disaggregated.
There are a few ways that you can get more control over disaggregation while planning in a table:
-
Change the data disaggregation in the Builder panel to choose how data disaggregation occurs: Set Up Model Settings
-
Change the input enablement settings to control if cells will appear as editable or read-only in a table: Set Up Model Settings
-
Apply locks to cells that shouldn’t receive values: About Value Lock Management
-
Copy and paste a cell that has the correct underlying distribution: Copying and Pasting Cell Values
-
Use the planning panel to specify values and proportions among a group of cells: Assign and Distribute Values with the Planning Panel
Changing Data for Booked Values
When you change a booked value, the leaf members that aggregate up to that value are adjusted to reflect your change. Usually, this happens proportionally.
Some aggregation types don’t support data entry on booked parent members, so the corresponding cells won’t be input enabled in a table. You can check the reason that a cell is greyed out by selecting from the table action menu ( (More Actions)) and selecting the cell.
Entering Data on Unbooked Values
When you enter a value in an unbooked cell, which displays a dash character (-) instead of a value, the following rules are used to determine how to disaggregate the value along each dimension:
-
If the unassigned member (#) is available as a leaf member of the source cell, this member receives the same value as the source cell, and other members of the dimension remain unbooked.
-
The unassigned member may not be available, for example, because it is filtered out of the table, because it does not aggregate up to the source cell, or because it does not exist for dimensions such as date and account. In these cases, the value is spread to leaf members of the dimension based on the aggregation type.
-
This aggregation type is determined either by account or measure settings, depending on which has priority. When the account or measure just has a default aggregation type, all dimensions will use it for disaggregation. With an exception aggregation type defined, specific dimensions can use that aggregation type instead.
|
Aggregation type |
Description |
|---|---|
|
SUM |
The source value is divided equally among the leaf members. For example, if you enter one million in a cell with two leaf members, the leaf members receive 500,000 each. |
|
AVERAGE and AVERAGE excl. NULL (Available as exception aggregation. To support disaggregation, they need to be used with SUM.) |
Each leaf member receives the same value as the source cell. In this case, the leaf members receive one million each. |
|
NONE |
Each leaf member receives the same value as the source cell. The leaf members receive one million each. |
|
FIRST (Available as exception aggregation) |
The first leaf member receives the same value as the source cell. If you enter one million for Q1 using the calendar year, for example, January receives one million. |
|
LAST (Available as exception aggregation) |
The last leaf member receives the same value as the source cell. If you enter one million for Q1, March receives one million. |
-
SUM
-
NONE
-
MIN
-
MAX
-
AVERAGE excl. 0, Null
-
MEDIAN (and variants that exclude null and zero values)
-
FIRST QUARTILE (and variants that exclude null and zero values)
-
THIRD QUARTILE (and variants that exclude null and zero values)
-
AVERAGE when used with NONE as default aggregation
-
COUNT (when booked, leaf members will only show a value of 1)
-
LABEL
-
COUNT excl. NULL and COUNT excl. 0, NULL
-
NONE when used with SUM as default aggregation
-
After the value is booked to an Unassigned member in the table, select it and select to distribute the value to other members.
-
To prevent values from being booked to the Unassigned member, filter the dimension and select all members except the Unassigned member. You can apply this filter to an individual table by selecting Add Filters in the Builder panel, or to the entire story by selecting (Story Filter) from the top navigation panel.
Rest Distribution
Generally, the rest distribution is needed when the entered value cannot be distributed evenly across the target cells. The exact distribution of the rest depends on the chosen dimension hierarchies and filters.
For a specific example, consider a model with three dimensions "Date", "Product", and "Location" and a single measure of the data type Integer.
Example: Data Entry on Unbooked Members
The table below is filtered on a single member in the "Date" dimension. The "Unassigned" member of the "Product" dimension is excluded from the filter. Initially all cells in the table are unbooked.

A data entry on "Cars" in "Product" and "Totals" in "Location" will disaggregate the entered value to the "Unassigned" members of the "Location" dimension. Along the "Product" dimension, the entered value 99 cannot be evenly distributed across the two leaf members "Sport car" and "SUV". In the internal processing, both leaf members first receive the same value 49, then the rest 1 is assigned to one of the two members.
The decision on which member gets assigned the rest is done by applying sorting on the dimensions of the model. In the example above, sorting of the two members of the Product dimension yields ("Sports Car", "SUV") and hence the rest is distributed to "Sports Car".
Generally, multiple dimensions can be used for sorting in case one dimension is not sufficient to decide on the rest distribution. You can refer to the section below dedicated to sorting with multiple dimensions in the rest distribution.
Example: Data Entry on Booked Members
A data entry on a booked member will disaggregate the entered value proportionally according to the values booked on the same measure or, depending on the configuration in the model, the values booked on a reference measure.
To start, all member combinations of "Product" and "Location" are filled with data and the total of all the values in "Product" and "Location" is 110:

A data entry of 111 on "Cars" in "Product" and "Totals" in "Location" will disaggregate values along the 8 leaf members proportionally. As "TestMeasure" is of data type integer, the proportional disaggregation produces integral shares and residual weights. The total of the integral shares is 110, which means the rest or the remainder 1 has to be assigned.
|
A |
B |
C |
D |
E |
|---|---|---|---|---|
|
Member Combinations |
Current Value |
Proportionally Distributed Value Based on New Data Entry |
Rounded Value from Column C |
Residual Weight (C-D) |
|
Sports Car, Unassigned |
10 |
10.091 |
10 |
0.091 |
|
Sports Car, Athens |
10 |
10.091 |
10 |
0.091 |
|
Sports Car, Budapest |
20 |
20.182 |
20 |
0.182 |
|
Sports Car, Chicago |
10 |
10.091 |
10 |
0.091 |
|
SUV, Unassigned |
10 |
10.091 |
10 |
0.091 |
|
SUV, Athens |
10 |
10.091 |
10 |
0.091 |
|
SUV, Budapest |
30 |
30.273 |
30 |
0.273 |
|
SUV, Chicago |
10 |
10.091 |
10 |
0.091 |
|
110 |
111.0010 |
110 |
To assign the rest in a deterministic way, the member combination with the largest residual weight will get the rest. In the present example, the member combination of "SUV" and "Budapest" has the largest residual weight and thus receives the rest value 1.

Example: Using Multiple Dimensions for Sorting in Rest Distribution
There are cases where the rule mentioned above is not sufficient to determine the rest distribution. Consider the table as before but assume that all member combinations of "Cars" and "Location" are filled with the value 0 to start with. A data entry of 99 on "Cars" in "Product" and "Totals" in Location will now disaggregate the entered value proportionally along 8 leaf members. Since 99 cannot be distributed evenly a rest distribution happens. All leaf members first receive the value 12, then the rest of 3, or MOD (99,8), is disaggregated to three of the eight leaf members. Now, the residual weights for all member combinations are identical and not sufficient to distribute the rest. In this scenario, the decision on which member combinations to get assigned the rest is done by applying sorting on the dimensions of the model ("Location" and "Product").
The "Unassigned" member always appears first in the sorted list of dimension members. When sorting is applied on the "Location" dimension, each of the two member combinations—"Sports car" paired with "Unassigned" and "SUV" paired with "Unassigned"—is assigned the rest value of 1.
To determine where to assign the remaining rest value 1, sorting on the "Location" dimension alone does not suffice, as all Location dimension members appear twice in the drill. Thus, we also apply sorting on the "Product" dimension and assign the remaining rest value 1 to the member combination of "Sports car" and "Athens".

To ensure performance in scenarios with multiple dimensions, there is a limit on the number of dimensions used for sorting. The limit is based on an estimate for the number of leaf member combinations for the rest distribution. When this number exceeds a threshold, the number of dimensions used for sorting is pruned, resulting in the rest distribution to be non-deterministic. When the number of dimensions in the rest distribution was pruned, you will see the following message:
The rest distribution was not done in a deterministic order because it needed to be distributed to a large number of leaf member combinations.

