Book Contents

Book Index

Managerial overviews

Book Contents

Book Index

BI and OLAP settings

Libraries for management reports

For IS K2 to work correctly and communicate with the Analysis Service, when working with dashboards and when configuring rights to OLAP cubes and other modules, the libraries for administration and communication must be installed. These are Microsoft® SQL Server® ADOMD.NET and Microsoft® SQL Server® 2012 Analysis Management Objects. These libraries can be found using a web search engine by entering the text Feature Pack SQL Server.

IS K2 primarily searches for these libraries in the user's system. If they are not found there, the libraries distributed with the IS K2 version are used. These are "Microsoft.AnalysisServices.dll" and "Microsoft.AnalysisServicesAdomdClient.dll", which communicate with SQL Server 2008 R2.

Please note that these libraries may not communicate with all available versions of SQL Server, therefore we recommend a local installation of these libraries for the specific version of SQL Server in use!

For the record detail in OLAP (Drillthrough) to work, the Analysis Services OLE DB Provider corresponding to the correct version of Microsoft SQL Server must be installed on the client workstations. The supported provider versions are:

Book Contents

Book Index

Dashboards and pivot table in web K2

The following requirements apply to both OLAP and BI, i.e. both cubes and the tabular model.

To make dashboards and the pivot table work in web K2, regardless of the chosen technology (OLAP vs. tabular analytical model), the identity of the user currently logged in to K2 must be correctly passed to the SSAS analytical database. The reason is that each user has different rights in the analytical database, so it is usually not desirable for all users to see all data. In desktop K2, this usually does not need to be addressed, because K2 runs as a user process under the very user who started the K2 application. This domain account is then used when connecting to the database server. In the case of web K2, this user domain account is not known, because all communication takes place via application servers that run as a Windows service. The goal is therefore to achieve correct passing of the identity of the user logged in to web K2 to the SSAS analytical database. To do this, the following items must be set:

1) Each application server for web K2 must run under a domain account. The local system account cannot be used.

pic_10910

Picture: Setting the account under which the web K2 AS runs

2) This domain account must have the following settings on all servers where the AS for web K2 runs.

pic_10911

Picture: Local Security Policy - Security Settings - Local Policies - User Rights Assignment

pic_10912

Picture: Local Security Policy - Security settings - Local Policies - User Rights Assignment

3) Next, K2 itself must be set up. For the user identity to be passed correctly, the following requirements must be met:

pic_10916

Picture: User settings - login via Active Directory

4) If we are dealing with BI analytical models, at this point we run the installation of the analytical models. It ensures correct assignment of permissions to the databases (data warehouse, analytical model, SSISDB).

5) The domain account under which the application servers run must have the following settings on the SQL server:

pic_10914

Picture: Assigning the domain account to the Admin group

pic_10915

Picture: Setting the domain account as "server administrator" on the analysis server

6) Now access to the database and users in K2 are set up. The next steps depend on the chosen architecture, i.e. on which server / servers the AS runs, on which server the SQL server with the analytical database runs, and on which server the SQL server with the data warehouse (Dwh) runs.

Book Contents

Book Index

BI recalculation

The recalculation of the analytical model now runs as a scheduled task in the Task scheduler. For all application servers used in the Task scheduler, all the requirements that applied to the dashboard and pivot table functionality in web K2 must be set (see the previous chapter). That is, these application servers used by the Task scheduler must run under a domain account that has the Act as part of the operating system right (Act as part of the operating system), has administrator access to the analytical database with the tabular model and also to the SQL server where the database with the data warehouse runs. All of this has been described above.

To connect to the data warehouse database, the recalculation task itself uses the Installation of analytical models form and its fields SQL Server instance name with the data warehouse (DwhServer), Name of the data warehouse database (DatabaseName) and Windows service account used by the BI solution (BiServiceAccount). This last field is very important, because it is used for impersonation and the identity of this domain account is passed to the database server, specifically to the data warehouse database. It is also possible to enter in the form the same domain account as the one under which the AS for the Task scheduler runs. In this case, nothing more needs to be set, no impersonation takes place and the domain account is used directly for the connection.

Now the correct access to the database is set up. The next steps again, as in the case of dashboards and the pivot table in web K2, depend on the chosen architecture, i.e. on which server / servers the AS runs, on which server the SQL server with the analytical database runs, and on which server the SQL server with the data warehouse (Dwh) runs. And so again:

Book Contents

Book Index

Financial planning

Financial planning is very similar to both previous cases, i.e. dashboards and the pivot table in web K2 and BI recalculation. Here, the AS (or ASs) on which web K2 runs is used. In financial planning, these application servers perform impersonation to the domain account specified in the Installation of analytical models form, specifically the same field as for BI recalculation. The AS itself must therefore run under a domain account that has the Act as part of the operating system right (Act as part of the operating system), has administrator access to the analytical database with the tabular model and also to the SQL server where the database with the data warehouse runs. The settings are therefore again the same as in the previous cases, and if they have already been made, nothing needs to be configured. The same applies to the Kerberos service, for which identical configuration conditions apply as in the previous cases.

Book Contents

Book Index

Configuration of the Kerberos service

The configuration of the Kerberos service is very critical for BI to work correctly. However, the configuration itself tends to be very complex and differs depending on the architecture and the location of servers and services in the domain.

To be able to configure Kerberos, the steps described above must first be completed (user settings in K2, domain account settings for the AS, administrator access and rights, etc.). Cooperation with the Domain Admin is also necessary, otherwise there is a risk that Kerberos cannot be configured due to insufficient permissions.

Book Contents

Book Index

K2 OLAP management extension

Book Contents

Book Index

Introduction to OLAP

To evaluate IS K2 data, we can use the standard IS K2 tools or specialised systems for evaluating data from a data warehouse. For the second option, IS K2 offers the OLAP management extension built on Microsoft SQL Server 2005 and higher.

Our strengths of the management extension for user:

  1. Option to predefine the required outputs and views.
  2. Evaluations can run in the background independently of the operation of the information system itself.
  3. The presented results are immediately available thanks to being stored in a special database.

K2 OLAP analyses source data that are current at the time of the export of the data. If, for example, an invoice is issued or paid and the source data in OLAP are not updated, the changes are not reflected in the given view.

The user under whom the OLAP export runs must have access to all companies in the Multicompany administration and at the same time must have the display of data of all companies set. Otherwise, some code lists in OLAP may not be complete and data inconsistencies may occur.

OLAP parameters

OLAP parameters allow you to set the behaviour of the OLAP management extension and the settings of individual cubes. They apply only to the export of data to the analytical database and do not relate to data evaluation using Analytical models.

Icons of OLAP parameters:

Icon of a parameter that switches the export of a cube on or off.

pic_370i

Icon of a parameter that switches the export of a dimension on or off.

pic_341i

Icon of a parameter that sets any function other than those listed above.

Book Contents

Book Index

General OLAP parameters

Parameters affecting the behaviour of the OLAP extension are called General parameters, and we display them by selecting the General item in the parameter menu.

pic_10023

Picture: Selecting general OLAP parameters

General OLAP parameters:

Name

Description

Type

Value

Date From

The value determines the initial date for the Time dimension.

Date

1.1.1993

Date To

The value determines the end date for the Time dimension.

Date

31.12.2011

DatumArchivu

Date of the archive part of the data. It is used for the Audit in OLAP. Documents are copied to a comparison table and audit tables are created.

Date

1.3.1993

DatumKontroly

Date of the checked part of the data. It is used for the Audit in OLAP. Documents are copied to a comparison table, the values that were changed and the date of the change are checked - audit tables are created. Closed periods and past periods in purchase, sales and cash documents are checked.

Date

31.12.2010

DMServerName

Name of the server with the SQL database. If the value is not filled in, the value from the K2.ini text file is used.

String

 

DMCatalog

Name of the main SQL catalog. If the value is not filled in, the value from the K2.ini text file is used.

String

 

DSOServerName

Name of the OLAP server. If the value is not filled in, it is the same as the SQL server. The parameter is used only for data export.

String

 

DSODatabase

Name of the OLAP database. If the value is not filled in, the value from the SQL catalog is used and _Firma_DM is appended to the name. The parameter is used only for data export.

String

 

PVFactStruct

Description of the dimension structure - invoice in/out.

String

 

PopisPracDnu1

For the time dimension, the number of working days in the individual months of the year.

String

 

PopisPracDnu2

For the time dimension, the number of working days in the individual months of the year.

String

 

PopisPracDnu3

For the time dimension, the number of working days in the individual months of the year.

String

 

ZkratkaZbozi

If the parameter is On, articles are displayed by abbreviation.

Boolean

Off

PocetVeZbozi

When the Article and Customer dimensions without sorting level parameter is off, articles in the list are divided into groups of N records.

Integer

500

PocetVZakaznik

When the Article and Customer dimensions without sorting level parameter is off, customers in the list are divided into groups of N records.

Integer

500

Article and Customer dimensions without sorting level

On: The grouping of articles and customers on these dimensions into groups according to the settings of the PocetVeZbozi and PocetVZakaznik parameters is cancelled.

Off: Articles and customers are grouped in the list into groups of N records, where the number of records for the groups is defined by the PocetVeZbozi and PocetVZakaznik parameters.

Boolean

On

PocetZnPrefixuVeZbozi

- N characters of the abbreviation/description.

Integer

5

Weight

If the parameter is On, the Weight measure is added to the Invoices In, Invoices Out and Stock card cubes.

Boolean

Off

Popis_RabSk

If the parameter is On, product groups are displayed by Description.

Boolean

Off

BehBezFactI

If the parameter is On, the Fact1 tables are not generated (trial run).

Boolean

Off

BehBezFact

If the parameter is On, the Fact tables are not generated (trial run).

Boolean

Off

K2ServerName

Name of the server with the K2 database. If the value is not filled in, the default value from K2.ini is used.

String

 

K2Catalog

Name of the K2 SQL catalog. If the value is not filled in, the value from the K2.ini text file is used by default.

String

 

TydnyNPS

If the parameter is On, a weekly time dimension is added to the Purchase, Sale, Warehouse, Activities cube.

Boolean

Off

NezobrazovatRec

If the parameter is On, record counts are not displayed.

Boolean

Off

ZboziLangProp

Additional property for articles - not generated by default, otherwise the language number is generated.

Integer

0

RoleK2All

Separated list of users.

String

 

NoGauge

If the parameter is On, information about the export is not displayed.

Boolean

Off

FormaObjedn

If the value is On, the Form of order dimension is created.

Boolean

 

Pracovnik

On: in the InvOutSale, InvInPurchase, PurchSaleStock, PurchSale, Purchase orders, Sales Orders, StockCard, Costs and incomes, Activities cubes, the Employee dimension is created. It reads data from the Officer field on document items / headers.

Boolean

Off

Officer as linear

On: The Employee (Officer) dimension will be single-level.

Off: The Employee (Officer) dimension will be a tree.

Boolean

On

ReferentLNamTempl

If the Employee (Officer) dimension is a tree, the names of the individual levels of the dimension can be defined. The level names are separated by a semicolon.

 

 

SPS_ItemCode1

Creating a dimension for ItemCode1.

Boolean

Off

SPS_ItemCode1Popis

If the parameter is On, ItemCode is displayed by Description; if the parameter is Off, ItemCode is displayed by Abbreviation.

Boolean

Off

SPS_ItemCode2

Creating a dimension for ItemCode2.

Boolean

Off

SPS_ItemCode2Popis

If the parameter is On, ItemCode is displayed by Description; if the parameter is Off, ItemCode is displayed by Abbreviation.

Boolean

Off

CustomerAbbr.

If the parameter is On, the Customer is displayed by Abbreviation.

Boolean

Off

ExportAdresatu

If the parameter is On, Addressees are exported.

Boolean

Off

MenaStruc

Structure of the Currency dimension. By default, the currency dimension works with the currencies EUR, Kč and $. If we want this dimension to work with more currencies, they must be set in this parameter. The parameter overrides the default setting, so all currencies used must be set here. Example of the parameter setting: "VšechnyMěny, Všechny měny, Měna, Skupiny měn;(US:$)(EU:EUR)(TU:Kč)(O:-)(PLN:PLN)(SKK:Sk)(GBP:GBP)".

String

 

Payment method dimension

If the parameter is On, the Payment method dimension is exported to the Purchase, Sale, Purchase orders and Sales Orders cubes.

Boolean

Off

Data import from archive

If the value is On, data are imported from the archive.

Boolean

Off

RegionCD1

If the value is On, the territory is filled according to CD1; if CD1 is not filled in, the territory is filled according to CD0. At the same time, the ExportAdresatu parameter must be set to On so that the addressees are exported.

Boolean

Off

StromoveOsyNaLinearni

If the value is On, tree dimensions are switched to linear.

Boolean

Off

Regiony_DelkaZkr_Stat

The value determines the length of the abbreviation of records representing Countries in the Territory code list. Default value is 2.

Integer

2

Regiony_DelkaZkr_Kraj

The value determines the length of the abbreviation of records representing Regions in the Territory code list. The default and maximum value is 5 characters.

Integer

5

Regiony_ZahrnoutOdDel

The value determines from which abbreviation length the items are taken as leaves. By default, the value corresponds to the length of the Regions abbreviation.

Integer

5

Aggregation

The value determines the percentage of aggregations created.

Integer

30

Sequential filling of the export

The export to the DM server runs sequentially. Slower than the SQL export. Suitable for export between two servers.

Integer

Automatically

Analyses services language

Language settings for Analyses services

String

1033

Analyses services collation

Collation setting for Analyses services

String

Czech_CI_AS

SQL Server type

The value determines the SQL type. By default, the value is set to automatic. Other options are MS SQL 2000 - 2008.

Integer

Automatically

AS Server type

The value determines the SQL type. By default, the value is set to automatic. Other options are MS SQL 2000 - 2008.

Integer

Automatically

Measures in currency

If the parameter is On, measures are created in the Purchase and Sale cubes that give the values in the current currency.

Boolean

Off

Integrating data errors during O2

If an error in the data occurs while processing cubes on Analysis services 9.0 and higher, it is ignored and the process continues.

Boolean

Off

Day of the week

If the parameter is On, the Day of week dimension is created.

Boolean

Off

ReferecniZakaznik

If the parameter is On, a dependency directly on the parent customer (field CD1) is created in the Zákaznik1 dimension. To be able to evaluate the parent customer in OLAP, the CD1 parameter must be switched on, otherwise the Zakaznik1 dimension is not generated.

 

Boolean

Off

Article type

If the parameter is On, the Article type dimension is added.

Boolean

Off

Shipping method

If this parameter is On, the Shipping method dimension is added to the Sales Orders and Purchase orders cubes.

Boolean

Off

Accounts - language names

Parameter for determining the language number from the language names. In the General ledger cube, this language translation is displayed for the individual accounts.

Integer

0

Date of issue in SO/PO

If this parameter is set to On, a new time dimension by date of issue is created in the Sales Orders and Purchase orders cubes.

Boolean

Off

Time dimension with half-years

If the parameter is set to On, half-years are added to the Basic time dimension.

Boolean

Off

Check domain names of users in roles

On - the existence of the names of domain users in the role is checked. Errors are written to the log.

Boolean

On

Display own companies

If the parameter is set to On, the Own companies dimension is displayed in the OLAP cubes.

Boolean

Off

Automatically shift the end of the time dimension

The value in this parameter specifies the number of months from the current date for the end of the time dimension. If 0 is entered in this parameter, the value from the Date To parameter is used for the end of the time dimension. The value from the Date To parameter also has priority if it is greater than the value given in this parameter.

Integer

12

Article category dimension

If the parameter is set to On, the entire Article category dimension is added. This dimension does not depend on the virtual Kind dimension from articles.

Boolean

On

Delivery date weekly dimension

If the parameter is set to On, the Delivery date (weekly) dimension is added.

Boolean

Off

Date of issue weekly dimension

If the parameter is set to On, the Date of issue dimension is weekly.

Boolean

Off

Accept multiple currencies in the client

If the parameter is set to On, the document currency according to the currency set for the individual companies in the client is accepted.

Boolean

On

Contact person dimension to InvOutSale

If this parameter is set to On, the Contact person dimension is added to the InvOutSale cube.

Boolean

Off

Eshop dimension to IOSale

If this parameter is set to On, the Eshop dimension is added to the InvOutSale cube.

Boolean

Off

Article brand dimension

If this parameter is set to On, the Article brand dimension is added to the InvOutSale cube.

Boolean

Off

Customer from contract code dimension

If this parameter is set to On, the Customer from contract code dimension is added to the General ledger and Production cubes.

Boolean

Off

Delivery date in SO dimension

If this parameter is set to On, the Delivery date dimension is added to the Sales Orders cube.

Boolean

Off

Display all properties on dimensions

This parameter is intended for the new cube browser. If the parameter is set to Yes, all available properties are displayed on all dimensions.

Boolean

On

Partner dimension displays abbreviation instead of name

If the parameter is set to Yes, the partner abbreviation is displayed on the Partner dimension. Otherwise, it is the name.

Boolean

Off

Code 1 as linear

If the parameter is set to Yes, the Code 1 dimension is created as single-level and is sorted by name or description (according to the dimension settings).

Boolean

Off

Code 2 as linear

If the parameter is set to Yes, the Code 2 dimension is created as single-level and is sorted by name or description (according to the dimension settings).

Boolean

Off

Cost centre as linear

If the parameter is set to Yes, the Cost centre dimension is created as single-level and is sorted by name or description (according to the dimension settings).

Boolean

Off

Contract code as linear

If the parameter is set to Yes, the Contract code dimension is created as single-level and is sorted by name or description (according to the dimension settings).

Boolean

Off

Article code as linear

If the parameter is set to Yes, the Article code dimension is created as single-level and is sorted by name or description (according to the dimension settings).

Boolean

Off

ProjectCube

Parameter for switching on the Project work report cube.

Boolean

Off

Use dimension Code3 (Code4, Code5, Code6)

If these parameters are set to Yes, these analytical dimensions are included in some cubes.

Boolean

Off

Code3 (Code4, Code5, Code6) as linear

If these parameters are set to Yes, the listed dimensions will be linear. No tree structure is then kept for these dimensions.

Boolean

Off

Code3 (Code4, Code5, Code6) use description

After the parameter is set to Yes, the value from the Description field, not from the Abbreviation field, is used for these dimensions.

Boolean

Off

Code3 (Code4, Code5, Code6) user name

This parameter allows you to enter a user-defined name for the listed dimensions.

String

 

Code1 user name

The parameter allows you to define a user-defined name for the Code1 dimension.

String

Code 1

Code2 user name

The parameter allows you to define a user-defined name for the Code2 dimension.

String

Code 1

OblastCD1

If the parameter is set to On, the territory is filled according to the CD1 field. A further condition is that the CD1 field is filled in. If it is not, CD0 is used.

Boolean

Off

Fiscal time dimension

The parameter displays the Fiscal year dimension in the sales cubes and in the General ledger cube.

Boolean

Off

First month of the fiscal time dimension

The parameter specifies the number of the month in which the fiscal year begins.

Integer

3

Abbreviation/Description for the Device dimension

If the parameter is set to Yes, the Device dimension is defined by description. If it is set to No, the dimension is defined by abbreviation.

Boolean

Off

Export CD1 from the delivery address

The parameter is meaningful only if the "CD1" parameter is switched on in the Purchase, sale, warehouse cube - i.e. if the Customers1 dimension is created in the InvOutSale and Zakázky cubes.

Off: The customer from the invoicing address on the document is read into the Customers1 dimension. If it is not filled in, the customer from the document header is loaded.

On: The customer from the delivery address on the document is read into the Customers1 dimension. If it is not filled in, the customer from the document header is loaded.

Boolean

Off

KodZakazniku

Creates the Customer code dimension. It is loaded from the Code field on the supplier/customer card.

Note: If the general OLAP parameter "StromoveOsyNaLinearni" = No (default value), the customer code is not read from the given code list; instead, these codes must be converted for use in OLAP in the Customer codes tree function.

Boolean

Off

Customer code as linear

Off: The Customer code dimension is a tree. The tree structure is defined in the Customer codes tree function.

On: The Customer code dimension is single-level.

Boolean

Off

Book Contents

Book Index

Examples of using some general parameters
Parameters DatumOd and DatumDo

These parameters set the time range of the data exported to the OLAP extension.

The smallest time period that can be set is one day.

If we set the range to one day, all data created on that day up to the moment the data export to OLAP is started are exported.

Measures in currency parameter

The "Measures in currency" parameter creates measures in the current currency in the Purchase (InvInPurchase) and Sale (InvOutSale) cubes.

To be able to better distinguish the measures in currency, the "MenaFaPrNakup" parameter must be switched on in the Purchase cube and the "MenaFaVyProdej" parameter in the Sale cube.

Example of using a measure in currency:

In the Sales cube, we create a view in which we will monitor the articles sold in a selected period and in selected currencies.

Procedure

pic_10024

Picture: View - Display of article turnover by the selected currency.

Currency dimension structure parameter (MenaStruc)

The parameter defines the currency in the Invoices out sale (InvOutSale) and Invoices in purchase (InvInPurchase) cubes that we use in K2 but that is not exported to OLAP.

These currencies are usually classified under the K2 empty and K2 error group.

To be able to use the Currencies dimension in the cubes mentioned above, the MenaFaVyProdej and MenaFaPrNakup parameters must be switched on.

Definition of the MenaStruc parameter - Adding the SK currency

Example of a currency definition using a string notation: VšechnyMěny, VšechnyMěny, Měna, Skupiny měn;(US:$)(EU:EUR)(TU:Kč)(O:-)(SK:Sk)

Example of using the Currency dimension structure:

In the Invoices out sale cube, we create a view that will display the turnover of articles sold in the SK currency.

Procedure

pic_2306

Picture: View Turnover of sold articles by the selected currency

Book Contents

Book Index

Dimensions with document books

In cubes that read data from documents, the Books of PS dimension is always created. This dimension allows you to work with the books of individual document types. The books are divided into folders by individual modules.

For the InvOutSale (Invoices Out) and InvInPurchase (Invoices In) cubes, separate dimensions containing only sales / purchase books can be created. The Books of sale / Books of purchase dimensions are created after switching on the OLAP parameters "RadyP" and "RadyN", which are available among the parameters of the respective cube. However, these dimensions contain only those books that we define for OLAP in the Sales books tree and Purchase books tree functions. The functions are available in the main menu under Managerial overviews / OLAP / OLAP parameters and calculation / Trees / Codes. In the form of the given function, the records that we want to use in the OLAP dimension must be moved from the right table to the left part. The function supports building a custom tree structure of books. Using the Insert - Node menu, we can create custom nodes and assign the required book records to them.

Searching on a dimension

On the dimensions used in a view, the "arrow" button displays a form with a list of elements of the given dimension, where elements can be searched for and selected (marked / unmarked) for display or filtering.

pic_107561

Picture: Button for displaying and selecting dimension elements

pic_107562

Picture: Form for selecting and searching dimension elements - with two selected elements

Using the Search button, we can find the elements and, if required, also activate the found elements immediately.

pic_107563

Picture: Form for searching elements on a dimension - searching for customers that contain the characters "potra"

pic_107564

Picture: Found customer elements

If we want to go to the required record in the list of elements, we place the cursor on it in the Found elements form and go to it by double-clicking with the left mouse button or by pressing Enter. The cursor is only placed on the required record in the list of elements; however, it is not selected or deselected.

However, if we want the found records in the list of elements to be activated (checked) immediately as well, we mark the required records with an asterisk in the Found elements form (Ctrl+A, Ctrl+Space, Shift+Enter) and then go to them (double-click with the left mouse button or press Enter).

pic_107565

Picture: Found customer elements marked with an asterisk

pic_107566

Picture: Automatically activated dimension elements after finding the elements and marking them with an asterisk

Configure analytical dimensions

The Configure analytical dimensions function can be run from the tree menu Administrator - Analytical dimensions.

pic_5379

Picture: Form of the Configure analytical dimensions function

After switching on the Apply option for individual analytical dimensions, the Items and Evaluation tabs will be displayed in these code lists.

In the Default code list display field, the default display of the code list is selected (Tree/Table). When a user opens the given code list for the first time, the display according to this setting is used. However, the user can still switch to the other display, and this choice is remembered.

After clicking the Display tree button, the tree structure of the code list is displayed. The order of records in the tree for analytical dimensions can be changed using the Ctrl+Shift+UP/DOWN keys or by dragging with the mouse. We can directly define and edit the tree structure in connection with OLAP.

After clicking the OLAP tree button, the tree structure of the dimension in OLAP is displayed (this tree can be copied to the code list in K2).

pic_4272

Picture: Configure analytical dimensions - OLAP tree (article codes)

After clicking the Copy node button, a record identical to the name of the current node is added to the respective code list of the analytical dimension, and the newly created record is added as Superior to all records assigned to the node. If a record with the same abbreviation as the node name already exists in the code list, "_OLAP" is appended to the abbreviation. The changes made are saved by clicking the Save tree button.

After clicking the Copy all nodes button, the action described above is performed for all nodes of the OLAP tree.

Book Contents

Book Index

User rights to cubes and dimensions

Access to cubes can be set for individual domain users through roles. Within these roles, we can group any number of domain users and grant them permissions to selected cubes, or allow access to selected dimension elements.

Rights are assigned to users using function No. 1104 - OLAP user rights to cubes and dimensions. It can be found in the tree menu under Managerial overviews / OLAP / OLAP parameters and calculation / OLAP user rights to cubes and dimensions. The user configuring access through this function must have the Change OLAP parameters right.

After start, a form is displayed with a list of all defined roles. A new role is created using the Insert key. A role can only be saved if it contains at least one user.

pic_10428

Picture: List of defined roles

pic_10429

Picture: Creating a new role

Users in role

On this tab, we enter the domain users of the role. A new user is inserted using the Insert key. The users assigned here will be able to access the OLAP cubes through this role.

pic_10430

Picture: Users in role tab

Accessible cubes for users in the role

This tab is used to set access to cubes for users of the given role.

pic_10431

Picture: Accessible cubes for users in role

The list offers all available processed cubes. Access to the selected cube is set by double-clicking with the left mouse button in the Access to the cube column.

Restricting dimensions to specific elements

Individual domain users can be granted the right to an entire cube. We can further allow these users access only to some elements of the dimensions of the selected cubes. The Restriction of dimensions to specific elements only tab is used for this purpose. A new record for a dimension is inserted using the Insert key. Only one row can be defined for each dimension.

.pic_10432

Picture: Restricting dimensions to specific elements

pic_10020

Picture: Restricting dimensions to specific elements

Description of fields

Cube

Field for selecting the cube. Here, you must select a cube to which the given role has access. This cube is then used for entering the allowed elements. Rights to members cannot be defined if we do not have the right to the entire cube! The created restriction applies in all other cubes with these elements. For example, if we select the InvOutSale cube here and restrict the elements through the Basic time dimension, this restriction will apply in all cubes to which the given role has access and which contain the Basic time dimension.

Dimension name

The dimension whose elements we will select, thus defining their availability to the users of the role.

Dimension attribute

Attributes (properties) of dimension elements. It is always necessary to select an attribute at the same level as the element, i.e. if we want to restrict, for example, the basic time dimension to only some years, Years must also be selected as the attribute.

Hide overall totals

If this field is checked, the users of the given role will have grand totals available only for the selected (available) dimension elements. If the field is not checked, grand totals for all dimension elements are available to the users.

The dimension elements that will be accessible to the users of the role are selected using the Select allowed members button. After clicking this button, a list of all available elements of the selected dimension is displayed.

pic_10022

Picture: List of elements

By checking these elements, the user's access will be restricted, for example, to only some years, cost centres, etc.

Restriction of displayed measures

The display of cubes can be defined for individual domain users. According to these allowed cubes, we can restrict users' access to the measures of the cube, or define only those measures that are to be displayed to the users. The Restriction of displayed measures tab is used for this purpose.

pic_10433

Picture: Restriction of displayed measures

Restrictions for individual measures are inserted using the Insert key. Only one row can be defined for each cube.

pic_10434

Picture: Setting allowed measures

Description of fields

Cube

Field for selecting the cube. Here, you must select a cube to which the given role has access (on the Accessible cubes for users in role tab). This cube is then used for entering the allowed measures. Rights to members cannot be defined if we do not have the right to the entire cube! The created restriction applies in all other cubes with these elements.

Allowed measures

Measures whose elements we will select, thus defining their availability to the users of the role.

Libraries for management reports

For IS K2 to work correctly and communicate with the Analysis Service, when working with dashboards and when configuring rights to OLAP cubes and other modules, the libraries for administration and communication must be installed. These are Microsoft® SQL Server® ADOMD.NET and Microsoft® SQL Server® 2012 Analysis Management Objects. These libraries can be found using a web search engine by entering the text Feature Pack SQL Server.

IS K2 primarily searches for these libraries in the user's system. If they are not found there, the libraries distributed with the IS K2 version are used. These are "Microsoft.AnalysisServices.dll" and "Microsoft.AnalysisServicesAdomdClient.dll", which communicate with SQL Server 2008 R2.

Please note that these libraries may not communicate with all available versions of SQL Server, therefore we recommend a local installation of these libraries for the specific version of SQL Server in use!

For the record detail in OLAP (Drillthrough) to work, the Analysis Services OLE DB Provider corresponding to the correct version of Microsoft SQL Server must be installed on the client workstations. The supported provider versions are:

Book Contents

Book Index

Pivot table

The pivot table is used to create views for evaluating data over the analytical database (OLAP cubes / business areas of the analytical model), as well as over IS K2 data. The advantage of evaluating over the analytical database lies mainly in its speed. The advantage of using the pivot table over IS K2 tables is that the data are always current and real.

The shortcut for starting the pivot table can be found in the main menu in the Business Intelligence section.

After start, the pivot table environment is displayed. The view saved as Default is displayed. If no default view exists, the view that is first in order in the View management is displayed. Views are sorted by save level and, within a level, alphabetically by name.

pic_4604

Picture: Pivot table environment

The pivot table environment consists of three basic screens. These are the Drag areas, the List of fields and the Information panel.

Selecting the data source

A new view within the pivot table is created using the pic_939i icon located in the upper left corner of the table and then the New view option. The Connection settings form is displayed. First, we select the data source type.

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

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

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.

pic_8211

Picture: Connection settings - MDX - own connection settings in the view

In web K2, only K2 users who can be verified using their domain account have access to data loaded from the analytical database. This can be achieved either by linking 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.

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.

Description of the pivot table environment
Drag areas

After selecting the data source, the pivot table environment is always displayed. The Drag areas in this environment will be completely empty.

pic_4608

Picture: Empty drag areas of the pivot table

These Drag areas contain the field for Rows, the field for Columns, the field for Filters and the field for Measures. We insert the individual dimensions and measures of the selected data source into these fields (areas) and thus create the required view.

List of fields

In the right part of the pivot table there is the List of fields. All dimensions and measures of the selected data source are listed here.

pic_4611

Picture: List of fields of the data source

In the upper part of the List of fields, all sum fields, i.e. measures, are listed. We then use these measures when creating views.

Meaning of the individual sum field icons:

pic_940i - a standard measure that is part of a cube or an IS K2 table.

pic_941i - a calculated measure on the server. For this type of measure, the record detail (drillthrough) cannot be displayed.

pic_942i - a measure calculated by the user. For this type of measure, the record detail (drillthrough) cannot be displayed.

The lower part of the list of fields contains a list of all dimensions of the data source (cube or table) we are working with. From this list, we select individual dimensions and insert them into the Drag areas within views.

Meaning of the individual dimension icons:

pic_943i - the main node of the given dimension. Expanding this node displays all other levels of the dimension. It can be used in views. If we include the main node in a view, all levels of the given dimension will be visible in the view. For example, in the case of the time dimension, years, months, quarters and days will be visible in the view. Individual levels cannot then be removed from the view. The entire dimension with all levels is always removed.

pic_944i - this is the entire hierarchy of the dimension. This node has further levels of the given dimension under it. If we use this node in a view, all levels of the given dimension are included and these levels can be further broken down in the view. Individual levels cannot then be removed from the view. The entire dimension with all levels is always removed. All other attributes assigned under this node will also always be broken down, i.e., for example, a quarter will be further broken down into months and days. Using this node in a view is identical to using the main node of the dimension.

pic_4612

Picture: Using the entire dimension hierarchy in a view

pic_946i - an attribute containing multiple layers. On these attributes, it is possible, for example, to display grand totals in views. By default, these elements are broken down in views. Individual levels cannot be removed from the view; only the entire element can be removed at once.

pic_5231

Picture: Using dimension attributes for a report

pic_945i - this is a dimension attribute. This node has one level of the given dimension under it. These levels are not broken down further in the view. Using these attributes, we can skip individual levels, e.g. by including the years level in the view and then months. Individual attributes can be used independently of each other.

pic_5235

Picture: Using a dimension attribute

pic_1023i - a dimension attribute containing only one layer. These elements are primarily used for reports. They cannot be expanded or collapsed further. Grand totals can be displayed here. This level can be removed from the view separately.

pic_5236

Picture: Using single-layer attributes in a view

pic_947i - further properties of the dimension are available under this node. We can use these properties in views in the same way as individual dimensions. Closely related to this is the setting of the OLAP export parameter Display all properties on dimensions. Only after this parameter is set to Yes and the export is subsequently performed are all available properties displayed on all dimensions.

pic_4643

Picture: Dimension properties included in a view

In views, we insert individual measures and dimensions, their levels, attributes or properties into the pivot table space (drag areas). The principle lies in using either the red expandable elements, which can be worked with further in the table, or the green reporting ones. It is not advisable to combine these types of elements in views! The pivot table is therefore intended either for reporting or for further work, using different elements.

Information panel

Provides basic information about the view (pivot table).

pic_4652

Picture: Information panel of the pivot table

If the data source is the analytical database, the header of the information panel shows the date and time of the OLAP export. It also shows the name of the database and the server where the cubes are exported, the size of the pivot table and the query time. In the lower part of the information panel, there is the Selected member section. It shows the name of the element on which the mouse cursor is placed and the MDX expression for this element.

In the case of real data, the date and time when they were loaded is shown here. There is also information about the size of the pivot table and the query time. The lower part then shows the name of the selected element and the unique identification of this element.

Principles of working with the pivot table

Views within the pivot table are created by inserting individual dimensions and measures into the fields for rows, columns or filters. These elements are manipulated by simply dragging them with the mouse or by double-clicking with the left mouse button.

The rule here is that if we do not insert any dimension into the row fields, no values are displayed. A view must therefore always have at least one dimension inserted in the row fields. Only then is the used measure calculated.

pic_4609

Picture: View with one dimension included in the row fields

As soon as we insert a dimension, or its hierarchy or attribute, into the drag areas, an icon representing its level is always displayed in the header.

pic_4648

Picture: Dimension header in the pivot table

Options for dimensions in the pivot table:

Using the right mouse button on the dimension header, we display other options for working with the given dimension in the pivot table. These options are applied to the entire dimension in the view.

pic_10303

Picture: Other options for working with a dimension in the pivot table

pic_5237

Picture: Basic time dimension - breakdown restricted to the Quarter level

Options for measures in the pivot table:

Using the right mouse button on the measure header, we display other options for working with the given measure.

Book Contents

Book Index

Searching / Filtering dimension elements

We select elements in dimensions in order to filter the dimension to the required elements only. We can look for elements visually after expanding the node / nodes in the element tree and then check / uncheck the required elements, or we can find (and check) them using the Search function.

pic_11031

Picture: Searching for elements in a dimension

The elements matching the search conditions are displayed in a new form.

pic_11032

Picture: Found elements

If no element is marked with an asterisk, after confirmation (double-click or the Enter key on the current record) the node of elements is expanded and the cursor is placed on the required element. However, the element is not checked.

pic_11033

Picture: Placing the cursor on the required element

However, if we mark the found element or several elements with an asterisk, after confirmation (double-click or the Enter key on any record) the elements are checked directly in the tree, without the element tree being opened at all.

pic_11034

Picture: Marking found elements with an asterisk

In the lower part of the resulting form, the user only sees that the required elements have been added to the collection of elements for filtering. The element tree remains collapsed; the node field indicates that some elements are checked.

pic_11035

Picture: The required element / elements are checked (without expanding the tree) and can be seen written in the collection of elements

Expanding a node with elements

If we expand the element tree, only the first thousand records are always loaded in order to optimise speed. Further records can be loaded, again by thousands, using the "Load more elements" item, which is always at the end of the list.

pic_11036

Picture: Expanded element tree - display of the first thousand records

If we search for elements and only want to find an element without checking it (see above), and this required element is not among the first thousand records, it is added as the thousand-and-first. If the user chose to load another thousand records, the searched element will either be placed at the end again (if it does not belong to the next loaded thousand records either) or will be displayed among the other elements where it belongs in order.

pic_11037

Picture: Expanded element tree after searching for an element beyond the first thousand elements

Book Contents

Book Index

Changing the dimension name

In views, the user can change the names of the used dimensions, including all their levels. The Change custom name option displays a form with a list of all levels of the given dimension.

pic_4775

Picture: List of levels of the Basic time dimension

The user description can be changed for all these levels. It is then displayed as the name of the dimension or its level in the view. The change is made by displaying the item detail, e.g. using the Enter key or by double-clicking. A form is displayed in which we enter the required description (name) of the dimension in the User name field. This description can be entered in various languages, and the one matching the user's language setting is then used in the view.

pic_4776

Picture: User name of the dimension

After confirming the settings with the OK button, the user description is added to the view.

pic_4787

Picture: Modified user name of the dimension in the view

Other functions of the pivot table

The pivot table contains other functions that are available using the buttons in the browser header (blue top bar).

pic_948i Back - button for undoing an action by one step.

pic_1010i Display ruler - button for displaying a ruler in the pivot table view.

pic_949i Show empty rows - using this button, the display of empty rows can be switched on or off in the view.

pic_950i Show empty columns - using this button, the display of empty columns can be switched on or off in the view.

pic_1024i Adjust column width – the column width can be changed by the user. Using this button, we return all changes made to the default state.

pic_1028i Hide grand total in rows - hides the grand total in the rows of the pivot table - that is, hides the sum of the values for the columns.

pic_1029i Hide grand total in columns - hides the grand total in the columns of the pivot table - that is, hides the sum of the values for the rows.

pic_1011i Conditional formatting - button for starting the conditional formatting function of the pivot table.

pic_1030i Load filter from book - using this function, it is possible to load into the pivot table a container that is created in the Suppl./Cust., Article, Partners, Contact persons books. The prerequisite for this function is that the respective dimension is placed in the pivot table.

pic_951i Export to Excel - exports the view to Excel while preserving all cell formatting.

pic_1102i Export to dashboard - using this function, the pivot table can be exported to a dashboard. A more detailed description of the function is given in the chapter Export to dashboard.

pic_952i Edit - using this button, it is possible to display the form for editing the pivot table. Here it is possible to set, for example, rules for colouring table cells.

pic_10391

Picture: Form for editing the pivot table

pic_953i Reload - refreshing the view.

pic_954i Postpone updates - lock for updating data in the view. Using this button, any update of the data in the view can be prevented. When changes are made in the view, the data will not be updated and the message Update suspended. To load the data, click the "Update lock" button is displayed. This function can be useful, for example, when evaluating a large volume of data, where updating it can take a long time.

pic_955i Set connection - this button displays the Connection settings form, where it is possible to change the data source for the given view and some other properties.

Creating a calculated measure

When working with the pivot table, users can use so-called calculated measures. These are measures that the user can create and calculate in real time. These measures can be created on the basis of:

A calculated measure is always created on the basis of an existing one. We create it by clicking, in the List of fields, the measure we will start from and displaying the context menu with the right mouse button. Here we use the Create calculated measure option.

pic_4760

Picture: Creating a calculated measure

Next, the form for creating a calculated measure is displayed. A new calculated measure is by default created on the basis of a definition using other measures - the Do not use a manually entered MDX query option is active.

pic_10799

Picture: Form for creating a calculated measure

In this form, in the Measure name field, we specify the name of the new calculated measure. There is also the Default measure field, which informs on the basis of which measure this new calculated measure is based. The lower part of the form provides space for creating the formula for calculating the new measure. The individual parts of the formula are inserted here as items. A form is displayed that contains two tabs and is used for entering the individual parts of the calculated measure formula. The first of them is the Basic tab.

pic_4762

Picture: Form for creating a formula - Basic tab

Here, in the Measure field, we specify which measure this part of the formula will be based on. The measure on which this calculated measure is based is always filled in here automatically. We can change it using the Select measure button. We also select the operation applied between the formula rows here. The available operations are -, +, * and /. The operator selected here will therefore apply between this formula row and the following row.

The second tab of this form is called Advanced. If we want to use a constant in the formula for the calculated measure, we set it right here.

pic_10798

Picture: Form for creating a formula - Advanced tab

If we want to use a constant in a formula row, the Use constant option must be checked and the constant then entered in the Constant field.

On this tab, it is also possible to set a check for a zero value for a part of the formula. This can be used, for example, for division by zero. To switch on this check, the Check division by zero flag must be checked. We switch on the check on the numerator record. In the Alternate text when dividing by zero field, you can enter the text that is displayed in the view cell if the function detects division by zero.

We then save the formula row using the OK button.

The formula for calculating a calculated measure that is based on the Turnover measure and is multiplied by the value 1.5 can then look like this:

pic_10797

Picture: Formula for a calculated measure - Recalculated turnover (Turnover * 1.5)

If a calculated measure needs to be defined using a custom MDX query, we deactivate the Do not use a manually entered MDX query option.

pic_10800

Picture: Form for creating a custom calculated measure using an MDX query

Personalised filter conditions

In its lower part, the Basic tab also contains the Personalised filter conditions field. Here it is possible to enter filter conditions for a specific measure and thus adjust (filter) the values that are calculated and displayed within this measure. Filtering is done by selecting a dimension and then selecting elements of this dimension. This way we can display, for example, the turnover for a selected year (last year), or, for example, the turnover only in a specific book.

A new filter condition is added here, e.g. using the Insert key. A form for inserting the condition is displayed.

pic_4766

Picture: Filter condition for a measure

In the Dimension field, we enter the dimension by which we want to filter the measure. The dimension is selected using the Select dimension button. A list of all dimensions of the cube we are working with is displayed. We select the dimension from this list.

pic_4767

Picture: Form for selecting a dimension

Once we have selected a dimension, we can restrict the value of the measure down to individual elements of this dimension. The dimension elements are entered in the Filtered values field using the Choose elements for filtering button. We always select from the list of all elements of the selected dimension.

pic_4769

Picture: Selecting elements of the Additional values dimension

The form also contains the Advanced settings section and the Type field. Here we specify whether we will filter by a dimension or a hierarchy. If we select a hierarchy here, a field and a button for selecting the given hierarchy are displayed.

We then confirm inserting the condition using the OK button.

Function for sending a comment by e-mail

Using this function, it is possible to send a comment on a selected value of the pivot table by e-mail.

The principle of this function is to use the right mouse button on the cell whose value we want to send. A context menu is displayed, in which we then select the Send value comment by e-mail option.

pic_5007

Picture: Right mouse button context menu

Then a form for specifying the e-mail message is displayed.

pic_5008

Picture: Form for specifying the e-mail message

Here, in the Subject field, you can enter the text that is filled in as the subject of the e-mail message. In the Your comment field, we enter the text of the e-mail. If the Screenshot field is checked in the form, a screenshot of the pivot table view is inserted into the body of the e-mail message. The value of the cell from which the message is sent will be highlighted in this screenshot. By checking the Data in Excel field, we insert the view exported to the Excel application into the e-mail as an attachment.

After clicking the OK button, the built-in client for sending the message or an e-mail message in the Outlook application opens, depending on the mail account settings in K2. This message is then ready to be sent.

Record detail

An important function of the pivot table is the option of displaying the record detail. It is a link from the table to the book, down to a specific record.

We display the record detail by pressing the right mouse button on a pivot table cell and then selecting the Show detail option in the context menu.

pic_5233

Picture: Context menu after pressing the right mouse button

Subsequently, a list of records (documents) from which the value of the given cell is calculated is displayed.

pic_5234

Picture: Record detail

Note: In the default K2 settings, the record detail is limited to returning 1000 records. This limit can be changed with the DRILLTHROUGHROWLIMIT parameter in the "K2.ini" file by setting a custom limit.

Using the Enter key or the Go to record into book button, a specific document can be displayed directly in the respective module. The table can also be exported to Excel.

This function also has certain limitations and cannot always be used. The record detail does not work in these cases:

Export to dashboard

Using this function, a dashboard can easily be created directly from the pivot table. The function for exporting to a dashboard is started using the pic_1102i icon located in the pivot table header (blue top bar). After start, a form is displayed that contains several options for setting all aspects of exporting the pivot table to a dashboard.

pic_5734

Picture: Form for exporting the pivot table as an element

Description of fields in the Export pivot table as element section:

Name

Field for entering the name of the dashboard element (report).

Description

Field for entering the description of the dashboard element (report).

Connect entire dashboard

Checking this field displays another section of the form (Whole dashboard) for setting up the dashboard, and the export will then also create a dashboard.

If we export to a dashboard without checking the Connect entire dashboard flag, only a dashboard element, a so-called report, is created. This element will be of the Pivot table type and can then be used in the respective dashboard.

By checking the Connect entire dashboard flag, we display the section for setting up the dashboard.

pic_5735

Picture: Form for exporting the pivot table to a dashboard

Description of fields in the Connect entire dashboard section

Abbreviation of dashboard

Field for the dashboard abbreviation.

Dashboard name

Field for the dashboard name.

Description

Field for the dashboard description.

Create separate element with filter for each filter in pivot table

If this field is checked, an element of the filter type is also created for each filter included in the pivot table.

Create tile to run dashboard

Checking this field displays another section of the form for setting up a tile, and the tile will then also be created as part of the export.

If we export to a dashboard without setting the Create tile to run dashboard flag, the dashboard elements (report, or filters) are created, as well as the dashboard itself, which can be displayed.

If we check the Create tile to run dashboard flag, the section for setting up the tile is displayed.

pic_5736

Picture: Complete form for setting up the export of the pivot table to a dashboard

Description of fields in the Create tile to run dashboard section

Tile name

Field for the tile name

Add tile to an existing dashboard

In this field, you can select the dashboard to which the tile will be added.

Using the Export to dashboard button, the pivot table is exported and the respective records are created according to the settings in the form, i.e. the dashboard elements, the dashboard itself, or the tile.

Conditional formatting

Using this function, it is possible to define rules for formatting cells in the pivot table.

pic_4904

Picture: Pivot table with conditional formatting applied

The conditional formatting function is opened using the pic_1011i icon, which is available in the pivot table header. A form for inserting formatting conditions is displayed.

pic_4907

Picture: Form for inserting formatting conditions

A new condition is added here using the Insert key. Formatting conditions are defined on the basis of rules. After pressing the Insert key, a list of available rules that can be used is always displayed:

After selecting the required rule, another form for specifying the formatting condition is displayed.

Quick conditional formatting

Formatting rules can be applied in a so-called quick way directly in the table. This is done using the right mouse button on a specific cell of the pivot table. A context menu is displayed, in which we use the Highlight values option. Another menu is displayed that contains the option for Comparing the measure with the constant and Compare measure with measure.

If we choose one of the options, a form for a more detailed specification of the formatting condition is displayed.

pic_4908

Picture: Form for specifying the formatting condition

The current value from the cell from which we started the function is always loaded into the Value field of the form. This value can be modified. When comparing two measures, the measure from which the function is started is also always used as the default measure. The Operator field is used to select the comparison operator (greater than, equals, ...). In the Highlight colour field, we then select the colour and also the format of the cell highlighting.

Using the OK button, the set condition is applied to the pivot table.

Saving a view

Individual views can be saved and used again at any time for data evaluation. A created view is saved using the pic_939i icon and then the Save as option. A form is displayed in which some aspects of the view can be filled in.

pic_4653

Picture: Form for saving a view

Description of fields:

Name

Name of the view.

Description

Description of the view.

Label

Field for assigning the view to a group. In this field we enter the name of the group. The view will then be placed within this group in the context menu.

Level

In this field we select the level for which the view will be saved.

Client

Field for selecting the client that will have the view available.

User

Field for selecting the user who will have the view available.

Default

If this field is checked, the program treats the given view as the default. The default view is then displayed to the user after starting the pivot table.

The user then has the saved views available in the Administration of views book, but also directly in the context menu that is displayed after clicking the pic_939i icon.

pic_4654

Picture: Context menu of saved views

In the case of views over IS K2 tables, these saved views are also available in the context menu after clicking the pic_1009i icon.

Administration of views

Views are saved to the Administration of views book. This book serves primarily as a register of saved views. The book for administration of views is displayed from the cube browser using the pic_939i icon and then the Administration of views option.

pic_4655

Picture: Administration of views book

In this book, saved views can be deleted, copied, imported or exported to the "*.XML" format. For individual views, it is also possible to edit some of their properties, such as the name or the database connection.

Pivot table over IS K2 data

The principles of working with the pivot table over real IS K2 data are the same as in the case of the analytical database (OLAP). After selecting the Realtime data source and the data module for evaluation, the pivot table environment is always displayed. The pivot table will be empty. In this case, the default fields of the selected data module (default from the program's point of view, not the user's) are loaded into the list of fields as measures and dimensions. The Number measure (number of records) is also always loaded here.

Pivot table in an IS K2 book

One of the advantages of evaluation using the pivot table over IS K2 data is the possibility of using it directly in IS K2 books.

In IS K2 books, the pivot table can be started over any table using the pic_1009i icon and then the New pivot table option.

pic_4900

Picture: New pivot table option

After start, the pivot table is displayed empty, and the fields that are currently included as columns in the table (data module) are loaded as measures and dimensions. The pivot table function in an IS K2 book therefore always reflects the user's column settings.

pic_10482

Picture: Pivot table after start in the Sales Orders book

Views within the pivot table are created by inserting dimensions into the area for rows and columns and measures into the area for measures. These elements are manipulated by simply dragging them with the mouse or by double-clicking with the left mouse button. You can also use the right mouse button and one of the options Add to columns, Add to rows.

If we want to add a new measure or dimension to the list of fields, we add the given field to the list of table columns in the K2 module. After the pivot table function is started again over this table, this field will be available for use in the pivot table. The second option for adding a dimension or measure is using the right mouse button in the list of fields and then the Add new measure to list of fields or Add new dimension to list of fields option.

To include a new measure in the list, a field of the data module must be selected in the displayed form. This is done in the Field name field. We always select from the list of all fields of the given data module. In the second field of the form, Type of aggregation, we select the aggregation function that can be used for the new measure. We select from the available functions: Sum, Number, Average, Distinct count, Minimum, Maximum.

pic_4902

Picture: Form for including a new measure

After clicking the OK button, the new measure is inserted into the list.

Unused measures and dimensions can be removed at any time using the right mouse button menu over the measure or dimension and the Remove measure / Remove dimension option (Delete). All unused measures and dimensions can also be removed in bulk using the pic_1270i button.

If we want to include a new dimension in the list, we select directly from the list of all available fields of the given data module.

pic_4903

Picture: List of data module fields for inserting a dimension

By clicking the Select button, or by pressing the Enter key, the new dimension is inserted into the list of fields of the pivot table.

Using the right mouse button on the dimension header in the view, we display other options for working with the given dimension in the pivot table. They are identical to those in the case of the analytical database. There are functions for sorting and filtering or, for example, for changing the user name of the dimension. A more detailed description of these functions is given in the chapter Principles of working with the pivot table.

New pivot table based on table columns

The context menu of the pivot table in an IS K2 book also offers the New based on table columns option.

pic_5727

Picture: New based on table columns option

When we choose this option, a pivot table is created in which all fields that are also included as columns in the given book (data module) are automatically used in the evaluation. These fields will be included not only in the List of fields but also directly in the pivot table. The order of the columns in the pivot table view then corresponds to the order in which the columns are arranged in the IS K2 book.

pic_5730

Picture: Pivot table with inserted columns (Sales Orders)

Book Contents

Book Index

Cubes

For working in the OLAP browser, we use the term "cube". We understand an OLAP cube as an information mart.

Each cube contains two kinds of fields that we drag from the Pivot table list of fields. The first kind are dimensions (e.g. Basic time dimension, Article category, Area, etc.), which we select (drag) into the filter, column and row field areas. The second type of fields are sum fields, so-called measures (e.g. Profit, Turnover), which we drag into the sum field and detailed data areas.

pim_319.png

Picture: Pivot table list of fields

For some dimensions, a tree structure can be user-defined (customer code, article code, contract code, cost centre). The contents and structure of the tree are defined via the tree menu function in the OLAP section. If a code or cost centre is not included in the tree, it is exported as K2–error. Newly entered codes or cost centres must therefore be added to the trees manually. The tree structure of these dimensions allows us to easily display the sum for individual groups in the tree.

Another kind of fields are calculated fields. Their use has certain limitations, which are described in the chapter Stock card (SkladKarta_All).

Data from the displayed cube can be displayed in a classic view; it is also possible to expand one specific value (drillthrough) and thus obtain an overview of the items from which the selected value is calculated. The result of this expansion can be partly influenced by the OLAP export settings. When creating views, it is advisable to set the required number format in the File – Action – Format menu.

If we want to transfer information to Excel, we can do it in two ways:

Some of the listed cubes, their measures and dimensions may be omitted from the export to increase performance or because they cannot be used under the given conditions.

Marketing

For evaluation, marketing uses the Activities and Opportunities cubes.

Activities cube

The Aktivity_All cube is based on activities in marketing; for the time dimension it uses Date from.

OLAP parameters of the Activities cube:

Name

Description

Type

Value

Marketing_Typ_Popis

If the parameter is On, Activity types are displayed by Description; if the value is Off, Activity types are displayed by Abbreviation.

Boolean

Off

AktivityProdej

If the parameter is On, Sales information is added to the cube.

Boolean

Off

Aktivity_Příležitosti_Popis

If the parameter is On, Description is switched on for Opportunities; if it is Off, Abbreviation is switched on.

Boolean

Off

Measures Dimensions

pic_4343

Picture: View - multiple lines of business on the partner card

Opportunities cube

The cube is based on Opportunities in marketing. For the time dimension, the Execution date of opportunities is used here.

OPPORTUNITIES measures Dimensions - OPPORTUNITIES Opportunities demo views Application of marketing cubes
Explanation of the meaning of some available measures

The activities cube contains several measures that we can use for analyses. However, not all of them are calculated in a standard way, and for not all of them is it clear how they can be reflected in OLAP from IS K2, or how to use them in OLAP. The following table contains a description of some measures.

Description of columns:

Measure name

Description

TurnoverInv

Turnover from sales (data from invoices) of the partner appearing in the given activities. To have these data available in the cube as well, the AktivityProdej parameter must be switched on in the OLAP parameters.

NakladyF

Costs from sales (data from invoices) of the partner appearing in the given activities. To have these data available in the cube as well, the AktivityProdej parameter must be switched on in the OLAP parameters.

Volume Act

Monitored volume from individual activities. The measure concerns activities that have the "Monitor" flag set. This property allows monitoring the current volume that is in the parent activity and is updated according to the volume of the last subordinate activity. For an activity that does not have the "Monitor" flag set and contains a value in the "Volume" field in K2, this value is set to "0" in OLAP. Thanks to this, we can see the current state of the volume for monitored activities in OLAP.

Volume Opp

Volume from the opportunity header.

Last volume

This is the volume value of individual activities which, unlike the Volume Act measure, allows monitoring its development over time. The measure does not depend on monitoring like the Volume Act measure. At higher levels, the last volume value for the current month is always displayed (the values are not summed; instead, the last value in time at the month level is displayed).

Opportunities

pic_1193

Picture: Selecting a demo view

Examples of possible analyses

There are certainly a great many analyses that we could create over the marketing cube of activities and partners. The following text offers some selected ones that summarise the possibilities of this analytical cube.

Monitoring the frequency of sales representatives' activities

We create a view with which a company can monitor the frequency of the activities of its sales representatives, by displaying the numbers of individual types of activities carried out by a given sales representative over a certain period.

Procedure:

pic_1104.png

Picture: Table monitoring the frequency of sales representatives' activities

In the view, we can see the frequency of the sales representatives' activities carried out in the selected years.

pic_1105.png

Picture: Chart monitoring the frequency of sales representatives' activities

Numbers of companies by lines of business and areas

The view displays the numbers of all activities by individual Line of business and Area.

Description

pic_1108.png

Picture: Table of the number of companies by lines of business and areas

Comparison of planned and invoiced purchases

Procedure

pic_1110.png

Picture: Table comparing planned and invoiced purchases

pic_1111.png

Picture: Chart comparing planned and invoiced purchases

Distribution of activities in the months of the year

With this view, we can observe the distribution of sales representatives' activities in the months of 2009 for selected responsible persons.

Procedure

pic_1112.png

Picture: OLAP view - Table of the distribution of activities in the months of the year

pic_1113.png

Picture: OLAP view - Chart of the distribution of activities in the months of the year

Comparison of sales representatives' activities by years

Using this view, a company can compare the activities of its sales representatives in a given year.

Procedure

pic_1114.png

Picture: Part of the table comparing sales representatives' activities by years

pic_1115.png

Picture: Chart comparing sales representatives' activities by years

Top opportunities by probable volume

Procedure

pic_1116.png

Picture: OLAP view - Table of top opportunities by probable volume

Book Contents

Book Index

Purchase, Sale, Warehouse, Costs and Incomes, Purchase orders, Sales Orders
Purchase, Purchase orders Invoices In cube

This cube consists of the InvInPurchase, InvInPurchase_CiZ, InvInPurchase_Zbo, InvInPurchase_Dny, InvInPurchase_Zak cubes and is based on the items of invoices in. The Ac. trans. date of the invoice is used for the time dimension.

OLAP parameters of the Invoices In cube:

Name

Description

Type

Value

MenaFaPrNakup

If the parameter is On, the Currency dimension is added to the cube

Boolean

Off

DobrFaPrNakup

If the parameter is On, the Credit notes dimension is added to the cube

Boolean

On

RadyN

On: Creates the Books of purchase dimension in the Invoices In cube. However, the dimension contains only those books that we define for OLAP in the Purchase books tree function. The function is available in the main menu under Managerial overviews / OLAP / OLAP parameters and calculation / Trees / Codes. In the form of the given function, the records that we want to use in the OLAP dimension must be moved from the right table to the left part. The function supports building a custom tree structure of books. Using the Insert - Node menu, we can create custom nodes and assign the required book records to them.

Off: The cube contains only the basic general dimension Books of PS, which contains the books of all modules and does not support creating a custom tree structure of books.

Boolean

On

RadyNLNamTempl

BooksOfPurch_LNamTempl.: Level naming template for Books of purchase

String

 

Measures

Dimensions

Purchase Orders Cube

This cube is similar to the FaPrNakup_All cube. However, it is not based on invoice items but on purchase order items.

Another difference is in the definition of the time dimension. It is not based on the invoice date of the invoice (which may not exist). The date for the time dimension is taken by one of the following two procedures (according to the OLAP export settings):

It clearly follows that when comparing data from the invoices in cube and the purchase orders cube for a certain period, the results may not match, even if restricted only to invoiced items. They will match only if the invoice date fully matches the confirmation date of the receipt card or the other dates stated above (if the receipt card is not confirmed).

The cube is created when the "ExportObjZak" parameter is activated; it can be found among the parameters of the PurchaseSale cube.

OLAP parameters of the Purchase Orders cube

Name

Description

Type

Value

Invoice number in the DT of purchase orders

If the parameter is set to On, the purchase order number is replaced by the invoice number in the Drillthrough of the Purchase orders cube ( LinkToK2 does not work).

Boolean

Off

Measures

Dimensions

The individual dimensions are used to break down and filter the documents included in the calculation of measures. The dimensions are the same as in the FaPrNakup_All cube. The following dimensions differ:

Sale, Sales Orders Invoices Out Cube

This cube consists of the cubes FaVyProdej, FaVyProdej_CiZ, FaVyProdej_Zbo, FaPrNakup_Dny, FaPrNakup_Zak and is based on the items of Invoices Out. The Ac. trans. date of the invoice is used for the time dimension.

OLAP parameters of the Invoices Out cube:

Name

Description

Type

Value

MenaFaVyProdej

If the parameter is On, the Currency dimension is added to the cube

Boolean

Off

DobrFaVyProdej

If the parameter is set to On, the dimension Credit notes is added to the cube

Boolean

On

ExportPol_Pozn

If the parameter is set to On, the Pol_pozn table is added.

Boolean

Off

DobrSkladKarta

If the parameter is set to On, it adds the credit notes dimension (receipts/issues) ???

Boolean

Off

Planned costs

On: Adds the Planned costs measure. This is the Planned warehouse price from the item.

Boolean

Off

RadyP

On: Creates the Books of sale dimension in the Invoices Out cube. However, the dimension contains only those books that we define for OLAP in the Tree of books of sale function. The function is available in the main menu under Managerial overviews / OLAP / OLAP parameters and calculation / Trees / Codes. In the form of this function, the records we want to use in the OLAP dimension have to be moved from the right table to the left part. The function supports building a custom tree structure of books. Using the Insert - Node menu, we can create custom nodes and place the required book records into them.

Off: The cube contains only the basic general dimension Books of PS, which contains the books of all modules and does not support creating a custom tree structure of books.

Boolean

On

RadyNLNamTempl

For the FaVyProdej cube it also defines the currency dimension.

String

 

ZodpOs - FaVyProdej

On: Creates the Responsible person dimension in the FaVyProdej cube. It is filled with the Responsible person defined on the card of the Partner that belongs to the Customer from the invoice.

Boolean

Off

Sales order status into FaVyProdej

If the parameter is set to On, the Sales order status dimension is added to the FaVyProdej cube.

Boolean

Off

Contact person dimension into the FaVyProdej cube

On: adds the Contact persons dimension to the FaVyProdej cube, which reads the contact persons from the superior sales order.

Boolean

Off

Eshop dimension to IOSale

If the parameter is set to On, the Internet shop dimension is added to the FaVyProdej cube.

Boolean

Off

Bank account dimension

If the parameter is set to On, the Bank account dimension is added to the FaVyProdej cube.

Boolean

Off

Measures Calculated measures

Dimensions Sales Orders Cube

This cube is similar to the FaVyProdej_All cube. However, it is not based on invoice items but on sales order items.

Another difference is in the definition of the time dimension. The way the date is filled for the Basic time dimension is set by the "ZakObjZakDatumRD" parameter.

The cube is created when the "ExportObjZak" parameter is activated; it can be found among the parameters of the PurchaseSale cube.

OLAP parameters of the Sales Orders cube:

Name

Description

Type

Value

ZakObjZakDatumRD

Method of filling the Basic time dimension.

On: first the confirmation date of the release note (ConfirmedOn) is taken from the item; if it is empty (the release note does not exist or is not confirmed), the reservation date (ReservationDate) from the item is used; if that is empty, the reservation date from the reservation note header is used; if even that is not available, the value from the Desired delivery (DesiredDeliveryDate) field of the item is used, and if even that is not entered, then from the Desired delivery (DesiredDeliveryDate) field of the sales order header.

 

Off: first the confirmation date of the release note (ConfirmedOn) is taken from the item; if it is empty (the release note does not exist or is not confirmed), then if an invoice exists for the item, the Ac. trans. date (AccountingTransactionDate) from the invoice header is taken; if there is no invoice, the value is loaded from the Desired delivery (DesiredDeliveryDate) field of the item, and if even that is not entered, then from the Desired delivery (DesiredDeliveryDate) field of the sales order header.

Boolean

Off

Potvrzenost v zakazkach

If the parameter is set to On, the Confirmation in sales orders dimension is added to the cube.

Boolean

Off

Shipping method

If this parameter is set to On, the Shipping method dimension is added to the Sales Orders cube.

Boolean

Off

Analytical months in sales orders

This parameter can be used to influence the way the Months dimension is calculated in the Sales Orders cube. The default value of the parameter is "CasM" - for calculation from the Basic time dimension. With the value "CasMDV", the calculation is based on the Issue date. A special field can also be entered here.

CasM

String

Delivery date in SO dimension

On: Creates a new time dimension in the Sales Orders cube according to the Desired delivery date. The value is read primarily from the item, and only if it is not entered, from the sales order header.

Boolean

Off

Delivery date weekly dimension

On: In the time dimension according to the Desired delivery date (see the parameter "Osa Datum dodání v Zak"), months are replaced by weeks (week number).

Boolean

Off

Measures

Dimensions

The individual dimensions are used to break down and filter the documents included in the calculation of measures. The dimensions are the same as in the FaVyProdej_All. cube. The following dimensions differ:

Warehouse Stock card cube

The Stock card cube is based on the basic stock documents, i.e. receipt cards, release notes, transfer notes and job tickets. It displays turnovers and balances of warehouses. The time dimension is based on the confirmation date of the documents.

OLAP parameters of the Stock card cube:

Name

Description

Type

Value

SkladKartaSarze

If the parameter is set to On, information from Batches is added.

Boolean

Off

SkladKartaZadano

If the parameter is set to On, the Assigned value as at the Current date is added.

Boolean

Off

Unit dimension

If the parameter is set to On, the Unit dimension is added.

Boolean

Off

TypDokladuSkladKarta

The Stock card also has a dimension for Export.

Boolean

Off

SkladPopis

If the parameter is set to On, warehouses will be displayed by name; if the value is set to Off, warehouses will be displayed by abbreviation.

Boolean

Off

Limit for loading detailed data

In the parameter, we enter the first date of the month from which turnovers are calculated from documents. Turnovers from previous periods are calculated from the turnover table.

Caution: when the parameter is on, the values in the measures expressing quantities and prices on documents (turnovers) do not contain data created before the entered date. The warehouse balance, however, is always correct - switching the parameter on is therefore suitable for cubes where we monitor only the Remaining stock measure.

 

Date

30.12.1899

Measures

Calculated measures

The result of calculated measures may be incorrect in some cases, because calculated measures may depend on the selected time dimension.

For a correct interpretation of these measures, it is important whether the time dimension is selected in the columns or in the filter. Imagine the following situation. We want to monitor the remaining stock quantity in the warehouse. The warehouse balance is defined as the sum of all movements for all days up to the last day of the displayed period. If, for example, we select the months time dimension and drag it to the column fields, then after restricting it to, for example, 16 Jan 2005, the balance is displayed not as at 16 Jan, but as at the end of the month, because the month is the displayed period. If we move the time dimension set in this way to the filters, the balance is really displayed as at 16 Jan. If we select more records in the filter, the balance cannot be calculated.

Another consequence of placing the dimension in the filter is that grand totals are not displayed. This may speed up the display of the given view.

Dimensions

The individual dimensions are used to break down and filter the documents included in the calculation of the individual measures. Using the dimensions, it is possible, for example, to split the total quantity in the warehouse into the quantities of the individual Article cards.

Stock Card 2 Cube

OLAP parameters of the Stock card 2 cube:

Name

Description

Type

Value

StockCard2

If the parameter is set to On, the Stock card 2 cube is exported.

Boolean

On

SkladKarta2Sarze

If the parameter is set to On, it adds information from batches to the cube (variant, quality).

Boolean

Off

SkladKarta2Dobr

If the parameter is set to On, the Credit notes dimension (receipts/issues) is added.

Boolean

Off

SkladKarta2Rada

If the parameter is set to On, the Book dimension is added to the cube

Boolean

Off

SkladKarta2Mesice

If the parameter is set to On, the Month dimension is added to the cube.

Boolean

Off

SkladKarta2KodZb

If the parameter is set to On, the Article code dimension is added to the cube.

Boolean

Off

SkladKarta2Stredisko

If the parameter is set to On, the Cost centre dimension is added to the cube.

Boolean

Off

Measures

Dimensions

Logistic Tasks Cube

The Logistic tasks cube displays statistics of performed logistic operations, drawing data from confirmed stock documents (receipt cards, release notes, transfer notes). This cube provides data on how many items or what weight the individual warehousemen processed, how much time was spent on these operations, which equipment is used most frequently for handling, and so on.

The cube is switched off by default. To use it, it must be activated in the OLAP - parameter settings function, which can be found in the tree menu under Managerial overviews / OLAP / OLAP parameters and calculation. In the Cube field, select the ".. all" record and find the "LogistickéÚlohy" record in the table. Move the active part of the cursor bar to the "Value" column and press Enter to change the value to "On".

OLAP parameters of the Logistic tasks cube:

There are no special parameters for this cube.

Measures Dimensions Costs and incomes

The Costs and incomes cube is based on items of invoices in and invoices out, advances received and provided and their deductions on invoices, internal documents, bank statements, other receivables and other liabilities, wages and cash documents that are not invoice payments. From wages, the gross wage and the statutory health and social insurance paid by the employer are loaded. Furthermore, other social costs, other personnel costs and the employer's statutory liability insurance recorded in the wage components 7902, 7730, 7700, 7720, 7810, 7820, 7830, 7840, 4301, 4302, 4303, 4304 and 9099.

For the time dimension, the Ac. trans. date is used for invoices, cash documents, bank statements, internal documents, other liabilities and receivables, and the processing month is used for wages.

OLAP parameters of the Costs and Incomes cube

Name

Description

Type

Value

NakladyVynosy

Parameter for creating the Costs Incomes cube.

Boolean

On

KodZaMzdy

For the Costs and Incomes cube, use the contract code for the wage part.

String

 

Measures

Dimensions

Purchase, Sale, Warehouse Cube

This cube was created by merging the cubes of invoices in, invoices out and the stock card. It therefore contains all measures and dimensions from these cubes. Drillthrough is set for the purchase measures.

OLAP parameters of the Purchase, Sale, Warehouse cube

Name

Description

Type

Value

TydnyNPS

If the parameter is On, a weekly time dimension is added to the Purchase, Sale, Warehouse, Activities cube.

Boolean

On

AltJedn

By entering a value, we add an alternative unit

String

 

CD1

On: creates the Customers1 dimension in the FaVyProdej and Sales Orders cubes, which reads customers from the delivery or invoicing address of the invoice / sales order, according to the setting of the general parameter "CD1 exportovat z dodací adresy".

Boolean

Off

PurchSaleStock

If the parameter is set to On, the NakupProdejSklad cube is exported.

Boolean

Off

Purchase and Sale Cube

This cube was created by merging the cubes of invoices in and invoices out. It therefore contains all measures and dimensions from these cubes. Drillthrough is set for the purchase measures.

The most important monitored values include the fields Quantity, Costs (based on the warehouse price), Turnover (based on the invoiced amounts), Number (number of invoice items).

OLAP parameters of the Purchase and Sale cube

Name

Description

Type

Value

Area

If the parameter is set to On, the Area dimension is exported.

Boolean

On

OblastPopis

If the parameter is set to On, Areas are displayed by Description, if the parameter is set to Off, Areas are displayed by Abbreviation.

Boolean

On

Territory

If the parameter is set to On, the Territory dimension is exported.

Boolean

On

RegionPopis

If the parameter is set to On, Territory is displayed by Description; if the parameter is set to Off, Territory is displayed by Abbreviation

Boolean

On

TypZboziPopis

If the parameter is set to On, Article type is displayed by Description; if the parameter is set to Off, Article is displayed by Abbreviation.

Boolean

On

KodZakazky

If the parameter is set to On, the Contract code dimension is exported.

Boolean

On

KodZbozi

If the parameter is set to On, the Article code dimension is exported.

Boolean

On

KodZakazkyPopis

If the parameter is set to On, Contract code is displayed by Description, if the parameter is set to Off, Contract code is displayed by Abbreviation.

Boolean

On

KodZakazkyLNamTempl

ContractCode_LNamTempl: Level naming template for Contract code

String

 

KodZakaznikuPopis

If the parameter is set to On, Customer code is displayed by Description; if the parameter is set to Off, Customer code is displayed by Abbreviation

Boolean

On

KodZakaznikuLNamTempl

CustomerCode_LNamTempl: Level naming template for Customer code

String

 

KodZboziPopis

If the parameter is set to On, Article code is displayed by Description; if the parameter is set to Off, Article code is displayed by Abbreviation.

Boolean

On

KodZboziLNamTempl

ArticleCode_LNamTempl: Level naming template for Article code

String

 

RadaNP

If the parameter is set to On, the Purchase/sale book dimension is exported.

Boolean

On

ZpusDopravy

If the parameter is set to On, the Method of transport dimension is exported.

Boolean

Off

ExportObjZak

On: Separate Purchase orders and Sales Orders cubes are created. These cubes are described in the chapters Purchase Orders Cube and Sales Orders Cube.

Boolean

On

Demo Views Purchase, Sale Purchase Purchased volume by suppliers

We will create a view that allows the company to monitor the purchased volume by suppliers.

Procedure

pic_1218

Picture: Purchased volume by suppliers

pic_1220

Picture: Purchased volume by suppliers

Comparison of suppliers by years

We will create a view that allows the company to compare suppliers by years.

pic_1220

Picture: Comparison of suppliers by years

Order of suppliers by turnover

We will create a view that allows the company to compare suppliers by turnover.

pic_1221

Picture: Table and chart of the order of suppliers by turnover

Stock balances

We will create a view that allows the company to display the stock balances of selected articles.

pic_1223

Picture: Stock balances

Sale Costs and incomes by articles

We will create a view that allows the company to compare costs and incomes by articles.

pic_1224

Picture: Costs and incomes by articles

Comparison of turnover by cost centres

We will create a view that allows the company to compare turnover by cost centres.

pic_1229

Picture: Comparison of turnover by cost centres

Order of territories by turnover

The view displays the order of territories by turnover.

pic_1230

Picture: Order of territories by turnover

Sale by contract codes

We will create a view that displays the sale by contract codes.

pic_1232

Picture: Table of sale by contract codes

pic_1233

Picture: Chart of sale by contract codes

Comparison of sale by dealer levels

The view displays a comparison of sale by dealer levels.

pic_1234

Picture: Comparison of sale by dealer levels

Book Contents

Book Index

Mobile Terminal Statistics Cube

The Mobile terminal statistics cube allows evaluating data recorded while working on logistic tasks using functions on mobile terminals. It draws data from the Mobile terminal statistics book.

OLAP parameters of the Mobile terminal statistics cube:

Name

Description

Type

Default value

MTStatisticCube

On: the Mobile terminal statistics cube is exported in OLAP.

Boolean

Off

Book Contents

Book Index

Wages Cube

The Wages cube allows evaluating data from the Wage and Personnel data modules. The end date of the wage period is used for the time dimension.

When starting K2 via Skriptex, it is necessary to set SCRIPTEXRDSON=1 in k2.ini or on the command line, which ensures that the registered functions for loading values into the Wages cube are run. The same applies to starting via the Task scheduler.

OLAP parameters of the Wages cube:

Name

Description

Type

Default value

PayrollCube

On: the Wages cube is exported in OLAP.

Boolean

Off

EmployeeGroupCount

Setting the number in the group.

Integer

500

Including uncomfirmed payroll periods

On: Both confirmed and unconfirmed payroll documents for the organization will be loaded.

Off: Only confirmed payroll documents for the organization will be loaded.

Boolean

Off

Only confirmed payroll documents

On: Only confirmed payroll documents of employees will be loaded.

Off: Both confirmed and unconfirmed payroll documents of employees will be loaded.

Boolean

Off

Measures - Wages Dimensions - Wages

Book Contents

Book Index

Production Cube

The Production cube contains data on planned and actual production. It draws data not only from job cards, but also from resource calendars or from sales, depending on the cube parameter settings. The most frequently monitored values are the measures of quantities, prices and operation times.

OLAP parameters of the Production cube:

Name

Description

Type

Default value

Production

On: the Production cube is created in OLAP. For this cube to be created with data, the parameter Do not load production data must be set to Off.

Boolean

Off

Do not load production data

On: Production data are not loaded and the Production cube cannot be built. The data in the Stock card cube will also be incomplete.

Off: Production data are loaded. This is necessary to be able to build the Production cube and for the completeness of data in the Stock card cube.

Boolean

Off

VyrobaSarze

On: information from batches is added to the cube (dimensions: Quality, VariantaTP, VariantaTP - product, Parameter 1-5, Parameter 1-5 - product).

For data on routing variants to be calculated, the "VariantyTP" parameter must be switched on at the same time.

For data on batch parameters to be calculated, the parameters "Vlastnost Sarzi 1 - 5" must be switched on at the same time.

Boolean

Off

VyrobaZkratka

On: the Abbreviation is displayed for products, resources and operations.

Off: the Description is displayed for products, resources and operations.

Boolean

Off

VariantyTP

On: the dimensions VariantaTP and VariantaTP - product are created in the cube. To create the dimension, the "VyrobaSarze" parameter must be switched on at the same time.

Boolean

Off

Product Group dimension

On: the dimensions Product group and Group of goods are created in the cube.

Boolean

Off

Product Code dimension

On: the dimensions Product code and Article code are created in the cube.

Boolean

Off

Vlastnost sarzi 1 - 5

On: a dimension for the specific article parameter(s) is created in the cube. The dimension thus represents the given parameter - e.g. the colour of products. The export of article parameters to individual dimensions is controlled by the setting on the Parameter card in the OLAP field. To create the dimension, the "VyrobaSarze" parameter must be switched on at the same time.

Boolean

Off

Production - Cost centre from item

On: the Cost centre dimension is filled from the item.

Off: the Cost centre dimension is filled from the header.

Boolean

Off

VýrobaRezervace

On: the Reservation date dimension is created in the cube. The data are evaluated as at the Date from in the job card header.

Boolean

Off

VýrobaČasVHodinách

On: time measures are presented in hours.

Off: time measures are presented in minutes.

Boolean

On

VýrobaKapacityZdrojů

On: makes the Capacity measure available with the capacity of resources (according to the resource calendar).

Boolean

Off

VýrobaVýrobníPříkaz

On: the Production orders dimension is created in the cube.

Boolean

Off

VýrobaSměna

On: the Work shift dimension is created in the cube.

Boolean

Off

Weekly time dimension in the Production cube

If the parameter is set to On, the Weekly time dimension is added to the Production cube.

Boolean

Off

Measures

If an alternative stock unit is entered in the "AltJedn" parameter (a parameter of the "NakupProdejSklad" section), quantity measures in the alternative unit are also offered (e.g. Pl quantity in alt UM). Zero values are displayed for items without this alternative stock unit.

Dimensions

Demo Views Production

We will create a view that allows the company to see the planned and actual price of articles.

Procedure

pic_1267

Picture: Chart comparing the planned and actual price of articles

pic_1268

Picture: Table comparing the planned and actual price of articles

Book Contents

Book Index

Accounting
General Ledger Cube

The General ledger cube is based on the items of the General ledger and, within the Accounts dimension, it contains not only the accounts of the chart of accounts, but also economic analyses and their rows.

In this cube, we can obtain information about movements on individual accounts or we can build economic analyses. Some dimensions are intended only for analyses (e.g. Kind of movement / Columns), while others are only for monitoring movements on accounts (Kind of movement / Dr and Cr - Turnovers) and the opening / closing balance on accounts (Kind of movement / Categories - Other). For the data on accounts to be loaded correctly, the view must have the Compatible Where condition option active.

No currency is set by default in the General ledger cube, so it must always be set when creating views. Drag the field Accounting currency to the filter and check the respective currency.

OLAP parameters of the General ledger cube:

Name

Description

Type

Default value

ExportAccDocItem

If the parameter is set to On, the Items of acc. doc. table is exported.

Boolean

On

ViewUcOsLNamTempl

ChartOfAc_LNamTempl: Level naming template for Chart of accounts

String

 

HKniha

If the parameter is set to On, the General ledger cube is added

Boolean

On

RadaUcto

If the parameter is set to On, the Accounting dimension is added to the cube

Boolean

Off

ExportUcetnichDokladu

If the parameter is set to On, the Accounting documents table is exported and in the General ledger the Drillthrough function is extended with the identification data of the original document.

Boolean

Off

HKnihaJenLogVyjimky

The parameter determines how to proceed in case of the "Long analysis" error: whether to only log it and continue the calculation, or to stop with an exception.

Boolean

Off

Id for identification of accounts

On: The Id (generated by the cube) is used to identify accounts / rows of economic analyses in the General ledger cube. Caution: After adding or removing rows in an economic analysis, renumbering may occur, and in saved views with a selection of specific rows, the rows selected this way may change.

Off: Accounts / rows of economic analyses are identified by their name.

Boolean

On

Druh_Uctovani

If the parameter is set to On, the Posting kind dimension is added to the cube.

Boolean

Off

Druh_Uctovani_Popis

If the parameter is set to On, Description is switched on for the posting kind; if it is set to Off, Abbreviation is switched on.

Boolean

Off

Accounting

If the parameter is set to On, the General ledger cube is exported without Economic analyses.

Boolean

Off

MěnaÚčetnictví

The parameter determines the default currency for accounting

String

[Měna účetnictví].[Měny].[All].[Kč]

TypDokladuHlavniKnihaPopis

The parameter determines whether the Description or the Abbreviation of the given type is displayed on the Document type dimension. If the parameter is set to On, the Description is displayed. By setting it to Off, we display the abbreviation.

Boolean

On

Account dimension with levels

Off: A separate account dimension will not be created. Only the Accounts dimension will be created, which allows displaying either economic analyses and their rows (without accounts), or, conversely, only accounts.

On: Adds a new Account dimension to the General ledger cube. This is a dimension that includes the individual levels of the chart of accounts, which can be used independently (e.g. to display only Classes and Synthetic accounts). Any account level can also be used, for example, when displaying economic analyses and their rows.

Boolean

Off

EA rows - Mark + paragraph + text

Identification of rows of economic analyses.

Off: The row of the economic analysis is presented as EA number/Line number + Text (example: 76/003 Production consumption).

On: The row of the economic analysis is presented as Row mark + Paragraph + Text (example: 003 A. Production consumption).

Boolean

Off

Measures

Dimensions

  1. Turnovers - for monitoring movements on accounts:
    • Dr op level, Dr total, Dr cl level,
    • Cr op level, Cr total, Cr cl level,
    • Annual balance – sum of turnovers from the beginning of the year including opening and closing operations.
  2. Columns – for monitoring analyses:
    • Column 1, 2, 3, 4 from the respective analysis.
  3. Other - for monitoring balances on accounts:
    • Sa – Turnover Dr-Cr,
    • KS – closing balance without a possible closing operation on the last day of the displayed period,
    • PS – closing balance in the previous year.

It should be noted that the definition of PS in IS K2 analyses corresponds to the calculated PS value in OLAP. However, because IS K2 uses PS as the opening balance on the account and OLAP uses it as the closing balance of the respective period of the previous year, there is sometimes a mismatch between the economic analysis in IS K2 (usually column 2 or higher) and the analysis in OLAP. The point is that IS K2 analyses use a mismatch between closing and opening on some accounts (e.g. for "431000 profit/loss in approval proceedings" the opening balance is used as "the difference between 5 and 6 in the previous year").

Demo Views General Ledger Balance sheet

This view displays the balance sheet in full.

pic_4328

Picture: Balance sheet

Profit and loss account

The view displays the profit and loss statement in full.

pic_4329

Picture: Profit and loss account

Accounting Cube

The Accounting cube is based on the items of the General ledger, but unlike the General ledger cube, it does not contain economic analyses.
In this cube, we can obtain information about movements on individual accounts.

The dimensions and measures are identical to the General ledger cube. The Accounts dimension does not contain analyses.

OLAP parameters of the Accounting cube:

Name

Description

Type

Value

MěnaÚčetnictví

The parameter defines the default accounting currency in OLAP.

String

 

Demo Views Accounting Accounting plan and actual

This view displays the planned amounts on accounts (entered in the accounting book for the plan – "P"), the actually posted amounts (from the accounting book "U"), and the Difference column shows the difference between the plan and the actual values.

pic_4330

Picture: Accounting plan and actual

Crediting Cube

The multidimensional Uverovani cube is based on Invoices in, Invoices out, Advances received, Advances provided and on the items of Cash documents, Bank statements and Internal documents that are payments of these documents. It examines business relations with customers from the point of view of the balance of invoices out and invoices in. The individual dimensions represent individual cross-sections of the cube. Movement and Amount are the monitored values when working with this cube.

Movement represents the turnover of invoices and their payments. Amount then represents the balance at the end of the monitored period. The currency is the basic currency of the company.

Frequently used dimensions include the Invoices dimension.

We can also evaluate the payment discipline of customers in terms of the amount of unpaid invoices or in terms of the number of days of delay in paying invoices. The Days for settlement dimension serves these purposes.

When using the Settled dimension, it is necessary to take into account the difference in the interpretation of the term "settled" in IS K2 and OLAP. In IS K2, an invoice is settled if a payment order has been issued. In OLAP, the term "settled" means an invoice that has already been "paid" (by a bank statement or a cash document).

OLAP parameters of the Crediting cube:

Name

Description

Type

Value

UverUhrazenostStruc

Description of the structure of the Settled/Unsettled dimension.

String

 

CD1Uver

If the parameter is set to On, the Subordinate customer dimension is added to the cube.

Boolean

Off

UverDnyDUZP

If the parameter is set to On, the Number of days Invoice date dimension is added to the cube.

Boolean

Off

ZodpOs - Uverovani

If this parameter is set to On, the Responsible persons dimension is displayed in the Crediting cube.

Boolean

Off

Measures

Calculated measures

These measures use the time dimension.

Dimensions

Cube - ÚvěrováníSKD

The UverovaniSKD cube is based on Invoices out, Invoices in, Advances received and Advances provided and on the items of documents that are payments of these invoices. This cube examines relations with customers from the point of view of the balance, and the individual evaluations can be displayed here according to the due periods of the specific documents.

OLAP parameters of the ÚvěrováníSKD cube

Name

Description

Type

Value

Due days - Lower limit

Lower interval which determines that all documents with a difference in days smaller than this limit will be marked with the description from the parameter Due days - Lower limit Description. E.g. "Long before the due date".

Integer

1

Due days - Upper limit

Upper interval which determines that all documents with a difference in days greater than this limit will be marked with the description from the parameter Due days - Lower limit Description. E.g. "Long time after the due date".

Integer

360

Due days - Lower limit - Description

Description for the Lower limit, e.g. "Long before the due date".

String

 

Due days - Upper limit - Description

Description for the Upper limit, e.g. "Long time after the due date"

String

 

Measures - Crediting SKD Dimensions - Crediting SKD Bank Statements and Cash Documents

The BalBankCash cube is based on the items of bank statements and cash documents. The payment date is used for the time dimension. The values are given in the basic currency of IS K2.

OLAP parameters of the Bank statements and cash documents cube:

Name

Description

Type

Value

BanPok

If the parameter is set to On, the Bank accounts and cash registers dimension is switched on in the cube.

Boolean

Off

RadaNPPopis

If the parameter is set to On, the Confirmation in sales orders dimension is added to the cube.

Boolean

Off

Measures

Calculated measures

These measures use the time dimension.

Dimensions

Call Centre Cube

The Call centre cube can be used to evaluate call centre data. It draws data not only from call centre records, but also from attached marketing information.

OLAP parameters of the Call centre cube:

Name

Description

Type

Default value

Kontaktni centrum

If the parameter is set to On, the Call centre cube is exported.

Boolean

On

Measures - CALL CENTRE Calculated measures - CALL CENTRE Dimensions - CALL CENTRE
Application Statistics Cube

This cube is used to evaluate the results of application statistics. It provides a clear evaluation of the number of runs of the monitored actions.

OLAP parameters of the Application statistics cube:

Name

Description

Type

Default value

Application statistics

If the parameter is set to On, the Application statistics cube is exported.

Boolean

Off

Measures - APPLICATION STATISTICS Dimensions - APPLICATION STATISTICS
Shopping Basket Cube

This cube can be used to evaluate data on shopping baskets realized within the e-shop.

Name

Description

Type

Default value

E-shop Shopping Basket Cube

If the parameter is set to On, the Shopping basket cube is exported.

Boolean

Off

Measures - SHOPPING BASKET Dimensions - SHOPPING BASKET
Project Work Report Cube

This cube can be used to evaluate projects and project work reports. To include this cube in the evaluation, the OLAP parameter ProjectCube must be set to On.

Measures - PROJECT WORK REPORT Dimensions - PROJECT WORK REPORT
Consolidation of Own Companies

Consolidation makes it possible to use OLAP and evaluate data across own companies, even if these own companies are kept and issue documents in different currencies.

The principle of such consolidation lies in determining the consolidation exchange rate. It must be entered in the Own companies administration book on the Consolidation exch. rate tab.

pic_5022

Picture: Consolidation exch. rate in the Own companies administration book

This exchange rate is entered for a specific date and is then used to convert the values of consolidation measures to the main currency of the client.

Further prerequisites for using consolidation are the settings of OLAP parameters. The Display own companies parameter must be set. A new dimension for evaluation across own companies is then included in OLAP. Another parameter that must be set is Accept multiple currencies in the client. Consolidation measures are then included in several OLAP cubes (Invoices out sale, Invoices in purchase, Sales Orders, Purchase orders, General ledger).

pic_5023

Picture: Consolidation measures in the InvOutSale cube

These measures are converted to the main currency of the client so that, within views, values can be compared across own companies and in the same basic currency. The measures are always converted by the consolidation exchange rate with the corresponding date. So if a time dimension is used in the view, the value corresponds to that period.

pic_5024

Picture: View with a consolidation measure

Consolidation of Companies

Consolidation of companies allows evaluating IS K2 data for all branches in one place, or comparing these branches with each other. In IS K2, it is possible to consolidate the cubes Sale, Sales Orders, Purchase, Crediting, HlKniha, StockCard.

The prerequisite for Consolidation of companies is a main client (parent company) and a secondary client (e.g. a branch). Consolidation is based on the code lists of the main client and everything takes place in one database.

Procedure:

Additional values dimension

The Additional values dimension is available in all cubes. Additional values are a special kind of calculated fields. We can add the Additional values dimension to rows or columns, but it makes no sense to put it in the filter. Additional values display the state of any selected measure in terms of changes over time. The time dimension is used in the calculation, so other dimensions derived from the time dimension cannot be used.

Virtual dimensions

Virtual dimensions are created from specific physical dimensions. If a physical dimension is available in the given cube, its virtual dimensions are also accessible there. It is therefore enough to switch the dimension on once; then, for example, a dimension based on the Article dimension will be available in all cubes with the Article dimension. A virtual dimension is not connected directly to the given cube, but depends on the dimension from which it was created. It is therefore not necessary to create a new table and fill it during export; existing data tables can be used instead. Some dimensions are conditional on the setting of an OLAP parameter.

Virtual dimensions should not be used in combination with the dimensions from which they were created. In these cases, situations may occur where the MDX query communicating with the Analytical database is not translated optimally. This may lead to unexpected results (e.g. the same numbers in the table).

An example of a problematic combination of a classic and a virtual dimension is a situation where the virtual dimension is placed in the Filter and its source dimension is inserted into a Row or Column. In this case, Drillthrough does not display the detail, but an IS K2 error message.

pic_2852

Picture: Error message during Drillthrough

The solution in this case is to move the virtual dimension from the filter to a column or row.

A pitfall of using virtual dimensions may be the fact that these dimensions cannot be hierarchical (see the TypeH and TypN dimensions based on the Article dimension).

List of standard virtual dimensions:

Virtual dimensions from the Article dimension:

Virtual dimensions from the Subordinate documents dimension:

Virtual dimensions from the Partners dimension:

Virtual dimensions from the DocumentsByMaturityDate dimension:

Virtual dimensions from the OpenItemListAsAt dimension:

Virtual dimensions from the Basic time dimension:

Virtual dimensions from the Date of issue dimension: