Skip to main content

Configure Plan Properties and Behavior

This article describes how Qlik developers define the core properties and behavior of the Plan extension. For first-time setup, see Basic Configuration. For a list of all properties, see Plan Property Panel Reference. To learn how users work with a configured Plan extension, see Use Plan.

For information about turning on Plan features, see Turn on Plan Features. For information about configuring individual features, see Configure Specific Plan Features.

This article contains the following procedures:

Define a Measure Expression

In Plan Single KPI, you can define exactly one measure, which is your KPI. Plan creates several measures automatically if you use certain features, such as Client Hybrid. When you add a measure, the extension prompts you to add an expression for it.

The expression can't contain set analysis if you use the Forecast feature. Forecast also uses set analysis in the background and can't combine it with customer-specific set analysis.

Example of set analysis in a measure expression:

Sum({<Region={'East'}>}value)

Choose a Calculation Strategy

You can configure Calculation strategy in Property Panel > Measure after selecting one of the configured measures.

Calculation strategy in Property Panel.

Calculation strategies determine how Plan calculates the values of a measure. The dimensions of the Plan extension create a tree structure, and the calculations run across it. They can run top-down or bottom-up. On every initial render, the extension runs the chosen strategy bottom-up to determine all values in the Plan table. When you edit entries in the table, the extension runs the configured calculation strategy both bottom-up and top-down from the edited cell to update all affected cells.

You can turn off the top-down calculation in Configure Plan Properties and Behavior. For more information, watch the video about top-down calculation on YouTube.

Two strategies are available:

  • Sum—In the bottom-up mode, the Sum strategy adds up all values of a dimension and puts the result in the parent dimension cell.

  • Average—In the bottom-up mode, this strategy works like Sum but calculates the average of the values of a dimension.

In the top-down mode, changes to a cell are distributed down the hierarchy.

If the total column is on, you can also edit it. The top-down calculation distributes the updated value first among its periods and then downward. For more information, see Show the Total Column and Footer.

The Average strategy has two types of top-down distribution. In the Property Panel, select either Equal or Weighted distribution of values.

Format Fields

You can access the Formatting settings in Property Panel > Measure after selecting one of the configured measures.These settings control the field type and precision values.

Plan has two Field types: Number and Currency. For more information about field types, see the Field type section in Edit and Form.

Field types are only a display option in the extension. Number is always saved in the database.

This section also has the following options:

  • Decimal precision

  • Decimal separator

  • Group separator

Choose the Top-Down Average Distribution

Top-down average distribution in the Property Panel

Weighted

The Weighted distribution uses the values of the lowest hierarchy level as distribution keys. The extension splits the difference in the edited value proportionally by that distribution and adds it to the cells. If a residue remains because of rounding errors, it's added to the last cell of that level. The Sum strategy uses this calculation method.

Equal

The Equal distribution distributes the edited value equally among the cells of the lower hierarchy. If a residue remains because of rounding errors, it's added to the last cell of that level. The Sum strategy uses this method if the next lower hierarchy of a changed value contains only cells with the value 0.

Top-down equal distribution (Sum)

Entering 200.000 in a cell

Top-down weighted distribution (Sum)

Entering 200.000 in a cell

For more information about Plan calculation strategies, watch the video about calculation strategies on YouTube.

Define the Base Year and Base Period

The settings for defining base year and base period are available in Property Panel > Plan Settings > Basic fields.

The Base year field returns a number. The Base period field returns one of the periods in the Period field. You can't edit year-period combinations up to and including the Base year - base period combination in Plan. For example, if the base year is 2024 and the base period is March, you can't edit any column up to and including March 2024.

You can define Base year and Base period in the data load editor as follows:

BaseYearPeriod LOAD * INLINE [ planId, Base_Year, Base_Period Docu, 2024, March ];

Using the fields defined in this script as Base year and Base period makes all table columns before April 2024 non-editable.

Configuring only the Base year renders the entire base year non-editable. You need to configure both Base year and Base period.

Define the Budget Name Source and Free-Text Rules

Set the measure or dimension that the budgets in the Plan extension are based on.

Budget Name as Free Text

Turn on this feature to choose the budget name yourself. If it's off, you can select the budget name only from a drop-down list of existing names.

Select Conditional free text to enter a Qlik expression, for example:

Copy
if(UserRole='Manager',1,0)

This expression lets users with the Manager user role create new budgets as free text. All other users can use only existing budgets or budgets that managers created.

If Budget name as free text is Disabled or Conditional free text is selected, two more drop-down lists appear:

  • Budget name - source field: After you select a field, budget names are limited to the values of this field. By default, budget names are limited to existing budgets.

  • Associated budget year: When this option is on, the extension limits the year choice to a drop-down list of the years that are already available for the selected budget. This means that you can select only the years that are associated with the current budget. To bind this restriction to a Qlik expression, select the Conditional association option.

Set Default Expand/Collapse

Available only in legacy Plan and Dual KPI.

Use the Expand/collapse by default feature to configure the default behavior for expanding or collapsing the period on initial rendering. The options are Expand, Collapse, and Conditional expand. To use Conditional expand, provide a Qlik expression that determines the behavior.

Configure Key-Value Mapping

Key-value mapping in Plan is similar to key-value mapping in the Edit and Form extensions. For reference, see Configure Key-Value Mapping. When you turn on key-value mapping for a dimension, the extension replaces the displayed values with a configurable key during writeback. To turn on the feature, select the Enable dimension key checkbox. Then select the key field in the Dimension key drop-down list.

Internally, key-value mapping attaches the =MaxString({1}DimensionName) attribute expression to the Dimension field.

Make sure that the data model has a 1-to-1 relationship.

Properties for turning on key-value mapping for a dimension

In Plan dimensions, as in the Edit extension, you can turn on the Developer mode feature. For reference, see Turn on Developer Mode. When you turn it on, the extension displays the keys next to the values in the dimension value cells for the mapped dimension.

Set a Calculation Condition for Fields

Field calculation condition is a Fiplana feature in Property Panel > Add-ons. If you turn on Use calculation condition, you can define the maximum number of values for fields in your Qlik data model. If the condition is met, the extension is displayed. If the condition isn't met, the software displays a message.

Customize Table Appearance

The following sections describe the Plan-specific settings in the Property Panel > Appearance.

General

Use these settings to define the title, subtitle, or footnote. You can also select the Show titles and Show details checkboxes.

Alternate States

A Qlik-native section.

Table Structure

Use the checkboxes in the Table structure section to control the visibility of the following elements in Plan:

  • progress bar

  • layer column

  • footer -If you turn on Show footer, each column has an aggregated value that shows the sum or (weighted) average of the column, depending on the selected Choose a Calculation Strategy. You can also edit footer cells, as long as Turn on Top-Down Input is on. Editing a footer cell is like editing the top layer of the Plan extension. If there are multiple top layers, the extension distributes the value that you enter among them according to the calculation strategy.

To define the footer name, use the Footer row label property.

Table Fonts and Colors

In the Table fonts and colors section, you can define the following properties in Plan:

  • Color: background, new row marker, navigation bar background, progress bar background.

  • Size: font size.

Use the Background color property to color the rows in the Plan extension table so that you can distinguish the hierarchy levels more easily.

Three options are available:

  • Default —Offers a grayscale default.

  • Hierarchical—Lets you choose a color. The background colors of the hierarchy levels blend between that color and a white background.

  • Fixed—Doesn't blend colors.

General styling

Editable Columns, Non-Editable Columns

For editable and non-editable columns in Plan, you can configure the following properties:

  • Header font size

  • Header background color

  • Header font color

For information about the appearance of comparison columns, see Style Comparison Columns.

Was this article helpful?

We're sorry to hear that.