Book Contents

Book Index

Dashboards module

The Dashboards module includes the Dashboard elements, Dashboards and Dashboards - presentation books.

Book Contents

Book Index

Dashboard elements

The Dashboard elements book records the individual elements that dashboards consist of. The Type field specifies the type of the element:

The individual element types are not primarily created by the user in this book, because they arise when dashboards are created directly in the Dashboards module:

pic_11057

Picture: Dashboard elements form - Types

Using the Edit dashboard element button, we display a form in which we define the properties of the dashboard element.

The Application tab contains a list of dashboards in which the element is used.

The current element / elements marked with an asterisk can be deleted using the Remove (F8) function. However, an element can only be deleted if it is not used in any dashboard.

Book Contents

Book Index

Filter

If we select Filter in the Type field when creating a report element, pressing the Edit dashboard element button displays the Filter settings form, where we define its properties.

pic_10045

Picture: Filter settings form

However, editing this element in the Dashboard elements book does not allow you to define dependencies - that is, you cannot set here which dashboard elements (reports / pivot tables) this filter will affect, because it is not known here in which dashboards the element is located. Therefore, it generally makes sense to create and fully set up a filter element only from specific dashboards.

A detailed description of filter settings for a dashboard is given in the chapter Creating a dashboard with the wizard / Create filter.

Book Contents

Book Index

Dynamic filter

If we select Dynamic filter in the Type field when creating a report element, pressing the Edit dashboard element button displays the Dynamic filter settings form, where we define its properties.

Using a dynamic filter, we can display data at the current time shifted by a specific time interval.

pic_10049

Picture: Dynamic filter definition form

General settings:

Data source type

  • Dynamic time filter - allows you to define the current time of the filter and its shift in time.
  • Dynamic set filter - allows you to define the set of data for which the filter is to be created, e.g. cost centres, books etc.

Type of displayed data

  • Single selection drop-down list
  • Buttons (Slicer)

Authentication

A field for setting the access of IS K2 users to the data. It is relevant only for web access, where the data are processed by the application server. In the case of desktop K2, the identity is always passed on according to the domain user.

  • Via service account (Anonymous) - the query to the analytical database is performed under the user under which the application server runs in Windows services. This option is not recommended.
  • Pass on user's identity - the query to the analytical database is performed under the domain user with whom the K2 user is paired. Thanks to the settings of user rights to cubes and dimensions, this way you can restrict the access of individual users to the data.

Server / Catalogue

The name of the server and the data catalogue we connect to. If the server and catalogue are not entered, we connect to the analytical database according to the K2 configuration (in the "K2.ini" file) - for a non-tabular model according to the SERVER and CATALOG parameters, for a tabular model according to the DSOTABULARSERVER and DSOTABULARDATABASE parameters).

Cube / Select areas

The cube or business area (areas) of the analytical model (when the Use tabular model option is activated) from which we draw data for evaluation.

Book Contents

Book Index

Dynamic time filter

In the Time filter options table, we define the individual time filters.

pic_10050

Picture: Dynamic time filter - type Time interval

For each filter record, we set its properties.

YTD examples:

The user can choose whether to display a fixed text in the dynamic filter (entered in the Name field) or to display the name from the elements of these options (by activating the Dynamic name option). In the case of an interval, the first and the last element are displayed.

pic_10066

Picture: Filter indication in the dashboard when the data are calculated for the current month

For the dynamic time filter, we can also set time formats.

Book Contents

Book Index

Dynamic set filter

Allows you to create (and name) filters that have elements selected from the required dimension using an MDX query.

pic_10068

Picture: Dynamic set filter for cost centres

Report

If we select the Report option in the Type field, pressing the Edit dashboard element button displays the Report definition form. Here we define all properties of the report.

pic_10040

Picture: Report definition form

Report definition

On this tab, you can select the type of data source for the evaluation and the way the data are displayed.

pic_10038

Picture: Report definition

Data source type

Here we determine the method of query definition.

  • MDX query (dynamic): evaluation over the analytical database (Analysis Services); the cube or model is selected under the Set connection button.
  • MDX query (hand-written): we select this option if we want to connect to the analytical database (Analysis Services) and evaluate over this database by entering an MDX query.
  • SQL query (hand-written): evaluation over an SQL database using an SQL query. We select this option if we want to connect to an SQL server.
  • Script K2: evaluation using a K2 script. Depending on the setting of the type of displayed data, the script expects either one series of points (Datapoints) or an entire table of values (Table) to be filled

Number of series

Method of displaying data.

  • One series (Datapoints, Pie chart) - a collection of points with a name and a value. It is one series of points.
  • More series (Table) - a table of values

Using the Set connection button, we get to the detailed settings of the data source for evaluation.

On the Basic Settings tab, we define the method of connecting to the analytical database.

Authentication

A field for setting the access of IS K2 users to the data. It is relevant only for web access, where the data are processed by the application server. In the case of desktop K2, the identity is always passed on according to the domain user.

  • Via service account (Anonymous) - the query to the analytical database is performed under the user under which the application server runs in Windows services. This option is not recommended.
  • Pass on user's identity - the query to the analytical database is performed under the domain user with whom the K2 user is paired. Thanks to the settings of user rights to cubes and dimensions, this way you can restrict the access of individual users to the data.

Take over the connection according to K2 configuration

On: We connect to the analytical database according to the K2 configuration. In the case of a non-tabular model, according to the SERVER and CATALOG parameters from the "K2.ini" file. In the case of the tabular model, first according to the DSOTABULARSERVER and DSOTABULARDATABASE parameters entered in the "K2.ini" file; if they are not there, then from the settings in the Installation and setup of analytical models function (the server from the Instance name of analysis services in the tabular model field, the database from the Name of the K2 source database field, with the suffix _BI appended to this name).

Off: The Own connection settings section is displayed on the form. Here we fill in the name of the analysis server and the name of the catalog with the data.

Cube / Selected areas

The cube or business area (areas) of the analytical model (when the Use tabular model option is activated) from which we draw data for evaluation.

On the Advanced settings tab, we can set:

Query timeout

Restriction of the maximum query duration. A query is executed when the dashboard is displayed. In this field, you can set the maximum duration of the query before it times out. The value in this field is entered in seconds. The default value is -1 (10 seconds). The value 0 means unlimited query duration.

User language

To affect separators, number format, etc.

pic_10039

Picture: Data source - Connection settings

On the Report definition tab, we also set the additional adding of aggregations, which allows us to add resulting totals or averages to the table.

Display format

Formatting for the additional adding of aggregations, i.e. for the resulting totals or averages. Using this field, you can e.g. add the text "CZK" to the aggregation or round the values.

Type of aggregation

In this field, we select the type of aggregate function (sum or average).

Add to rows

By checking this field, we add the selected aggregation (sum or average) to the table rows.

Add to columns

By checking this field, we add the selected aggregation to the table columns.

Book Contents

Book Index

Query definition / Script parameters

Depending on the type of data source, either the Query definition or the Script parameters tab is displayed. It is used for manually entering MDX and SQL queries and for entering parameters for these queries or the script. These parameters can be used in a hand-written SQL and MDX query. A new parameter is created here using the Insert key. The value (string) from the MDX query entered in the Name field will be replaced by the parameter value entered in the Value field.

Principles of creating a report using an SQL query

An SQL query uses datapoints. It is therefore necessary to correctly set the Type of displayed data to the value One series (Datapoints, Pie chart). We create the SQL query in the form X, Y, i.e. SELECT (MEASURE VALUE, IDENTIFICATION OF THE POINT ON THE Y COORDINATE). This implies the use of one series (datapoints).

In the SELECT, you can use the clause FROM database name (DATABASE NAME.DBO.TABLE).

The data are read from the data warehouse. To access another server, we recommend using a Linked server. Reports created by a hand-written SQL query do not support interactive links.

Example:

select SUM (T.Brutto), T.Firma from (

SELECT TOP 100

ZAK.Z_Firma as Firma,

Brutto as Brutto

FROM [dbo].[K2_FaktVyda] as FV

JOIN [dbo].[Zakaznik] as ZAK on ZAK.[Z_IdBaz] = FV.[CDo]

where ('%kod%' = '0') or (FV.[ContractCode] = '%kod%') order by IdDT desc ) as T GROUP BY T.Firma ORDER BY SUM(T.Brutto) desc

Interactive links

On this tab, we define interactive links. Using these links, a given report or pivot table can affect other reports and pivot tables within one dashboard, open another dashboard or a web page, or display the detail of the calculated data.

An interactive link is inserted here using the Insert key.

Interactive selection within dashboard

This kind of interactive link allows you, by clicking the left mouse button on an element of one report (a chart element or a table cell), to filter values according to the selected dimension in another report / pivot table within one dashboard.

This type of link is typically not defined via a record in the Dashboard elements book, because there is no information there about which dashboards the element is used in, and therefore the elements to be affected cannot be selected. This type of link is therefore defined directly in the form when defining a report / pivot table in a specific dashboard. A more detailed description is given in the chapters Creating a report / Report definition / Interactive link and Creating a pivot table / Interactive link.

pic_10811

Picture: Interactive link of the Selection within dashboard type

Description of fields:

Passing on dimension from resource

A field for entering the dimension and hierarchy whose value we pass, i.e. the dimension by which we will filter values in another report / pivot table.

Reference into other dashboard from the context menu

This kind of interactive link allows you, by clicking the right mouse button on an element of one report (a chart element or a table cell) and selecting an option from the context menu, to switch to another dashboard. The purpose is to pass the selected value of the required dimension and to filter the target dashboard by this value. Therefore, a filter element must be created in the target dashboard for the passed dimension, and this filter must affect the resulting elements (reports / pivot tables) in this dashboard.

pic_10809

Picture: Interactive link to another dashboard

Description of fields:

Target dashboard

The target dashboard to which we will pass the selected value of the required dimension from the report in the source dashboard.

Text for context menu

The text that will be displayed in the context menu after clicking the right mouse button on a report element (a chart element or a table cell). The value we pass is filled in in place of %S.

pic_10810

Picture: Mouse context menu over a table, for the Responsible persons dimension, value Vrbová Pavla

Passing on dimension from resource

A field for entering the dimension and hierarchy whose value we pass, i.e. the dimension by which we will filter values in the target dashboard.

Passing on the target dimension

A field for entering the dimension and hierarchy or the parameter of a hand-written MDX query to which we pass the value from the source dimension. The dimensions and parameters offered for selection are those affected by a filter in the target dashboard.

Reference to detailed records from the context menu

This kind of interactive link allows you, by clicking the right mouse button on an element of one report (a chart element or a table cell) and selecting an option from the context menu, to display the detail of the records (e.g. a list of documents) that are the result of the evaluation (i.e. that make up the resulting calculated value). From this list, you can switch to a specific record (document) using the Go to record into book button.

pic_10812

Picture: Interactive link of the Record detail type

Description of fields:

Text for context menu

The text that will be displayed in the context menu after clicking the right mouse button on a report element (a chart element or a table cell).

pic_10813

Picture: Mouse context menu over a table, for the Responsible persons dimension, value Vrbová Pavla

Reference to website from the context menu

This kind of interactive link allows you, by clicking the right mouse button on an element of one report (a chart element or a table cell) and selecting an option from the context menu, to display a web page that is stored in an attribute of the passed dimension. Intended only for special customer dimensions.

Book Contents

Book Index

Conditional formatting

On this tab, we can set custom formatting of selected measures or elements. Based on the definition of a condition, you can colour the font in the table, a cell in the table, or set the text format.

Formatting types:

Advanced series settings

This tab is used for detailed settings of series in reports. A series means a measure used in the report. For each series, we can set the chart type, a custom description of the series and the colour of the series. However, for reports with a dynamic MDX query, the Data view type = According to detailed settings of series must be set in the Report definition for dashboard form, where the report itself is built. It is also typical that for these reports, the series are set directly in the report design form.

pic_11091

Picture: Series settings tab - report with a hand-written MDX query - without the option to pair series with a measure

pic_11092

Picture: Series settings tab - report with a dynamic MDX query - series linked to specific measures

Book Contents

Book Index

Sorting and selection

On this tab, we can set sorting and selection for the values in rows and columns. By selection we mean displaying a limited number of values according to the chosen option (e.g. displaying only the 5 partners with the highest number of activities).

pic_10225

Picture: Sorting and selection, with the Selection type menu expanded

Selection type:

The value for the selection (count / sum / percentage, depending on the nature of the selection) is always entered in the Number of elements field.

Book Contents

Book Index

Pivot table

A pivot table in a dashboard can be created in two ways:

A more detailed description of working with the Pivot table tool is given in the chapter Pivot table.

pic_10048

Picture: Pivot table definition form

Interactive links

On this tab, we define interactive links. Using these links, a given report or pivot table can affect other reports and pivot tables within one dashboard, open another dashboard or a web page, or display the detail of the calculated data.

An interactive link is inserted here using the Insert key.

Interactive selection within dashboard

This kind of interactive link allows you, by clicking the left mouse button on an element of one report (a chart element or a table cell), to filter values according to the selected dimension in another report / pivot table within one dashboard.

This type of link is typically not defined via a record in the Dashboard elements book, because there is no information there about which dashboards the element is used in, and therefore the elements to be affected cannot be selected. This type of link is therefore defined directly in the form when defining a report / pivot table in a specific dashboard. A more detailed description is given in the chapters Creating a report / Report definition / Interactive link and Creating a pivot table / Interactive link.

pic_10811

Picture: Interactive link of the Selection within dashboard type

Description of fields:

Passing on dimension from resource

A field for entering the dimension and hierarchy whose value we pass, i.e. the dimension by which we will filter values in another report / pivot table.

Reference into other dashboard from the context menu

This kind of interactive link allows you, by clicking the right mouse button on an element of one report (a chart element or a table cell) and selecting an option from the context menu, to switch to another dashboard. The purpose is to pass the selected value of the required dimension and to filter the target dashboard by this value. Therefore, a filter element must be created in the target dashboard for the passed dimension, and this filter must affect the resulting elements (reports / pivot tables) in this dashboard.

pic_10809

Picture: Interactive link to another dashboard

Description of fields:

Target dashboard

The target dashboard to which we will pass the selected value of the required dimension from the report in the source dashboard.

Text for context menu

The text that will be displayed in the context menu after clicking the right mouse button on a report element (a chart element or a table cell). The value we pass is filled in in place of %S.

pic_10810

Picture: Mouse context menu over a table, for the Responsible persons dimension, value Vrbová Pavla

Passing on dimension from resource

A field for entering the dimension and hierarchy whose value we pass, i.e. the dimension by which we will filter values in the target dashboard.

Passing on the target dimension

A field for entering the dimension and hierarchy or the parameter of a hand-written MDX query to which we pass the value from the source dimension. The dimensions and parameters offered for selection are those affected by a filter in the target dashboard.

Reference to detailed records from the context menu

This kind of interactive link allows you, by clicking the right mouse button on an element of one report (a chart element or a table cell) and selecting an option from the context menu, to display the detail of the records (e.g. a list of documents) that are the result of the evaluation (i.e. that make up the resulting calculated value). From this list, you can switch to a specific record (document) using the Go to record into book button.

pic_10812

Picture: Interactive link of the Record detail type

Description of fields:

Text for context menu

The text that will be displayed in the context menu after clicking the right mouse button on a report element (a chart element or a table cell).

pic_10813

Picture: Mouse context menu over a table, for the Responsible persons dimension, value Vrbová Pavla

Reference to website from the context menu

This kind of interactive link allows you, by clicking the right mouse button on an element of one report (a chart element or a table cell) and selecting an option from the context menu, to display a web page that is stored in an attribute of the passed dimension. Intended only for special customer dimensions.

Conditional formatting

On the Conditional formatting tab, we define formatting rules and the cell colouring style. A new rule is inserted here using the Insert key, choosing from these options:

Depending on the selected rule type, we define the measure we want to colour, the foreground colour, the background colour, the format, and the operation and comparison value by which the specified measure is to be formatted.

Book Contents

Book Index

Key performance indicator

If we select Key performance indicator in the Type field when creating a report element, pressing the Edit dashboard element button displays the Key performance indicator definition form, where we define its properties.

pic_11056

Picture: Dashboard element - Key performance indicator

However, the content of the element itself is built only by editing in the dashboard. A detailed description is given in the chapter Creating a dashboard with the wizard / Creating a key performance indicator.

Book Contents

Book Index

Tile

A tile is an element that contains a link to a dashboard, which is displayed after clicking the tile. The dashboard can contain final reports / tables, or it can contain further tiles. In this way, you can gradually build menus that follow on from each other.

For individual tiles, you can define a colour, an icon, or numerical values (fixed or defined by an MDX query) and compare these values. The result of comparing these values can be reflected in the tile, e.g. by an icon expressing the evaluation.

The following pictures gradually show the entire composition of the menu using the example of the "Warehouse" tile:

pic_9755

Picture: "Main menu" dashboard with tiles

pic_9756

Picture: Definition of the "Warehouse" tile, which refers to the "Warehouse menu" dashboard

pic_9757

Picture: "Warehouse menu" dashboard with tiles

pic_9758

Picture: Definition of the "Warehouse balances" tile, which refers to the final dashboard with the "Warehouse balances" data

pic_9759

Picture: Final dashboard with the "Warehouse balances" data

Tile definition

Detailed settings of the Tile element:

pic_10047

Picture: Tile definition

General properties:

Tile name

Name of the tile. The text is displayed in the defined tile.

Link to dashboard

Here we define the link to a specific dashboard. The field is a link to the Dashboard configuration book, where we select from the list of all defined dashboards.

Type of navigation

Type of navigation to the attached dashboard:

  • In current dashboard - the attached dashboard is displayed in the current window.
  • In new window - a new window with the attached dashboard is displayed.
  • In new tab - the attached dashboard is displayed in a new tab.

Large icon

Name of the main icon that will be visible in the tile.

Tile colour

A field for defining the colour of the tile.

Data source:

Using the Data source for current value / Data source for target value buttons, you can set the data source for obtaining the compared values.

Second line with trend icon:

Positive evaluation icon

The icon displayed in the tile in the case of a positive evaluation, i.e. the resulting value obtained from the data source for the current value is greater than the value from the data source for the planned value.

Neutral evaluation icon

The icon displayed in the tile in the case of a neutral evaluation, i.e. the resulting value obtained from the data source for the current value and the value obtained from the data source for the planned value are within the Tolerance for neutral evaluation.

Negative evaluation icon

The icon displayed in the tile in the case of a negative evaluation, i.e. the resulting value obtained from the data source for the current value is less than the value from the data source for the planned value.

Tolerance (%) for neutral evaluation

A field for setting the tolerance of the neutral evaluation. It is stated in % of the planned value. On the number axis, it is a tolerance to the left (the actual value approaches the plan).

Formula for value output

The text displayed in the tile after the result of comparing the actual and planned values. %n expresses the result of the comparison.

Book Contents

Book Index

General element

A general element is an empty element that is created when a new dashboard is created using the Create new dashboard with wizard function. The element contains two buttons:

The general element is then changed either into an element of the "report" type or into an element of the "pivot table" type.

pic_10564

Picture: Empty dashboard with two general elements

Book Contents

Book Index

Dashboards

This book is used to define, manage and display dashboards. Each dashboard consists of elements. Elements can be filters, reports, pivot tables or tiles. When creating dashboards, we arrange their individual elements into so-called containers. The user can display the resulting dashboards directly in the Dashboards book.

Dashboards defined in the Dashboards book can also be included in the forms of IS K2 modules. The Dashboard component is used for this.

A new dashboard can be created:

The current dashboard / dashboards marked with an asterisk can be deleted using the Remove (F8) function. However, the element records are not deleted from the database (they can only be deleted directly in the Dashboard elements module if they are not used in any dashboard).

Book Contents

Book Index

Preview

The Preview tab shows the output of the dashboard. On this tab, the dashboard can also be switched to edit mode using the pic_856i icon (top right above the dashboard elements) and then via the Edit mode option. Then further editing buttons are displayed both for the whole dashboard and for the individual elements.

pic_10790

Picture: Dashboards - Preview tab, edit mode off

pic_10827

Picture: Dashboards - Preview tab, edit mode on

Book Contents

Book Index

Details

On the Details tab, you can edit the Abbreviation and Description of the dashboard, and use the Edit dashboard button to open the form with the dashboard definition.

pic_11060

Picture: Dashboards - Details tab and the displayed form with the dashboard definition

Book Contents

Book Index

Dashboard definition

In the Dashboard definition form, you can create or modify the structure, layout and size of the containers and elements of the dashboard, and there is also a tab for defining integration parameters.

Basic data

On the Basic data tab, we define the basic arrangement of the individual containers within the dashboard and their alignment.

pic_11061

Picture: Dashboard definition - Basic data tab

Dashboard layout

  • Filters at the top, containers horizontally below them: a container with filters is placed in the upper part of the dashboard, with containers arranged horizontally below it
  • Containers horizontally: a dashboard with containers arranged horizontally
  • Containers vertically: a dashboard with containers arranged vertically

Horizontal alignment

  • Left: the containers are aligned to the left in the horizontal direction
  • Centered: the containers are centered in the horizontal direction
  • Right: the containers are aligned to the right in the horizontal direction
  • Stretch: the containers are stretched in the dashboard in the horizontal direction

Vertical alignment

  • Top: the containers are aligned to the top in the vertical direction
  • Centered: the containers are centered in the vertical direction
  • Bottom: the containers are aligned to the bottom in the vertical direction
  • Stretch: the containers are stretched in the dashboard in the vertical direction

Enable mutual influencing of filters
Measure for filtering

Activating this option turns on the mutual influencing of filters. At the same time, it is necessary to specify the measure according to which the filter elements influence each other.

  • Influencing of filters means that the offer of elements in other filters is restricted based on the values already set in the filters.
  • The offer of values also automatically excludes elements for which no data exist, even if no other filter has a value set yet.
  • When activated, all filters used in the dashboard influence each other.
  • Restricting the offer of elements works only for filters with Data source type = "MDX query (tree)" and Filter type = "Drop-down list ..." and "Buttons (Slicer)".

Example:

  • A dashboard for sales (invoices out), measure for influencing "Quantity", filters "Year" and "Customers", no filter has a value set yet:
    • the filter for Year displays only the years in which we issued an invoice (a non-zero Quantity measure exists)
    • in the filter for Year I select the year 2025
    • the offer of customers in the Customers filter displays only the customers for whom a non-zero Quantity exists on invoices out with the accounting transaction date = 2025
    • I select, for example, the company AB Group
    • the offer of years in the filter for Year displays only the years in which invoices were issued to the customer AB Group

Dashboard containers

In the Dashboard containers section, we insert into the dashboard the individual containers that make up the resulting dashboard. A new container is inserted here using the Insert key. A form for defining the basic properties of the container is displayed.

pic_10306

Picture: List of dashboard containers (container with filters, container with charts)

pic_11038

Picture: Form of a container with filters and its element content

Description of fields

Name

Description of the container.

Layout of elements in the container

Layout of the parts in the container:

  • Elements below each other - the individual elements are arranged below each other within the container.
  • Elements next to each other - the individual elements are arranged next to each other within the container.

Container size (%)

The width or height of the container within the dashboard. For containers arranged vertically (below each other), it is their height within the whole dashboard. For containers arranged horizontally (next to each other), it is their width. For containers with the Filters at the top, containers horizontally below them layout, the first row is considered to be the container that will contain the filters, and the value is its height. For the other rows, it is the width.

The value is always entered here in % of the whole.

After setting the basic properties of the container (size and layout of its parts), we can insert its elements into the container (reports, filters, a pivot table, a key performance indicator, or tiles). We insert these elements into the container in the Container elements section (using the Insert key) and always select them from the Dashboard elements book, where they are defined.

pic_11040

Picture: Container elements form

Description of fields:

Dashboard element

A field for selecting an element (report, filter, pivot table, or tile) for the dashboard. The field is a link to the Dashboard elements book.

Element size (%)

The width (height) of the element within the container. The value is entered in % of the whole.

Hide element

Allows you to hide the element in the dashboard. It is primarily relevant for filter elements, when the filters are set to some value and we do not want the user to see these filters in the dashboard.

Edit this part

Allows you to edit the given element. Access to editing from this place is relevant for hidden elements that are not displayed in the dashboard.

Book Contents

Book Index

Element dependences

This tab defines the dependences between dashboard elements. Dependences define how the elements in the dashboard influence each other. A dependence is defined between:

A dependence is always defined on the dashboard element by which we filter and whose value we pass to another element (report, pivot table). Dependences are set in the Dependent elements table. All elements included in the given dashboard that can be affected are always displayed here. If necessary, the dependence for individual elements can be set or cancelled here manually, but primarily it arises automatically based on the settings of the individual elements:

pic_10076

Picture: Dependences of dashboard elements

The dependence is set in the detail of the given element (after clicking on it) using the Use dependent element option. The picture above therefore shows that the element "Filter - Probability of execution" affects the elements (reports) "State of opportunity" and "Opportunities table".

In the definition of a dependence, the setting of the target dimension is decisive. It is also set automatically when defining the influence in a filter element and when defining an interactive link in a report / pivot table. In this case, the dimension of the source element is also set as the dimension of the target element. If the given dimension is not used in the target element (in rows, in columns or in the filter), it is automatically added to the filter areas.

pic_10077

Picture: Form for setting a dependence

Integration parameters

A tab for creating integration parameters of the dashboard. Parameters must be created when we insert a dashboard into the form of a data module and want the dashboard data to be affected by the values from the current record in the K2 module. Integration parameters are created for the filters in the dashboard. Subsequently, when applying the dashboard to the form of a K2 module, the integration parameters must be linked to the data fields of the module. The data module then passes the value to the integration parameter, which passes it on to the dimension in the dashboard filter.

Integration parameters are created automatically using the Fill in the integration parameters button.

pic_10789

Picture: Integration parameters of a dashboard showing warehouse balances; the dashboard is prepared for integration into the Article module

Export and Import of dashboards

These functions ensure the transfer of dashboards, including all their parts and links, between individual IS K2 installations. When exported, dashboards are saved to an "*.xml" file.

The function for exporting dashboards is available in the Dashboards book. After start, a form with a list of all defined dashboards is displayed.

pic_10078

Picture: List of dashboards, two records marked for export

The dashboards we want to export must be marked with an asterisk. Pressing the Enter key displays another form listing all elements of the selected dashboards.

pic_10079

Picture: List of elements of the selected dashboards for export

Here you can use asterisks to choose the elements of the selected dashboards that will be exported. It is therefore not always necessary to export the whole dashboard; it is possible to transfer only some of its parts.

We create the file by pressing the Enter key again, which displays a form for selecting the storage location and naming the "*.xml" file, and we complete the export.

The function for importing dashboards is also available in the Dashboards book. When importing, it is necessary to select the "*xml" file with the exported dashboards. After the action is performed, information about the result of the import is always displayed. All links in the dashboards are defined by the abbreviation. There cannot be two dashboards with the same abbreviation in the book. If a dashboard with an already existing abbreviation is imported, a number is added to the Abbreviation field to distinguish it, e.g. 1Machine monitoring.

Book Contents

Book Index

Creating a dashboard with the wizard

To create dashboards, we recommend using the Dashboard creation wizard. It is a function that allows easier and more intuitive creation of dashboards.

The wizard is used to create dashboards from scratch, i.e. including their elements (filters, reports, pivot tables, key performance indicators). It cannot be used if we want to use already created elements in the dashboard. In this case, it is necessary to proceed without this wizard.

The function is available in the Dashboards book and is started using the Create new dashboard with wizard button, which is located in the ribbon.

pic_6780

Picture: Dashboards book - button for starting the wizard

After pressing the button, a form is displayed where we determine how the elements will be laid out within the dashboard.

pic_10828

Picture: Form for selecting the dashboard layout

This form contains tiles for setting the dashboard layout. Here we determine the number of containers, their layout and orientation, and the layout of the elements within these containers. The layout is selected by clicking the left mouse button. The selection is confirmed using the OK button. After confirmation, a new record is created in the Dashboards book. In the Dashboard elements book, records are created according to the selected dashboard layout - either only elements of the "General element" type, or also an element of the "Filter" type. These elements are also named automatically. The name always contains the text "New empty element" / "New empty filter", followed by the number of the element within the dashboard and the name of the dashboard. For example, "New empty element (1) - Turnover overview".

A dashboard is created and displayed, but it is empty. It contains only the containers in the selected layout and elements of the "general element" type, or "filter".

pic_11042

Picture: Empty dashboard for further configuration

We then continue working with this dashboard. We define the filter, or add further filters, and create reports, pivot tables or key performance indicators. The layout of the elements can be changed even after the dashboard and its individual parts have been created. In edit mode, the pic_1176i icon is available here. After pressing it, the form for selecting the dashboard layout is displayed, where you can choose a different layout. The current elements of the dashboard are then rearranged according to the selected layout.

Create filter

To work with filters, it is first necessary to turn on the edit mode of the dashboard using the Edit mode option, which can be found under the pic_856i button in the dashboard header. Then further options for editing the dashboard are displayed.

If, when creating a new dashboard with the wizard, we selected a dashboard layout including a part for a filter, one filter element is created automatically. Further filters can be added by clicking the pic_1156i icon. A newly created filter is always of the "filter" type - i.e. it is a static filter. A static filter can be changed to the dynamic filter type using the pic_1274i button. (This button generally serves as a switch between the static and dynamic filter type and vice versa.)

A newly inserted filter is empty. There is no configuration here. It must be performed using the pic_857i icon. The settings of all properties of the filter for the dashboard are displayed.

pic_10694

Picture: Filter definition for dashboard form

Title

In the Title field, we specify the title that will be displayed directly on the element in the dashboard. At the same time, the value from this field is copied to the Title field in the element and thus serves to identify the element in the Dashboard elements book. However, deleting the title value does not delete the title in the element itself in Dashboard elements.

Data source type

Here we determine the type of database over which we will filter and also the method of query definition.

  • MDX query - hand-written: a filter created by an MDX query over the analytical database (Analysis Services ).
  • MDX query (tree): a filter created by an MDX query over the analytical database (Analysis Services), however not by manually entering an MDX query (a string of characters), but by the user selecting elements on the Data sources tab.
  • SQL query - hand-written: a filter created over an SQL database by manually entering an SQL query.

Filter type

  • Single selection drop-down list
  • Multiple selection drop-down list
  • Buttons (Slicer) - a filter type with buttons
  • Tree filter - a filter with the option of nesting

If we have a filter in the dashboard, we further need to set this filter to affect the data displayed in reports / pivot tables. For this, we use the following possible settings:

It affects all other elements in the dashboard

Affected elements in the dashboard

Yes: The filter will affect all other elements in the dashboard. The function adds the specified dimension from the filter to all reports / pivot tables where this dimension or its hierarchy is not yet used.

No: The filter will not affect all elements; the required elements to be affected must be selected using the Affected elements in the dashboard button. Elements are inserted using the Insert key.

A filter element can be removed from the current dashboard using the button. However, the element is not deleted from the database (the element can only be deleted directly in the Dashboard elements module if it is not used in any dashboard).

Data resource/ Values setting

Using the Data source / Values settings button, we set the data source for the filter as well as its displayed and selected elements.

pic_10427

Picture: Data source for the filter

Authentication

A field for setting the access of IS K2 users to the data. It is relevant only for web access, where the data are processed by the application server. In the case of desktop K2, the identity is always passed on according to the domain user.

  • Via service account (Anonymous) - the query to the analytical database is performed under the user under which the application server runs in Windows services. This option is not recommended.
  • Pass on user's identity - the query to the analytical database is performed under the domain user with whom the K2 user is paired. This can be achieved either by binding the K2 user to a Windows login (a detailed description can be found here) or by activating the Authentication with AD option on the user card.

Server / Catalogue

The name of the server and the data catalogue we connect to. If the server and catalogue are not entered, we connect to the analytical database according to the K2 configuration (in the "K2.ini" file) - for a non-tabular model according to the SERVER and CATALOG parameters, for a tabular model according to the DSOTABULARSERVER and DSOTABULARDATABASE parameters).

Cube / Select areas

The cube or business area (areas) of the analytical model (when the Use tabular model option is activated) from which we draw data for evaluation.

Dimension

The axis by whose values we filter.

Using the Displayed elements in filter button, we select the values that will be visible in the filter. The setting does not apply if Filter type = "Tree filter".

The Default elements in filter button is used to set the filter elements that will be selected automatically after the dashboard is started and also after the Reload with default values action is invoked.

Using the Remember the selected value for the user option, we ensure that the selected filter values will be remembered for the next start of the dashboard.

When choosing elements, it is not necessary to check them individually. By right-clicking on a specific element, you can display a menu of options for selecting elements. The following options are available, and for selecting elements you always need to choose the suitable one according to the specific need and the structure of the given dimension:

A list of the chosen elements is then shown in the lower part of the form for selecting axis elements.

pic_7003

Picture: List of selected elements in the form

If any elements are selected (marked), the whole selection can be cleared using the Clear selection button.

If the filter is created as a hand-written MDX or SQL query, we define the displayed and selected elements of the filter on the Selected members and Displayed members tabs.

When creating filters, you can use the Test button, which always returns and displays the resulting values corresponding to the defined filter.

Principles of creating a filter using an SQL query

The general format of the query for SQL filling of a filter is SELECT CAPTION, VALUE. We recommend limiting the number of records via TOP N.

For the displayed elements, you can use the UNION clause with the combination SELECT CAPTION, VALUE (see the example of attaching fixed values). For a filter created by an SQL query, we recommend using Drop-down list with the option of selecting one element as the filter type.

Example of a filter for attaching fixed values:

SELECT 'Development / Tests',1

UNION

SELECT 'Sales / SI',2

UNION

SELECT 'Customers',3

The created filter will offer the values: Development / Tests, Sales / SI, Customers.

Example of a filter for attaching fixed values:

SELECT '10','10'

UNION SELECT '15','15'

UNION SELECT '20','20'

UNION SELECT '30','30'

UNION SELECT '50','50'

The created filter will offer the values: 10, 15, 20, 30, 50.

Example of a filter from a database table:

SELECT

IT.[Name] AS 'Stage',

IT.[RID]

FROM [dbo].[PROJECT] PR

JOIN [dbo].[PROJECTSTAGEPLANNEDOPERATION] IT ON IT.MasterRID = PR.RID

ORDER BY IT.[DateTo_OP]

Example of a filter from a database table:

select "Contract Code",MAX (T.[ContractCode]) from (

SELECT TOP 100

KODZAK.[Zkratka] as "Contract Code", [ContractCode]

FROM [dbo].[K2_FaktVyda] as FV

JOIN [dbo].[Kod_Zakazky] as KODZAK on KODZAK.[OriginalCi] = FV.[ContractCode]

order by IdDT desc ) as T GROUP BY "Contract Code"

UNION SELECT 'All codes','0'

Creating a report

A report is created using the pic_1271i icon. After clicking this icon, a form is displayed first for setting the data source and selecting the cube / business area for this report.

pic_10301

Picture: Connection settings of a report in the dashboard

On the Basic Settings tab, we define the method of connecting to the analytical database.

Cube / Selected areas

The cube or business area (areas) of the analytical model (when the Use tabular model option is activated) from which we draw data for evaluation.

Authentication

A field for setting the access of IS K2 users to the data. It is relevant only for web access, where the data are processed by the application server. In the case of desktop K2, the identity is always passed on according to the domain user.

  • Via service account (Anonymous) - the query to the analytical database is performed under the user under which the application server runs in Windows services. This option is not recommended.
  • Pass on user's identity - the query to the analytical database is performed under the domain user with whom the K2 user is paired. This can be achieved either by binding the K2 user to a Windows login (a detailed description can be found here) or by activating the Authentication with AD option on the user card.

Take over the connection according to K2 configuration

On: We connect to the analytical database according to the K2 configuration (in the "K2.ini" file) - for a non-tabular model according to the SERVER and CATALOG parameters, for a tabular model according to the DSOTABULARSERVER and DSOTABULARDATABASE parameters).

Off: The Own connection settings section is displayed on the form. Here we fill in the name of the analysis server and the name of the catalog with the data.

Pressing the OK button starts the wizard for creating a report. All settings of the report are made in the Report definition for dashboard form.

pic_10584

Picture: Report definition for dashboard form

This form allows simple building of reports, which will then be displayed within the dashboard. The working principle here is the same as for a pivot table. The environment consists of two basic parts. The left part contains space for rows, columns and filtered values of the report. At the same time, a preview, i.e. the visual form of the report, can be seen here. Any change or modification in the report is immediately reflected here.

pic_6917

Picture: Dashboard definition with a displayed report

The right part shows a list of fields of the selected data source. These are the measures and dimensions of the selected cube / business area. We create reports here by adding individual dimensions and measures to the fields for rows, columns or filtered values. These elements are manipulated by simple drag and drop with the mouse. We can also use the right mouse button and select from the context menu.

pic_6918

Picture: Context menu over dimensions

Just as in a pivot table, you can also create a custom calculated measure in a report. It is created using the right mouse button menu option Create calculated measure over one of the existing measures. A new measure in a report can only be defined using a custom MDX query.

An important step when creating reports is the selection of axis elements. As soon as we include an axis in the report, it automatically sets the so-called direct descendants as its elements. These are the elements at the first level of the given axis, e.g. the years of the Basic time dimension. These elements are then displayed on the axis in the chart. For each axis in the report, the selection of these elements can be modified. This is done using the pic_1162i icon at the given used dimension. A window is displayed listing all elements of the given axis.

pic_10565

Picture: Selection of elements of the Basic time dimension

Elements can be selected by checking specific items. Checking these items restricts the data in the report (chart) to the selected elements of the axis only. For bulk marking of elements, we have these options:

Using the Include and Except options, we specify whether the selected elements will be included in the list of elements to be evaluated or, on the contrary, excluded from the evaluation.

Examples of inclusion: Selecting only specific years, cost centres, warehouses and the like - i.e. a typical restriction to the required data.

Example of exclusion: When evaluating contract codes, we always want to evaluate all contract codes, but we never want to evaluate the service contract code "X". Therefore, we select the Except option and check the contract code "X". All currently existing codes except code "X" are then always included in the evaluation.

A list of the chosen elements is then shown in the lower part of the form for selecting axis elements. (This text list does not indicate whether the given elements are included or excluded - the user can find this out from the check of the respective option.)

pic_7003

Picture: List of selected elements in the form

If any elements are selected (marked), the whole selection can be cleared using the Clear selection button.

A report element can be removed from the current dashboard using the button. However, the element is not deleted from the database (the element can only be deleted directly in the Dashboard elements module if it is not used in any dashboard).

Book Contents

Book Index

Sorting and selection of a report

Using the right mouse button on the header of a used dimension, we can display further options for working with the given axis. These options are displayed only if the given axis is in the area for rows or columns, not if it is in the area for filtered values.

pic_10566

Picture: Further options for working with the chart design

Available options:

Sorting records

The menu for sorting report data contains several further options.

pic_7174

Picture: Options for sorting records in a report

Sorting options:

Selecting records

Menu for selecting records. It contains options for displaying a limited number of the best or, conversely, the worst records according to the selected measure.

pic_7175

Picture: Options for selecting records in a report

Selection options:

Report definition

In the lower right part of the report definition form, there is also the Report definition section. It contains fields for further settings and refinement of the report.

pic_10567

Picture: Report definition section

Description of fields:

Data view type

Option specifying how the data will be displayed in the dashboard.

  • According to detailed settings of series - if we select this option, the Advanced series settings section is also displayed. The display of the report is then governed by the settings in this section.
  • Simple table - the data are displayed in a simple table.
  • Column chart - display of data in a classic column chart.
  • Line chart - display of data in a line chart.
  • Stacked column chart - display of data in a stacked column chart.
  • Pie chart - display of data in a pie chart.
  • Area chart - display of data in an area chart.

Examples of the individual display types are below the table.

Title

In the Title field, we specify the title that will be displayed directly on the element in the dashboard. At the same time, the value from this field is copied to the Title field in the element and thus serves to identify the element in the Dashboard elements book. However, deleting the title value does not delete the title in the element itself in Dashboard elements.

Legend position

Specifies the position of the legend in the chart.

Legend title

Specifies the title of the legend.

pic_6921

Picture: Simple table

pic_6922

Picture: Example of display in a column chart

pic_6923

Picture: Example of display in a line chart

pic_6924

Picture: Example of display in a stacked chart

pic_6925

Picture: Example of display in a stacked chart

pic_6926

Picture: Example of display in an area chart

Advanced series settings

If the Data view type is set to According to detailed settings of series, the For advanced series settings section is displayed. This section is used to set the properties of the individual series of the chart. The individual series are typically measures (quantity, turnover, etc.) that are used in the rows of the report. But they can also be individual K2 records if a dimension is used in the rows of the report (e.g. cost centres). The user then defines a custom name, chart type and colour of the series.

pic_11093

Picture: Section for detailed settings of series in a report

A new item for a series is inserted using the New (Insert) function. If only measures are used in the row area, each measure represents exactly one series. In this case, the series definition must be bound to a selected measure that is used in the report. So first we choose the measure (which is not yet assigned to any series) and only then define the custom name, chart type and colour of the series in the form. If there is a dimension in the row area, the individual series are K2 records from the given dimension, and the series definition cannot be bound to a measure. In this case, the series settings are based on the order of the records.

If no series records are defined for the report yet and only measures are defined for the rows, the series records can be inserted in bulk using the Fill in by measures pic_1392i function. The user then only completes the settings of the individual series.

The Show undefined series as field is used to set all series that are not defined individually in the Advanced series settings section.

Setting of chart values

This section is used to set the display of values in the report. If we check the Display values on chart field in this section, the values are also inserted into the report and further fields for setting the format of these values become accessible here.

pic_10480

Picture: Setting of chart values section

Description of fields:

Display values on chart

Checking this field displays the values in the report.

Optimize the position of labels

When active, this option prevents the display of overlapping values in the chart.

 

Displaying values on chart

A field for selecting the style of the values displayed in the chart (value, percentage, description, etc.).

Setting the angle of the labels in the chart (in °)

By entering degrees in this field, you can rotate the column labels in the chart around their axis.

Format

Format for the values displayed in the report. Here we mainly choose the number of decimal places.

Visual settings

A section for setting some parameters of the visual appearance of the chart.

pic_6934

Picture: Visual settings section

Don't show empty columns

Columns without data will not be displayed.

Do not show empty rows

Rows without data will not be displayed.

Show information about hidden filters

When activated, a list of all applied filters is displayed in the report.

Interactive link

In this part, we define an interactive link of the "Interactive selection within dashboard" type - i.e. the option for the report to affect other reports / pivot tables within the dashboard.

pic_10585

Picture: Interactive link section

If we want a specific report to affect all other reports / pivot tables within one dashboard, the Affects all other reports in the dashboard field must be checked in this section. In the Select dimension and Select hierarchy fields, we then select the dimension and hierarchy by which the other reports of the dashboard will be filtered. This function is applied to all reports / pivot tables in the given dashboard that contain the given dimension. It inserts this dimension into the filter in the target (affected) report.

If we want the report to affect not all other reports of the dashboard but only some of them, we press the Affected elements in the dashboard button. A form is displayed where, using the Insert key, all reports that will be affected and filtered by this report must be included. In this case, the Affects all other reports in the dashboard field must not be checked.

The settings made here create a record of an interactive link of the "Interactive selection within dashboard" type in the respective dashboard element and set a dependence between the dashboard elements (see Element dependences). All editing of this type of link is done right here in the report design form; if we switched to editing the element, the changes made to this type of link in the element would not be transferred back to the dashboard! Editing this type of link in the report element form can only be done when we edit the report element directly in the Dashboard elements book.

Book Contents

Book Index

Creating a pivot table

A pivot table is created using the pic_10280i icon. After clicking this icon, the Connection settings form is displayed.

pic_107366

Picture: Connection settings of a pivot table

Data source type

Here we select the database type for evaluation:

  • MDX - option for evaluation over the analytical database
  • Realtime - option for evaluation over IS K2 data

MDX

Cube / Selected areas

The cube or business area (areas) of the analytical model (when the Use tabular model option is activated) from which we draw data for evaluation.

Authentication

A field for setting the access of IS K2 users to the data. It is relevant only for web access, where the data are processed by the application server. In the case of desktop K2, the identity is always passed on according to the domain user.

  • Via service account (Anonymous) - the query to the analytical database is performed under the user under which the application server runs in Windows services. This option is not recommended.
  • Pass on user's identity - the query to the analytical database is performed under the domain user with whom the K2 user is paired. This can be achieved either by binding the K2 user to a Windows login (a detailed description can be found here) or by activating the Authentication with AD option on the user card.

Take over the connection according to K2 configuration

On: We connect to the analytical database according to the K2 configuration (in the "K2.ini" file) - for a non-tabular model according to the SERVER and CATALOG parameters, for a tabular model according to the DSOTABULARSERVER and DSOTABULARDATABASE parameters).

Off: The Own connection settings section is displayed on the form. Here we fill in the name of the analysis server and the name of the catalog with the data.

Realtime

If we set the Data source type to "Realtime", we evaluate over real IS K2 data.

pic_10578

Picture: Connection settings - Realtime

In this case, the table (data module) over which we will create views must be set in the Data module field. It is also possible to set a filter for this data module here. Evaluation using the pivot table will then take place over this filter.

After the connection is set, the main form for defining the pivot table is displayed.

pic_10579

Picture: Pivot table form

The connection settings can still be modified using the Set connection function, which can be found in the header under the pic_955i button. In this case, however, the Data source type can no longer be changed.

A comprehensive description of working with a pivot table is given in the chapter Pivot table.

A pivot table element can be removed from the current dashboard using the button. However, the element is not deleted from the database (the element can only be deleted directly in the Dashboard elements module if it is not used in any dashboard).

Book Contents

Book Index

Pivot table definition

In the right part of the pivot table definition form, there is also the Pivot table definition section. It contains fields for further settings and refinement of the table.

In the Title field, we specify the title that will be displayed directly on the element in the dashboard. At the same time, the value from this field is copied to the Title field in the element and thus serves to identify the element in the Dashboard elements book. However, deleting the title value does not delete the title in the element itself in Dashboard elements.

Book Contents

Book Index

Interactive link

In this part, we define an interactive link of the "Interactive selection within dashboard" type - i.e. the option for the pivot table to affect other reports / pivot tables within the dashboard.

pic_10589

Picture: Interactive link section

If we want a specific table to affect all other reports / pivot tables within one dashboard, the Affects all other reports in the dashboard field must be checked in this section. In the Select dimension and Select hierarchy fields, we then select the dimension and hierarchy by which the other reports of the dashboard will be filtered. This function is applied to all reports / pivot tables in the given dashboard that contain the given dimension. It inserts this dimension into the filter in the target (affected) report.

If we want the table to affect not all other reports of the dashboard but only some of them, we press the Affected elements in the dashboard button. A form is displayed where, using the Insert key, all reports that will be affected and filtered by this pivot table must be included. In this case, the Affects all other reports in the dashboard field must not be checked.

In the Text for context menu field, we enter the text that will be displayed in the context menu after clicking the right mouse button in a cell of the pivot table. The text can contain the placeholder %s, which will be replaced in the context menu by the value of the record for which the menu is invoked.

The settings made here create a record of an interactive link of the "Interactive selection within dashboard" type in the respective dashboard element. All editing of this type of link is done right here in the table design form. If we switched to editing the element, the changes made to this type of link in the element would not be transferred back to the dashboard! Editing this type of link in the pivot table element form can only be done when we edit the pivot table element directly in the Dashboard elements book.

Book Contents

Book Index

Creating a key performance indicator

A key performance indicator (hereinafter KPI) is created using the pic_1389i icon. After clicking this icon, a form is displayed first for setting the data source and selecting the business area for this key performance indicator.

pic_11043

Picture: Connection settings of a key performance indicator in the dashboard

On the Basic Settings tab, we define the method of connecting to the analytical database.

Selected areas

The business area (areas) of the analytical model from which we draw data for the evaluation. Only the areas that contain key performance indicators are available for selection.

Authentication

A field for setting the access of IS K2 users to the data. It is relevant only for web access, where the data are processed by the application server. In the case of desktop K2, the identity is always passed on according to the domain user.

  • Via service account (Anonymous) - the query to the analytical database is performed under the user under which the application server runs in Windows services. This option is not recommended.
  • Pass on user's identity - the query to the analytical database is performed under the domain user with whom the K2 user is paired. This can be achieved either by binding the K2 user to a Windows login (a detailed description can be found here) or by activating the Authentication with AD option on the user card.

Take over the connection according to K2 configuration

On: We connect to the analytical database according to the K2 configuration (in the "K2.ini" file) - for a non-tabular model according to the SERVER and CATALOG parameters, for a tabular model according to the DSOTABULARSERVER and DSOTABULARDATABASE parameters).

Off: The Own connection settings section is displayed on the form. Here we fill in the name of the analysis server and the name of the catalog with the data.

Pressing the OK button starts the wizard for creating a KPI. The basic building of the KPI is done in the Key performance indicator definition for dashboard form.

pic_11044

Picture: Key performance indicator definition for dashboard form

The working principle here is the same as for a pivot table. The environment consists of two basic parts. The left part contains space for filtered values, the chart of development over time and the key indicator. At the same time, a preview, i.e. the visual form of the KPI, can be seen here.

Area for filtered values

Here we insert the dimensions that filter the resulting indicator, or they will be inserted from the dashboard filters.

Area for the chart of development over time

To be able to quantify the KPI value, one of the hierarchies of the Date dimension must be applied:

  • Year - Quarter - Month - Day
  • Year - Month - Day
  • Year - Week - Day

Then, via the context menu of the right mouse button over the used hierarchy, we select the level of this hierarchy for drawing the chart.

pic_11053

 

Instead of a hierarchy, you can also directly use the required attribute of the Date dimension, e.g. Month.

If we do not want the chart to be displayed in the KPI component, we suppress its display in the form for detailed KPI settings (see below).

Area for the key performance indicator

Here we insert the required indicator offered by the selected business area.

Detailed settings for the KPI are then made in the KPI editing form:

pic_11045

Picture: KPI editing form - detailed settings

pic_11051

Picture: Key performance indicator (KPI) - example Overdue receivables

pic_11052

Picture: Specific KPI settings - Overdue receivables

Description of selected key terms

Target

Almost every KPI has a factory-set target. A detailed description for each KPI is given in the chapter KPI - detailed description of indicators.

Examples: the value for the same period of the previous year, 10% of the gross turnover of invoices in for the last 12 closed months.

A custom label can be added to the target and displayed below the main value.

Distance to target

Expresses the difference between the current value and the target. The difference can be expressed both in absolute terms and as a percentage.

Status (Target fulfilment indicator)

The status is expressed by the colouring of the main indicator and of the chart, if displayed. It is based on the comparison between the current value and the target. For each KPI, it is factory-set under which circumstances (how large the distance to the target is, and whether it is positive or negative) it represents a positive, negative or neutral development. A detailed description for each KPI is given in the chapter KPI - detailed description of indicators.

Trend (Trend icon)

The trend icon (arrow) expresses a month-on-month comparison (MoM). For most indicators, it is a comparison of the last closed month and the month preceding it. A detailed description for each KPI is given in the chapter KPI - detailed description of indicators.

Book Contents

Book Index

KPI - detailed description of indicators

KPIs are based on existing metrics. For correct functioning, it is necessary to work with the Date date dimension.

The trend arrow and, for some indicators, also the target are calculated from closed months. A month is closed if a VAT return has been filed for it in all books and, if the company has several own companies, in all own companies. Example: if the last VAT return exists as at 31 July 2026 (in all books and companies), all months up to and including July 2026 are closed, and all months from August 2026 are open. The exception is the trend for the Efficiency area, see below.

Area

Measure name for KPI

Status – compares the current value with the target

Target

Trend

FINANCE

0101 Profit/loss

Positive previous year: below 85% of target red, 85–100% orange, from 100% green. Negative previous year: thresholds reversed

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 EBITDA

Positive previous year: below 85% of target red, 85–100% orange, from 100% green. Negative previous year: thresholds reversed

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Revenues from products and services

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Costs

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Share of personnel costs in total %

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Revenues from products

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Revenues

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Revenues from goods

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0101 Bank balance

Positive previous year: below 85% of target red, 85–100% orange, from 100% green. Negative previous year: thresholds reversed

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Balance – consolidation currency (Payables)

Below 100% of target green, 100–115% orange, over 115% red

10% of the gross turnover of invoices in for the last 12 closed months

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Payment delay in days (Receivables)

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0102 Overdue receivables

Below 100% of target green, 100–115% orange, over 115% red

2% of the gross turnover of invoices out for the last 12 closed months

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0102 Number of debtors

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0102 Overdue receivables %

Below 100% of target green, 100–115% orange, over 115% red

2% of the gross turnover of invoices out for the last 12 closed months as a share of the receivables balance

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0102 Receivables overdue by more than 30 days

Below 100% of target green, 100–115% orange, over 115% red

5% of overdue receivables

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0102 Receivables not yet due

Below 85% of target red, 85–100% orange, from 100% green

90% of the receivables balance

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Balance – consolidation currency (Receivables)

Below 100% of target green, 100–115% orange, over 115% red

10% of the gross turnover of invoices out for the last 12 closed months

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

PRODEJ

Discount % (Invoices out)

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Quantity – basic UoM (Invoices out)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0201 Number of new customers

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0201 Number of articles

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0201 Share of total margin %

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0201 Share of total sales %

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Number of customers (Invoices out)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Margin – consolidation currency (Invoices out)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Net turnover – consolidation currency (Invoices out)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0203 Average sales order price

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Number of sales orders (Sales Orders)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Net price – consolidation currency (Sales Orders)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

SKLADY

Warehouse balance – basic UoM

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Stock coverage by value – days

Current value only, no colour

–

–

0301 Issue

Current value only, no colour

–

–

0301 Receipt

Current value only, no colour

–

–

0301 Share of total balance %

Current value only, no colour

–

–

0301 Number of articles in stock

Current value only, no colour

–

–

Number of stock document items

Current value only, no colour

–

–

Change in stock – consolidation currency

Current value only, no colour

–

–

Warehouse balance – consolidation currency

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

PURCHASE

0401 Number of suppliers

Current value only, no colour

–

–

0401 Number of articles

Current value only, no colour

–

–

0401 Share of total turnover %

Current value only, no colour

–

–

0401 Acquisition costs %

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Discount % (Invoices in)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Net turnover – consolidation currency (Invoices in)

Current value only, no colour

–

–

Number of orders (Purchase Orders)

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0402 Average waiting time

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

0402 Average delivery time

Below 100% of target green, 100–115% orange, over 115% red

Value for the same period of the previous year

Last closed month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

EFEKTIVITA

OEE

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year, no value -> 72.9%

Current month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Performance

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year, no value -> 90%

Current month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Availability

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year, no value -> 90%

Current month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Quality

Below 85% of target red, 85–100% orange, from 100% green

Value for the same period of the previous year, no value -> 90%

Current month vs. previous one: ^ growth over 5%, ˇ decrease over 5%, › change up to 5%

Creating a menu

Using the wizard, you can also create a menu in the form of tiles. It then serves for a clear organisation of dashboards and for launching them.

The function for creating a menu is available in the Dashboards book and can be started using the Create new menu (tiles) button.

pic_6939

Picture: Dashboards book - button for starting the menu creation wizard

After start, a form for the basic settings of the menu is displayed.

pic_6940

Picture: General information about the menu

Here it is necessary to enter the name and abbreviation for the given menu. In the Number of menu items field, we also determine how many tiles the resulting menu will contain. Clicking the OK button creates the menu with tiles.

pic_6941

Picture: Created menu with tiles

The menu tiles are arranged within the dashboard into containers whose layout is vertical (from the bottom). The maximum number of tiles placed next to each other is therefore 5. Further tiles are then inserted below the existing ones. After the menu is created, the tiles are "empty"; no dashboard is assigned to them.

The menu with tiles must then be edited so that dashboards are displayed through them. We switch to editing the menu using the pic_856i icon and then using the Edit mode option. In edit mode, further tiles can be added to the menu using the pic_1165i icon. Tiles are added to the menu next to each other. However, if a different layout of the dashboard with the menu is selected, the function respects this layout and can add tiles to the menu in the horizontal direction as well. This ensures compatibility with menus created outside this function.

Editing a tile

The tile must then be edited so that it is functional within the menu, i.e. it displays a specific dashboard or the necessary information. The tile is edited in the edit mode of the dashboard using the pic_857i icon. A form for setting the properties of the tile is displayed.

pic_6943

Picture: Form for setting a tile

Description of fields

Tile name

Name of the tile. The text is displayed in the defined tile.

Tile colour

A field for defining the colour of the tile. We select from a palette of available colours.

Large icon

In this field, we select the icon for the tile. This icon will be displayed in the tile. We select here from the list of IS K2 icons. After selection, the form displays a preview of this icon.

Link to dashboard

Here we define the link to a specific dashboard. The field is a link to the Dashboard configuration book, where we select from the list of all defined dashboards. Clicking the tile then displays this dashboard.

Second line with trend icon

A section for setting the line of the tile that expresses the result of comparing values. If the On field is checked here, further fields for defining this line are displayed in the form.

Tolerance (%) for neutral evaluation

A field for setting the tolerance of the neutral evaluation. It is stated in % of the planned value. On the number axis, it is a tolerance to the left (the actual value approaches the plan).

Formula for value output (%n)

The text displayed in the tile after the result of comparing the actual and planned values. %n expresses the result of the comparison.

Positive evaluation icon

The icon displayed in the tile in the case of a positive evaluation, i.e. the resulting value obtained from the data source for the current value is greater than the value from the data source for the planned value.

Neutral evaluation icon

The icon displayed in the tile in the case of a neutral evaluation, i.e. the resulting value obtained from the data source for the current value and the value obtained from the data source for the planned value are within the Tolerance for neutral evaluation.

Negative evaluation icon

The icon displayed in the tile in the case of a negative evaluation, i.e. the resulting value obtained from the data source for the current value is less than the value from the data source for the planned value.

A tile allows numerical values to be compared. These values can be fixed or defined by an MDX query. In this way, you can compare e.g. the plan and the actual values. The result of comparing these values can be reflected in the tile through a value or an icon expressing the result or the trend of the result. However, this definition must be made in the original forms for the tile definition.

The settings are confirmed using the OK button.

Book Contents

Book Index

Dashboard presentation

This module is used to create presentations using dashboards, data modules, web pages or a script. Here you can define individual presentations, which will then be shown on a specific device, such as televisions or monitors. The presentations are displayed on these devices via the web K2.

A new record is added here using the Insert key. A form for setting the dashboard presentation is displayed.

pic_7056

Picture: Form for setting the dashboard presentation

In this form, we fill in the Name and Description fields. They usually serve to specify the location of the television or other device for displaying presentations. In the lower part of the form, it is also necessary to define the individual items of the presentation. These items can be dashboards, records from individual data modules, web pages or data loaded by a script.

A dashboard is included in the presentation using the Add dashboard button, which is located in the ribbon. A view of the Dashboards book is displayed, and from this list we select the individual dashboards to be included in the presentation. After selecting a specific dashboard, a form for further specifying the presentation item is displayed.

pic_10385

Picture: Dashboard settings for the presentation

The name of the selected dashboard is automatically filled in the Name field in this form. In the Display duration in seconds field, we then determine how long the given dashboard will be displayed on the screen (in seconds). To include the dashboard in the presentation, nothing else needs to be set here and the form can be confirmed using the OK button. An item (dashboard) that will be displayed within this presentation is inserted into the form for setting the presentation.

The Start presentation button starts the set presentation directly in desktop K2. After start, the presentation items will rotate and be displayed within IS K2. However, this function serves rather to check that the settings are correct. Presentations of web pages cannot be displayed this way. The web K2 is intended for full-fledged display of presentations.

Modules presentation

Besides dashboards, IS K2 modules, or rather the records of these modules, can also be included in presentations, both as a list of records (table) and as the detail of a specific record.

A table of records can be displayed in the presentation including the set view. The presentation can therefore include a table in which the records are filtered or row or column formatting conditions are applied. For module presentations, you can further apply a specially created fragment or a specific form zoom.

The presentation can thus display, for example, a list of sales orders that need to be packed, or the work queue of a specific resource.

A module presentation is included in the overall presentation using the Insert key in the form for setting the presentation. A form for setting the presentation item is displayed.

pic_7058

Picture: Module presentation settings

In the Name field, we fill in the name of the presentation item. In the Display duration in seconds field, we then determine how long the module presentation will be displayed on the screen (in seconds). Further settings must be made in the Modules presentation section of the form.

Description of fields

Data module

A field for specifying the data module that will be displayed within the presentation. If only the data module is entered and the Record field is empty, a list of records of the selected data module is displayed in the presentation.

Record

Here you can select a specific record of the data module, which will then be displayed within the presentation.

Fragment

The name of the fragment used for display in the presentation. If it is not entered, the factory fragment is used. Thanks to this, you can create a form that is better suited for display e.g. on a television.

Zoom

Form zoom for display in the presentation.

View

The view of the selected data module that is applied in the presentation for subsequent display.

After the settings are confirmed, an item for displaying the module presentation is inserted into the form for setting the presentation.

Web page presentation

Web pages can also be part of a presentation. To display a web page in a presentation, its URL address must be entered in the form for setting the presentation, in the URL address field, which is in the Web page section.

pic_7059

Picture: Web page settings for the presentation

In the Name field, we also fill in the name of the presentation item. The display duration of the web page presentation is then determined in the Display duration in seconds field. After the settings are confirmed, an item for displaying the web page presentation is inserted into the form for setting the presentation.

Book Contents

Book Index

Presentation using a script

A custom script with handling for displaying the required data can be inserted into the Script field.

Note: An example of use in the standard is the script Running the "Worker performance" module for a presentation (ShowMTUserPerformance). A more detailed description of its use is in the chapter Worker performance.

Display within the web K2

The presentation of dashboards, data modules and web pages is intended for the web K2, where they are displayed. For the web K2 to display the presentation immediately after login, the parameters of the given presentation must be entered in the URL address of the web K2. These parameters are stored in the form for creating the presentation in the URL field.

pic_7060

Picture: Form for creating a presentation - URL field

It is enough to insert these parameters at the end of the URL address of the web K2. The address will then look like this, for example: https://demo.k2.cz/?classname=TDashboardPresentationDM&Frgtid=TDashboardPresentationDM_auto&UseMainLayout=0&K2pk=K2[DEMO].DM[1786].PK[739D0200A90B0000]. After confirming the address, the login window of the web K2 is displayed, and immediately after login, the given presentation starts. The individual parts of the presentation will cyclically rotate and be displayed in the browser within the web K2.

Book Contents

Book Index

Graphical display of dashboards

The created dashboards can be displayed in several ways:

Displaying a dashboard in the Dashboards book

In the Dashboards book, the output of the dashboard is displayed on the Preview tab.

pic_10790

Picture: Display of a dashboard in the Dashboards book in desktop K2

pic_10793

Picture: Display of a dashboard in the Dashboards book in web K2

Displaying a dashboard on the IS K2 desktop

A dashboard can be integrated into the navigation panel of the IS K2 desktop. The desktop then displays the dashboard that is set as the default for the logged-in user in the User parameters in the Default dashboard field (on the General tab).

pic_4316_2022

Picture: Dashboard (composed of tiles) integrated into the IS K2 desktop - desktop K2

pic_10794

Picture: Dashboard (composed of tiles) integrated into the IS K2 desktop - web K2

Book Contents

Book Index

Displaying a dashboard in the form of data modules

Dashboards can also be integrated into the forms of data modules. A dashboard can be inserted into a form with the aim of returning global data regardless of the current record, or, on the contrary, with the aim of returning data for the current record. In the second case, it is then necessary to ensure that the data module passes the appropriate values to the dashboard.

The principle of passing values from the data module to the dashboard is shown in the following picture. The whole example in this chapter is for applying a dashboard showing stock balances (analytical cube SkladKarta) for the current article card and the specified warehouse in the Article book.

pic_10788

Picture: The principle of integration and passing values from the data module to the dashboard

The scheme above shows that for the dashboard to be able to take over the value of the current article card and the warehouse from the Article module, filters must be created in the dashboard for these dimensions. Subsequently, the integration parameters of the dashboard must be filled in based on these filters.

pic_10789

Picture: Integration parameters of a dashboard showing warehouse balances; the dashboard is prepared for integration into the Article module

Then we apply the Dashboard component to the modified form of the Article module, select the respective dashboard, set its properties and link the integration parameters with the fields of the data module.

pic_10783

Picture: Settings of the Dashboard component when applied to the Article module

pic_10785

Picture: Dashboard showing stock balances integrated into the Article module - the dashboard module passes the current article card and the set warehouse

Book Contents

Book Index

Analytical data model

Book Contents

Book Index

Administration

To be able to use the analytical data model and its business areas in K2, all components must be installed on the target servers. Subsequently, the deployment (initialization) of the analytical model must be performed. This process is performed directly by K2 and consists of creating the relational database of the data warehouse, creating the integration services (SSIS) packages and creating the model database on the analysis services (SSAS).

Prerequisites

pic_107288

Picture: Creating an SSIS catalogue on the SQL server

pic_107289

Picture: Creating an SSIS catalogue on the SQL server

Installation and setup of the analytical model

The Installation and setup of analytical models function can be found in the main menu under Business Intelligence / BI Administration / BI Installation.

pic_10905

Picture: Installation and setup of analytical models

Description of selected fields

Name of the Analysis Services instance in the tabular model

If we run analysis services in a non-tabular model on the server (we use the original K2 OLAP cubes), another instance of analysis services must be created on the given server for the tabular mode.

Name of the K2 source database

Name of the data warehouse database

The name of the databases is given by the name of the K2 database (including the current client) according to the database settings in the K2.ini file.

If we restored the K2 data to another database (typically when creating a test environment from the production environment), then an attempt to update the data results in a warning that the names given here (corresponding to the name of the test database) do not match the database for which the analytical model has already been created. In this case, a new model must be installed for the currently valid database. At the same time, we also recommend renaming the Directory for the SSIS project so that it is unique for each K2 installation (see the field description below).

Name of the data warehouse database for data backup

The backup database is created during the installation and setup of analytical models, before the data warehouse database is created. Selected data from the already existing data warehouse are moved to the backup database. Data from the Set parameters for analytical models and from Financial planning are backed up. The backup database is always created, even if no data need to be backed up.

After the backup database is created and filled, the data warehouse database is created. Then, during the first recalculation, the data from the backup database are loaded into the newly deployed data warehouse. After a successful transfer of the data to the data warehouse, the backup database is deleted. For the data backup to work correctly, the database name of the new and the old data warehouse must be the same.

Windows service account used by the BI solution

The Windows account performing the deployment of the analytical model. On the SQL Server instance with the source K2 database, this account must have the VIEW ANY DEFINITION permission.

Directory for SSIS project with integration packages

The name of the directory that will be created on the analytical server for the SSIS project. Several K2 installations can work with one SSIS project, but we recommend having a unique directory name for each installation. If several K2 installations had a shared SSIS project, it would not be possible to perform data calculation / recalculation on both K2 installations at the same time. This is a typical example of a situation where we prepare a test K2 from the production K2.

After the parameters are set, the analytical model is installed using the Installation button. The installation can be run repeatedly in higher versions of IS K2 (higher version or release) in order to also move to a higher version of BI. However, there may also be situations where, when moving to a higher version of IS K2, the client wishes to stay on an older version of BI and therefore does not have to perform a new deployment of the analytical model.

The first step of the installation is the repair of empty timestamp fields in IS K2 tables. This step is performed automatically if the installation is run for the first time (new deployment) or if it is run in a new version of K2 (a higher version or release than the version stated in the BI version field (redeployment of the model)).

Calculation / Recalculation of data

The data of the analytical model are calculated using the Recalculation of analytical model function, which can be found in the main menu under Business Intelligence / BI Administration / BI Filling, or by including the Recalculation of analytical model shortcut in the Task scheduler. Even when the function is run by the user from the main menu, the task is scheduled via its shortcut in the Task scheduler. Therefore, it is always necessary to have the application server installed and the Task scheduler up and running. After the data calculation task is completed, a notification is always triggered. To receive it (by e-mail or in the panel in K2), notifications must be active.

By default, data import into the BI solution is incremental - that is, data loading works on the principle of determining which records have been created or changed since the last data import and then processing them.

Book Contents

Book Index

Settings in K2

For the correct behaviour of business areas within the analytical model, certain settings must be made in the K2 system.

Book Contents

Book Index

Consolidation currency and exchange rates

The calculation of the amount in the consolidation currency is affected by the K2 system settings and the way multicompany is used. The solution works with two possible setting scenarios. If we want to change the method of converting the amount to the consolidated currency, all data must be imported into the BI solution.

Selecting an own company for consolidation

This is a setting where we decide to use a specific own company, i.e. to take over the parameters from its settings within multi company. The use of a specific company for consolidation is set at the client level - in the Client parameters, on the General tab, we fill in the Company for consolidation field. It is important that the selected company has the use of its own exchange rate list set - this is done in Multicompany administration by activating the Own exchange list option. The exchange rate list for the selected company must be filled with the necessary data. If some exchange rates are missing, the conversion will not take place. The consolidation currency is chosen at the own company level.

Without a selected own company for consolidation

If no specific company is selected, the general exchange rate list will be used, i.e. without an own company. The consolidation currency is the currency of the general exchange rate list. The exchange rate list must be filled with the necessary data. If some exchange rates are missing, the consolidated amounts will not be calculated.

In a consolidated evaluation of own companies, mutual movements between own companies can be excluded using the Consolidation unit company attribute in the Supplier–customer dimension. This attribute takes the values yes/no. The value "No" means that the given supplier or customer is not part of the consolidation unit, i.e. it is not one of the own companies. The attribute value corresponds to the setting of the Consolidation unit company field on the Suppliers–Customers card.

Book Contents

Book Index

Business year

The period settings relate to the behaviour of the accounting period in the date dimension of K2 BI. If the division of the Business year code list is not used in Multi company administration, no special settings are needed. Otherwise, when the division of the Business year code list is set, a company for consolidation must be selected in the Client parameters. The accounting period in BI will then follow the periods belonging to the company designated for consolidation.

Book Contents

Book Index

Set parameters for analytical models

The Set parameters for analytical models function can be found in the main menu under Business Intelligence / BI Administration / BI Settings. The function can be used only once the analytical model has been set up and installed. The function is available only to users with the Set parameters for analytical models right (number 2429).

Aggregation and historical data

pic_107421

Picture: Set parameters for analytical models - Aggregation and historical data

Historical data
Aggregation

Aggregation determines which part of the already loaded data will go from the data warehouse to the tabular model and in what detail. For most areas, you can set the number of displayed years and their detail. The parameters Number of years in full detail and Number of aggregated years together make up the total number of years of data filled in BI. By default, the total number of years is 8 (3 detailed and 5 aggregated).

Data update configuration

pic_10860

Picture: Set parameters for analytical models - Data update configuration

Book Contents

Book Index

BI metadata administration

The function allows you to extend the standard dimensions of the analytical model with custom attributes from K2 fields. It can be run from the tree menu under Business Intelligence / BI Administration / BI metadata administration. The function can only be run by users with the right Managerial overviews / Analytical models / BI metadata administration.

pic_11067

Picture: Adding a custom attribute to the Article dimension - selection of the Article data module

1. In the BI metadata administration form, we expand the dimension that we want to extend with a new attribute (K2 field).

2. Create a new record (Ins).

3. In the Dimension attributes form, fill in the mandatory field Column source expression. The field and the required link are selected from the list of fields of the K2 data module. The data module is determined by the main table of the dimension. If the data module cannot be derived unambiguously, the required data module must be selected first (see the picture above for the Article dimension).

4. The expression is converted to a column reference in the form alias.[Column]. In addition, the data type and the default length are set automatically according to the K2 field type. The Default value field is preset with the default value of the element for data that have no value filled in. For string fields it is a placeholder notation (@defString) for the "Empty" element, for numeric fields the value 0. The expression can be overwritten with your own; for text fields a valid SQL expression must be entered: N'vlastní text'.

pic_11068

Picture: Expression for Country of origin with a link to Abbreviation

5. In the Visible name field, fill in your own description of the attribute. The attribute is displayed in the analytical model under this name with the suffix "(Own)". The name must be unique within the dimension and cannot be changed after saving.

Note: The Column source expression field can also be edited and your own SQL expression can be entered. However, at least the first field must always be inserted by selecting fields first. (Selecting a field adds the correct table alias to the expression and sets the attribute's link to the joined table; a manually entered or copied expression does not set this link.)

pic_11069

Picture: Inserted expression for Country of origin with a link to Abbreviation and subsequently modified by the user with Name of country

pic_11070

Picture: Example of own attribute definitions

After the whole BI metadata administration form is confirmed, the process of projecting the changes into the data warehouse and the analytical model starts automatically.

pic_11071

Picture: Projecting changes into the data warehouse

Subsequently, a scheduled task is created and started to fill the dimensions affected by the change.

pic_11072

Picture: Creating a task for filling data

After filling, the own attribute is available in the analytical model, in the pivot table field list in the User attributes folder of the relevant dimension.

pic_11077

Picture: Own attributes in the pivot table field list, Article dimension

Book Contents

Book Index

Working with the analytical data model
Terminology: Facts (Measures) and Dimensions

Facts (Measures) mostly contain numeric values/metrics/measures such as balances, turnovers, percentage shares, etc.

Dimensions give meaning to facts, i.e. they break them down, e.g. over time, or group them according to selected properties.

General properties of the model

Measure groups are numbered and merged according to business areas: Receivables, Payables, Invoices Out, Stock movements, etc.

The Consolidation currency is determined by the setting in K2, see the following chapters. The Currency of own company is the base currency of the company in which accounting is kept. The Document currency is the original currency in which the given document was issued. When using a measure named "document currency", a breakdown or filter by the Document currency dimension must be used, otherwise amounts in different currencies would be added together.

If there are multiple companies (multi company) with different accounting currencies, even when working with "Currency of own company" measures we must filter for a specific company or use the Own company currency attribute from the Own company dimension.

Book Contents

Book Index

Metrics used in dashboards

Below are some metrics that appear across dashboards. This is not a complete list of metrics, only metrics whose calculation method might not be clear. For better clarity, they are divided into the areas in which they are used. All metrics used in dashboards are in the consolidation currency; quantity is stated in the basic unit of measure.

Finances

Shop

Warehouses

Purchase

Book Contents

Book Index

Time calculations

Time calculations make it possible to analyse metrics (e.g. Turnover – currency of own company, Margin – currency of own company) in various time contexts – to compare periods with each other or to monitor development over time. There are several time calculations in the data model, which are described below.

Book Contents

Book Index

Basic periods

Display of values in specific time slices.

Book Contents

Book Index

Increase / change compared to the previous period

Comparison of current values with the previous period.

Book Contents

Book Index

Cumulative values

Values accumulated from the beginning of the given time period.

Cumulative values can only be used with the Date dimension!

Book Contents

Book Index

Daily averages

A daily average calculated from the total value for the period. The designations 1, 3, 6 and 12 M calculate with the actual number of days in the month, while the variants 30, 90, 180, 360 assume equal month lengths (30 days).

Book Contents

Book Index

BI filling analysis
General description

Contains information about all BI fillings. We can analyse the filling time or the number of fillings. A breakdown is possible by time periods, data areas, filling results, errors, down to a specific filling defined by its start and end time.

Measures

Dimensions

Book Contents

Book Index

Date of updating
General description

The update date provides information about the date and time of the start of the last successful filling of the data areas.

Measures

Dimensions

Book Contents

Book Index

Finance model

Book Contents

Book Index

Common settings and behaviour
Calculation of the amount in the consolidation currency

The calculation of the amount in the consolidation currency depends on the K2 system settings. For the conversion to work correctly, exchange lists must be entered and the consolidation currency must be selected, see the chapter Settings in K2.

Measures in different currencies

When using a measure named "document currency", a breakdown or filter by the Document currency dimension must be applied.

When operating K2 in multi company mode combined with different currencies set for some companies, we must filter "currency of own company" measures for a specific company or use the Own company currency attribute from the Own company dimension.

Book Contents

Book Index

Exchange rates
General description

Working with the exchange list is largely affected by the ERP K2 settings from the multicompany point of view. For companies that do not have their own exchange list set, the general exchange list is used, and in BI it is assigned to an own company named "Mandant".

Setting up an own company in K2 with the Own exchange list option ensures the import of exchange rate data for the given company.

This MG is used as the data basis for calculating various amounts in the consolidation currency.

Business area settings

For this business area to behave correctly, the Date and Rate currency dimensions must be applied. When operating the K2 system in multi company mode, the Own company dimension must be used if any of the companies is set to use its own exchange list.

Measures

Dimensions

Book Contents

Book Index

Accounting journal.
General description

The solution contains complete movements from the accounting journal in the full detail of the accounting entry. Balance measures are calculated from turnover measures as the sum of movements from the beginning of the year to the selected date. When calculating the amount in the consolidation currency, the exchange rate valid for the date of the accounting transaction is used.

Business area settings

Balance measures must be used in combination with the Date dimension, because they display balances as at the selected date.

If an own company uses multiple accounting books, we must set a filter or breakdown by books.

The greatest detail that can be used in data analysis is the description of the accounting transaction. We recommend using the Accounting transaction detail dimension only when the input data are sufficiently filtered/restricted.

Measures

Dimensions

Book Contents

Book Index

Management reports
General description

Management reports are used for reporting costs and revenues aggregated into management categories in a tree (hierarchical) structure. Only profit and loss accounts (class 5 and 6), or internal costs and revenues (off-balance sheet accounts 8 and 9), can be used in the reports. The aggregation function in the hierarchy is a simple sum (the value in a given node is the pure sum of the values of its child nodes).

The structure of management reports is defined in the Management reports - definition book.

Business area settings

When working with management reports, the Row of management report dimension must be used. The dimension also contains the Management report attribute, which is useful in the filter so that only the rows of one selected report are displayed.

Measures

In order to preserve the management view of costs (-) and revenues (+), the sign of amounts posted to accounts falling under the collective accounts 5, 6, 8 and 9 is reversed in this area. The condition for reversing the sign for off-balance sheet accounts of class 8 and 9 is that the collective account hierarchy is filled in.

Dimensions

Book Contents

Book Index

Management reports - definition

The structure of management reports is defined in the Management reports - definition book.

pic_10315

Picture: Management reports - definition - List

Book Contents

Book Index

Basic data

On the Basic data tab, enter the Abbreviation and Description of the report. In the Enter analytical dimensions in report rows section, we can select the analytical dimensions that we want to enter on individual rows. This is used when different dimension values are to be loaded into individual rows of the report.

pic_10316

Picture: Management reports - definition - Basic data tab

Book Contents

Book Index

Rows

On the report rows, we enter the individual rows and define accounts and superior rows. If any of the analytical dimensions is enabled on the basic data of the report, we also enter here the values of the analytical dimensions that are to be loaded into the row.

pic_10317

Picture: Management reports - definition - Rows tab

pic_10318

Picture: Management reports - definition - editing a row

Description of fields:

Name

Name of the report row.

Superior

Superior (total) row. Only a row on which no accounts are entered can be selected.

Accounts

Accounts that are loaded into the row.

Analytical dimensions

Values of analytical dimensions that are loaded into the row.

Book Contents

Book Index

Rows with analytical dimensions

If analytical dimensions are enabled in the management report definition, the specific values of the analytical dimensions to be loaded are entered on the report row in the Analytical dimensions section after pressing the Select button. If the value for an empty dimension is also to be loaded, check the Not entered field on the row of the relevant dimension.

pic_10319

Picture: Management report - definition with the Cost centre and Device dimensions enabled

pic_10320

Picture: Management reports - definition - editing a report row with the Cost centre and Device dimensions enabled

Book Contents

Book Index

Export and import of a management report definition

The definition of management reports can be exported to xml and imported into another client.

Export

Before importing, it is advisable to check whether all accounts defined in the rows of the exported report are also contained in the chart of accounts of the client into which the report is being imported. If not, the report import is carried out, but the accounts are not filled in the rows with non-existent accounts.

Import:

pic_10321

Picture: Form with reports marked for import

Reports can also be exported and imported using the Data export and import function. The function is started from the Administrator tree menu. In the function form, on the Export tab, press the Export of management report definitions button. In the client into which we want to import the reports, in the Data export and import function form, on the Import tab, press the Import of management report definitions button.

Book Contents

Book Index

Financial plan
General description

The financial plan contains the actual state from the accounting journal and the planned data created in Planning. All data are in the detail of the dimensions selected in the Planning configuration. The actual state is updated within the regular recalculation of the analytical model. Planned data are written to the model by running the recalculation of the analytical model within Planning.

Settings

The basic dimensions when working with the financial plan are Row of management report, which is used in the rows in Planning and Scenario, which distinguishes the Actual state, the Plan and other created planning versions.

Measures
Dimensions

Book Contents

Book Index

Receivables
General description

The receivables balance is calculated retrospectively for each day, and documents appear in the time interval from their Accounting transaction date until their payment. It processes documents of the type invoice out, advances received and other receivables. When calculating the balance in the consolidation currency, the exchange rate valid for the monitored date is used.

Settings

When working with the model, we must use a filter or breakdown by the Date dimension. The measures used will display the balance as at the selected day. If an attribute of the Date dimension other than the day is used, the balance value as at the last day is filled in, e.g. for January 2023 it will be the balance as at 31 Jan 2023.

Measures

Dimensions

Book Contents

Book Index

Payables
General description

The payables balance is calculated retrospectively for each day, and documents appear in the time interval from their Accounting transaction date until their payment. It processes documents of the type invoice in, advances provided, other payables and payables from wages. When calculating the balance in the consolidation currency, the exchange rate valid for the monitored date is used.

Settings

When working with the model, we must use a filter or breakdown by the Date dimension. The measures used will display the balance as at the selected day. If an attribute of the Date dimension other than the day is used, the balance value as at the last day is filled in, e.g. for January 2023 it will be the balance as at 31 Jan 2023.

Measures

Dimensions

Book Contents

Book Index

Balance sheet
General description

The balance sheet is based on the Economic analyses module in the K2 environment. The purpose is to compile a basic balance sheet from BI. Therefore, the balance sheet is based on the properties of the standard economic analyses "Bilance A" and "Bilance P". Several conditions must be met:

The purpose of this area is to calculate the account balances and compile a balance sheet from them, which can then be used, e.g., to calculate standard financial indicators.

Settings

When working with the balance sheet, the Balance sheet row dimension must be used. The dimension also contains the Report name attribute, which is useful in the filter so that only the rows of one selected report are displayed.

Measures

Dimensions

Book Contents

Book Index

Bank statements
General description

The solution is based on the Bank statements area. It works with statements that are confirmed or unconfirmed and not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid as at the issue date of the statement is used.

The balance corresponds to the state in K2 if the bank statements are sorted by the Date locator.

Measures

Dimensions
Bank statement: the bank statement

Book Contents

Book Index

Cash vouchers
General description

The solution is based on the Cash vouchers area. It works with documents that are confirmed or unconfirmed and not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid as at the issue date of the document is used.

The balance corresponds to the state in K2 if the cash vouchers are sorted by the Date locator.

Measures

Dimensions

Book Contents

Book Index

Sale model

Book Contents

Book Index

Common settings and behaviour
Calculation of the amount in the consolidation currency

The calculation of the amount in the consolidation currency depends on the K2 system settings. For the conversion to work correctly, exchange lists must be entered and the consolidation currency must be selected, see the chapter Settings in K2.

Measures in different currencies

When using a measure named "document currency", a breakdown or filter by the Document currency dimension must be applied.

When operating K2 in multi company mode combined with different currencies set for some companies, we must filter "currency of own company" measures for a specific company or use the "Own company currency" attribute from the Own company dimension.

Book Contents

Book Index

Invoices Out
General description

The solution is based on the items of invoices out. It works with documents that are confirmed and not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid for the date of the accounting transaction is used.

Measures

Other measures

Dimensions

Book Contents

Book Index

Sale of products
General description

The solution processes the sale of products and is based on the items of invoices out. It works with documents that are confirmed and not cancelled. Only sold products that have prices defined by types on the batch enter the model. All measures are expressed in the currency of own company. The model makes it possible to break down the amount of a sold product into the individual items of the calculation formula. The assignment of the calculation formula to the various prices is given by the setting in the job card.

Business area settings

When working with the unit amount, it is advisable to use the Basic unit of measure dimension, which ensures that different units of measure are not mixed when calculating the measure.

Measures

Dimensions

Book Contents

Book Index

Sales Orders
General description

The solution is based on the items of sales orders. It works with documents that are not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid for the issue date of the sales order is used.

Measures

Other measures

Dimensions

Book Contents

Book Index

Other Receivable
General description

The solution is based on the items of Other receivables. It works with documents that are confirmed and not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid for the date of the accounting transaction is used.

Measures

Dimensions

Book Contents

Book Index

Purchase model

Book Contents

Book Index

Common settings and behaviour
Calculation of the amount in the consolidation currency

The calculation of the amount in the consolidation currency depends on the K2 system settings. For the conversion to work correctly, exchange lists must be entered and the consolidation currency must be selected, see the chapter Settings in K2.

Measures in different currencies

When using a measure named "document currency", a breakdown or filter by the Document currency dimension must be applied.

When operating K2 in multi company mode combined with different currencies set for some companies, we must filter "currency of own company" measures for a specific company or use the "Own company currency" attribute from the Own company dimension.

Book Contents

Book Index

Invoices In
General description

The solution is based on the items of invoices in. It works with documents that are confirmed and not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid for the date of the accounting transaction is used.

Measures

Other measures

Dimensions

Book Contents

Book Index

Purchase Orders
General description

The solution is based on the items of purchase orders. It works with documents that are not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid for the issue date of the order is used.

Measures

Other measures

Dimensions

Book Contents

Book Index

Other liabilities
General description

The solution is based on the items of Other liabilities. It works with documents that are confirmed and not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid for the date of the accounting transaction is used.

Measures

Dimensions

Book Contents

Book Index

Warehouse model

Book Contents

Book Index

Common settings and behaviour
Calculation of the amount in the consolidation currency

The calculation of the amount in the consolidation currency depends on the K2 system settings. For the conversion to work correctly, exchange lists must be entered and the consolidation currency must be selected, see the chapter Settings in K2.

Measures in different currencies

When operating K2 in multi company mode combined with different currencies set for some companies, we must filter "currency of own company" measures for a specific company or use the "Own company currency" attribute from the Own company dimension.

Book Contents

Book Index

Stock movements
General description

The solution is based on the basic stock documents: receipt cards, release notes, transfer notes and job cards. It works with documents that are confirmed and not cancelled. Balance measures are calculated as the sum of all stock movements up to the selected date. When calculating measures in the consolidation currency, the exchange rate valid for the issue date of the document is used.

When working with the Summing warehouse dimension, the Warehouse business area allows warehouses to be assigned multiple times under different summing warehouses (setting in K2). The same data can be displayed under different summing warehouses, and the grand total may not correspond to the actual warehouse balances.

Business area settings

When working with the Stock coverage by value – days and Stock coverage by quantity – days measures, we must use a filter or breakdown by the Date dimension. The measures used will display the value as at the selected day. If an attribute of the Date dimension other than the day is used, the measure value as at the last day of the selected period is filled in, e.g. for January 2023 it will be the value as at 31 Jan 2023.

Measures

Dimensions

Book Contents

Book Index

Logistic tasks
General description

The solution is based on the basic stock documents: receipt cards, release notes, transfer notes. It works with documents that are confirmed and not cancelled.

Measures

Dimensions

Book Contents

Book Index

Mobile terminal statistics
General description:

The solution is based on the Mobile terminal statistics area and uses all events listed there

Measures:

Axes:

Book Contents

Book Index

Production model

Book Contents

Book Index

Production completion
General description

The solution is based on job card operations. For each operation, the plan and the actual state are expressed for quantity, price, times and rejects. It works with job card operations that are confirmed and not cancelled.

Measures

Dimensions

Book Contents

Book Index

Completion of production items
General description

The solution is based on the items of job cards. It works with job cards that are confirmed and not cancelled.

Measures

Dimensions

Book Contents

Book Index

Production efficiency
General description

The business area for evaluating efficiency works with data from several sources, and its primary goal is to calculate the key indicator OEE (Overall Equipment Effectiveness). The OEE calculation depends on three partial indicators, namely availability, performance and quality.

The partial indicator of availability is based on actual production times and unplanned shutdowns. An unplanned shutdown is a "normal" or "completion" job card with an operation that has the Shutdown option active on its card, and this job card must not have a resource scheduling record (it must not have been capacity scheduled).

The partial indicator of performance works with planned and actual production time and is based on "completion" and "normal" job cards. "Shutdown" operations are excluded from processing.

The partial indicator of quality is based on the good and reject quantity on "completion" and "normal" job cards.

All measures read from job cards come from operations of confirmed "completion" and "normal" job cards. The exception is the Planned shutdowns measure, which is read according to the scheduling date from the current or archived resource calendar item in any job card type, while the operation must have the Shutdown option active.

Time metrics are stated in hours.

Measures

Availability (folder):

Quality (folder):

Performance (folder):

Utilization (folder):

Dimensions

Book Contents

Book Index

CRM model

Book Contents

Book Index

Common settings and behaviour
Calculation of the amount in the consolidation currency

The calculation of the amount in the consolidation currency depends on the K2 system settings. For the conversion to work correctly, exchange lists must be entered and the consolidation currency must be selected, see the chapter Consolidation currency and exchange list.

Measures in different currencies

When using a measure named "document currency", a breakdown or filter by the Document currency dimension must be applied.

When operating K2 in multi company mode combined with different currencies set for some companies, we must filter "currency of own company" measures for a specific company or use the Own company currency attribute from the Own company dimension.

Book Contents

Book Index

Opportunities
General description

The solution is based on Opportunities and works only with documents that are not cancelled. When calculating the amount in the consolidation currency, the exchange rate valid as at the creation date of the opportunity is used.

Measures

Dimensions

Book Contents

Book Index

Quotations
General description

The solution is based on the Quotations area. It works with quotations that are confirmed and not cancelled. Only quoted items are selected for the calculations.

When calculating amounts in the document currency, the exchange rate stated in the quotation header is used, and when calculating amounts in the consolidation currency, the exchange rate valid as at the issue date of the quotation is used.

Measures

Dimensions