Learn About Allocations in Data Actions
In SAP Analytics Cloud, allocations let you split data for selected source conditions among the members of target dimensions based on driver values. They’re often used to allocate indirect costs in a budget, or to take a value that you planned at a high level and control how it’s broken down to leaf members. You can create allocations as part of an allocation step in data actions. To learn more about creating allocations in the data action designer, see Adding an Allocation Step.
Common Allocation Use Cases
Allocations are often helpful when budgeting indirect costs such as IT expenses, administrative costs, or building rent. It can be difficult to determine costs for individual products, regions, and departments, for example. It’s often easier to budget a total amount, and then split it up based on driver values like support hours used, headcount, or building square footage.
You can also use them to control how a planned value is disaggregated. For example, if you planned sales discounts for each of your customers, you can split the discounts up among different products based on their gross sales.
Allocating costs in this way can give you more insight into the profitability of a certain product or the cost of a project. It can also influence managers and employees to reduce the indirect costs incurred by their teams.
How Allocations Work
Most dimensions in planning models have an unassigned member with # as the ID. This member holds any value that hasn’t been assigned to a specific leaf member of the dimension. For details, see Learn About Planning Model Data.
A basic allocation step takes the source value that belongs to the unassigned (#) member of the target dimension, and then allocates it to the target members based on the values of a driver account. The unassigned value is usually reduced to zero as a result.
The driver values for each target member are usually broken down by date. For example, if you’re using support hours as a driver value and your model uses quarterly granularity, the allocation will be based on support hours each quarter. You can break the driver values down further by adding more reference dimensions.
Working with Allocation Rules
Setting up more rules is a quick way to add functionality to your allocation step. You can work with rules in the allocation rules panel of the allocation step in the data action designer.
Adding more rules
If you need to allocate several distinct source members within a step, you can add more than one rule. For example, you can create one rule to allocate IT expenses to each cost center based on support hours used, and another to allocate administrative expenses to each cost center based on headcount.
Keep in mind that each rule needs to use different source data so that they don’t conflict.
Pasting rules
To quickly add many rules, you can copy data from an Excel spreadsheet or from existing allocation rules. Make sure to copy the IDs of the dimension members and accounts, not the descriptions.
The table will display descriptions by default and you can copy and paste data within the table. If any cells have errors, you can correct them directly in the table.
Assigning values directly to one target member
For some source members, you might want to assign the entire value to a single target member. For example, you might want all of your administration costs to be assigned to the headquarters location.
In this case, you can pick Direct Assignment as the rule’s driver (or paste _DIRECT_ to the rule's driver cell). Then, select a single leaf member as the target.
Direct assignment can also help with data auditing, when you want to send an entire source value to an audit member to keep track of it.
Adding More Sources and Targets
Allocating to multiple target dimensions
You can add more target dimensions to allocate along multiple dimensions in a step. For example, you can allocate your IT expenses to all departments and all regions in one step.
When you create your step, the rules will show a column for each target dimension. Every rule will need to specify at least one member for each target dimension.
Overwriting rules for specific dimension combinations
There might be exceptions to your allocation rules. As an example, maybe in Italy all IT expenses are allocated based on headcount instead of support hours.
When you’re creating an allocation step in a case like this, you can add one or more source dimensions directly in the allocation rules table. A new column is added to the rules table for each source dimension.
Your source data of multiple rules may overlap. To resolve conflicts, run the more specific rule first; for example, the IT expenses for Italy would be allocated first, and then the IT expenses for the rest of the world.
Using Advanced Settings in Your Allocation Step
Reallocating data within a dimension
Instead of allocating unassigned data, you might need to allocate data from specific dimension members that collect costs to other members of the same dimension. In this case, create a reallocation step by adding a dimension as the source or overwrite and as a target.
The unassigned member isn’t needed, so you can reallocate values of a date dimension.
For example, you might want to reallocate indirect costs from service departments such as IT and administration across all your departments. You can add department as your source and target dimension, and then specify the accounts involved using an account filter.
Repetitions in a reallocation step
If your service departments allocate any values to each other and you want to reduce those values to zero, you can increase the number of repetitions for the step. For example, the IT and administration departments provide some services to each other, so you may need to repeat the allocation several times until their costs are all allocated to other departments. (You can change the number of repetitions before or after creating the step.)
Keeping your source values
If you don’t want to eliminate the source values of your allocation step, select Keep Source. For regular allocation steps, the source values will remain on the unassigned member. If the unassigned member is one of the targets, then some of the values might be allocated to the source value, on top of its original value. For reallocation steps, the source members will retain their original values, plus any value allocated to them as targets.
This setting is often helpful for auditing, when you want to keep a record of the source values that you allocated. You can then add another step that directly assigns those values to a separate audit member.
Note that when there are no driver values at all for a source member, the source value is allocated back to the source member. With Keep Source enabled, the source value will double in this case.
Overwriting your target values
Similarly, you can choose to overwrite any existing values in the target cells. Select Overwrite Target to reduce the value of the target members to zero at the start of the step. (For steps with multiple repetitions, they’ll only be overwritten at the beginning of the step, not during each repetition.)
When you select both Keep Source and Overwrite Target, you can run the step repeatedly without depleting the source values or accumulating extra value in the target cells. For example, you can run the allocation process, and then enter data on the source cells and run it again to get a new result.
Adding an account or measure filter
Usually you won’t want to allocate values from all of your accounts or measures. Filtering accounts and measures that are not used in your allocation step is recommended to help speed up processing.
If your allocation rules won’t explicitly set the source accounts or measures, you can add an account or measure filter to choose which ones are involved. For example, in a step that reallocates values among all departments, you could filter the account dimension to only include indirect cost accounts such as IT expenses and administrative cost. Other accounts will be excluded from the step.
Breaking your allocation down by reference dimensions
The driver values for each target member are broken down by reference dimensions.
The planning date dimension is initially chosen as reference dimension by default. This means that a separate driver value is applied for each time period. For example, think about a case where you’re allocating utility costs to buildings in different regions based on their power consumption, in a model with monthly granularity. If one building is in a region with a very cold winter, it will get a bigger share of the utility costs for those months, instead of just taking an average value over all time periods.
On the other hand, dimensions that aren’t included as a reference or target will have their driver values aggregated.
You can break the driver values down further by adding more reference dimensions. For example, if you want to allocate IT expenses to your departments with different values for each region, you can add region as a reference dimension.
Booking values to a specific account
In some cases, it could help to take the results of your allocation step and send them to a separate booking account. This setting can help for auditing because it lets you keep your allocation results separate from other accounts, without changing how the step calculates the values to allocate.
Referencing drivers from a specific version
In some cases, you might want to use driver values that are stored in a specific version, regardless of the target version for the allocation. In this case, add a calculated account to the model that uses a LOOKUP function to refer to that version, and then set this account as your driver. For more information, see Restrict and Lookup.
Working with negative values
Allocations support the use of negative values. However, if reference values for a reference point sum up to zero, part of the source value might not be allocated and will remain on the original member of the target dimension.