Managerial overviews
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:
- OLEDB provider 10.0 corresponding to Microsoft SQL Server 2008 R2. In the Connection string, "Provider=MSOLAP.4" must be set.
- OLEDB provider 12.0 corresponding to Microsoft SQL Server 2014. The tested version is 12.0.5000.0. In the Connection string, "Provider=MSOLAP.6" must be set.
- OLEDB provider 13.0, corresponding to Microsoft SQL Server 2016. The tested version is 13.0.2164.0. In the Connection string, "Provider=MSOLAP.7" must be set.
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.

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.
- It must be assigned the Act as part of the operating system right (Act as part of the operating system) in the Local Security Policy. This right allows so-called impersonation, where the domain account under which the AS runs is swapped for the account of another domain user in the currently running thread.

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

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:
- In the Users book, the Abbreviation of each user who will use BI (dashboards, pivot table) must be named according to the domain login of this user. The prerequisite is, of course, that these users exist in the domain.
- Another condition is that these users must have the Authentication with AD option checked in the Users book. From that moment on, login to both desktop and web K2 will take place using the domain name and domain password. These users will therefore no longer use their defined K2 password.

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:
- When deploying BI analytical models, point 5 serves only as a check, because the settings are made by installing the model, see point 4.
- It must be assigned to the "Admin" role (applies to the tabular analytical model) or "K2All" (applies to OLAP) (in SQL Server Management Studio, after connecting to the analysis server, expand the server -> expand Databases -> on the target database expand Roles -> right-click the "Admin" or "K2All" role -> Membership).

Picture: Assigning the domain account to the Admin group
- It is also possible to set this account as "server administrator" on the SSAS instance of the SQL server where the analysis services run (in SQL Server Management Studio , after connecting to the analysis server, right-click the server name -> Properties -> Security). In this case, however, this domain account will see all databases on this server. For OLAP, this setting may make sense if the "K2All" role does not help; however, this procedure is not recommended for the tabular model.

Picture: Setting the domain account as "server administrator" on the analysis server
- The settings for the data warehouse of the new BI (Dwh database) are made during the installation of the analytical model, when the appropriate rights and roles are assigned. For this purpose, the Installation of analytical models form in K2 is used, with the 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). If the domain account in the Windows service account used by the BI solution field differs from the domain account under which the AS runs, this domain account of the application server must be mapped to the data warehouse database. So if no login exists on the SQL server for this domain account, it must be created and mapped to the data warehouse database with the "db_owner" role. It must also be mapped to the SSISDB database with the "ssis_admin" role.
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.
- If all these services run on a single Windows server, nothing more needs to be configured and everything should work.
- If the individual ASs run on one or more servers and the SQL analytical database together with the data warehouse runs on another server, so-called Kerberos must be configured. It is a part of Active Directory that allows the user identity to be passed and delegated from one server to another. Without this configuration, BI cannot be used in web K2.
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:
- If all these services run on a single Windows server, nothing more needs to be configured and everything should work.
- If the individual ASs run on one or more servers and the SQL analytical database together with the data warehouse runs on another server, so-called Kerberos must be configured. Without this configuration, BI recalculation will not work.
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.
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.
K2 OLAP management extension
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:
- Option to predefine the required outputs and views.
- Evaluations can run in the background independently of the operation of the information system itself.
- 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. |
|
Icon of a parameter that switches the export of a dimension on or off. |
|
Icon of a parameter that sets any function other than those listed above. |
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.

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 |
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
- In the Data source, we select the InvOutSale cube.
- In the list of fields, we select the Turnover in currency measure, insert the Article-book dimension into the row fields and the Currencies dimension into the column fields.
- We insert the Years dimension into the filter.
- In the Currency dimension, we select the currencies EU and Kč, and in the Years dimension we select the year 2010.

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
- In the Data source, we select the InvOutSale cube.
- In the list of fields, we select the Turnover measure, insert the Article-book dimension into the row fields and the Currencies dimension into the column fields.
- In the filter of the Currency dimension, we select the SK currency.

Picture: View Turnover of sold articles by the selected currency
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.

Picture: Button for displaying and selecting dimension elements

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.

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

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).

Picture: Found customer elements marked with an asterisk

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.

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).

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.
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.

Picture: List of defined roles

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.

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.

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.
.
Picture: Restricting dimensions to specific elements

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.

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.

Picture: Restriction of displayed measures
Restrictions for individual measures are inserted using the Insert key. Only one row can be defined for each cube.

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:
- OLEDB provider 10.0 corresponding to Microsoft SQL Server 2008 R2. In the Connection string, "Provider=MSOLAP.4" must be set.
- OLEDB provider 12.0 corresponding to Microsoft SQL Server 2014. The tested version is 12.0.5000.0. In the Connection string, "Provider=MSOLAP.6" must be set.
- OLEDB provider 13.0, corresponding to Microsoft SQL Server 2016. The tested version is 13.0.2164.0. In the Connection string, "Provider=MSOLAP.7" must be set.
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.

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
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
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. |

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.

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
After selecting the data source, the pivot table environment is always displayed. The Drag areas in this environment will be completely empty.

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.
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.

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:
- a standard measure that is part of a cube or an IS K2 table.
- a calculated measure on the server. For this type of measure, the record detail (drillthrough) cannot be displayed.
- 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:
- 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.
- 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.

Picture: Using the entire dimension hierarchy in a view
- 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.

Picture: Using dimension attributes for a report
- 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.

Picture: Using a dimension attribute
- 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.

Picture: Using single-layer attributes in a view
- 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.

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.
Provides basic information about the view (pivot table).

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.

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.

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.

Picture: Other options for working with a dimension in the pivot table
- Remove item: this option removes the dimension from the pivot table.
- Collapse all: this option collapses all levels of the given dimension.
- Show sum: option for displaying sums at individual levels in the view. It can be applied to each level separately. The function is available only on specific dimension attributes (green icon). It can therefore happen that the display of the sum on the main level of the dimension is switched on and yet the sum is not visible. The reason is that it has been switched off using the icons.
- Sort and filter: allows you to sort the dimension data alphabetically or by the values of a specific selected measure. When sorting by a measure, the records are sorted by the total value of the row - this method therefore cannot be used to sort by the value of a specific column (e.g. if the measure is broken down into several columns by years). To sort the rows by the values of a measure in a specific column, you must open the menu using the right mouse button over a measure cell in the specific column and select the Sort by this column function. If the records are sorted by the value of a measure, you can further choose whether you want to display all records or only a selected number of the first / last records (the First N / Last N menu). Using the Default sorting by data source option, we restore the original sorting of the dimension defined by the program.
- Split into levels: clicking this option displays all levels of the used dimension. Here we can select the level to which this dimension can be further expanded in the view. So if another dimension is placed in the view after the given dimension with the breakdown setting, the first dimension stops breaking down at the selected level and the second dimension starts breaking down immediately. If there is only one dimension in the view, this restriction does not apply.
Example: If we set the breakdown to the Quarter level for the Basic time dimension, the dimension will not be broken down further into Months and Days; instead, the next dimension in order will be broken down.

Picture: Basic time dimension - breakdown restricted to the Quarter level
- Anchor according to this column: anchors the table for horizontal scrolling according to the selected column. The columns to the right of the anchored column will scroll together with the data columns.
- Change custom name: option for changing the name of the dimension in the view.
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.
- We can set one of the defined value display formats for a measure.
- Show as: the values of a measure can also be displayed as percentages of the whole (% of row total / of column total / of grand total / of parent row total / of parent column total). Selecting each of the options adds a column with a new measure containing the corresponding percentage of the value of the original measure. The original measure column remains in the view, but it can be removed (removing it does not affect the future calculation of the percentage values).
- Sort by this column: if columns are also defined in the view, the rows of the table can be sorted by the values of a specific column. Sorting the rows by the grand total of the row is done by opening the context menu with the right mouse button over the header of the dimension placed in the rows, choosing Sort and filter - Descending/Ascending - By measure value and selecting the required measure.
- Change custom name: allows you to rename the original name of the measure to your own.
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.

Picture: Searching for elements in a dimension
The elements matching the search conditions are displayed in a new form.

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.

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.

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.

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.

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.

Picture: Expanded element tree after searching for an element beyond the first thousand elements
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.

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.

Picture: User name of the dimension
After confirming the settings with the OK button, the user description is added to the view.

Picture: Modified user name of the dimension in the view
The pivot table contains other functions that are available using the buttons in the browser header (blue top bar).
Back - button for undoing an action by one step.
Display ruler - button for displaying a ruler in the pivot table view.
Show empty rows - using this button, the display of empty rows can be switched on or off in the view.
Show empty columns - using this button, the display of empty columns can be switched on or off in the view.
Adjust column width – the column width can be changed by the user. Using this button, we return all changes made to the default state.
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.
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.
Conditional formatting - button for starting the conditional formatting function of the pivot table.
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.
Export to Excel - exports the view to Excel while preserving all cell formatting.
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.
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.

Picture: Form for editing the pivot table
Reload - refreshing the view.
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.
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.
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 definition using other measures, mathematical operators and constants;
- a custom MDX query.
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.

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.

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.

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.

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:

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.

Picture: Form for creating a custom calculated measure using an MDX query
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.

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.

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.

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.
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.

Picture: Right mouse button context menu
Then a form for specifying the e-mail message is displayed.

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.
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.

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.

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:
- if it is a calculated measure.
- if it is an analysis.
- when additional values are used.
- for virtual cubes (possible, but the columns must be adjusted).
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
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.

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.

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.

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.

Picture: Pivot table with conditional formatting applied
The conditional formatting function is opened using the
icon, which is available in the pivot table header. A form for inserting formatting conditions is displayed.

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:
- Measure default values - setting the default formatting for the selected measure.
- Comparing the measure with the constant - a formatting rule based on comparing a measure with an entered constant, e.g. Turnover is greater than 100,000.
- Compare measure with measure - compares the values of two measures in the pivot table, e.g. Turnover vs. Costs.
- Comparison whether the measure value is in the interval of two constants - comparing a measure within two entered constants.
- Comparison whether the measure value is in the interval of two measures - comparing a measure within two other measures.
- Colour selected members - this rule allows colouring or formatting only selected elements of a dimension. The Selected members button is available here, which displays all elements of the selected dimension. Here it is then possible to check these elements and thus assign them to the formatting.
After selecting the required rule, another form for specifying the formatting condition is displayed.
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.

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
icon and then the Save as option. A form is displayed in which some aspects of the view can be filled in.

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
icon.

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
icon.
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
icon and then the Administration of views option.

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.
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
icon and then the New pivot table option.

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.

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.

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
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.

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.
The context menu of the pivot table in an IS K2 book also offers the New based on table columns option.

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.

Picture: Pivot table with inserted columns (Sales Orders)
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.

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:
- The first is the Excel icon, which exports the displayed data as a pivot table. In this case, the table can be updated directly from Excel (it is not necessary to generate the table again from the OLAP browser).
- The second way is to export using the print icon. This way we get only the resulting table in Excel without a link to the data in OLAP. Its layout corresponds exactly to the layout we see in IS K2.
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.
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 |
- QuantityInv - quantity of invoices.
- CostInv - 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 - the 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.
- TurnoverInv - 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 Opp - from the opportunity header.
- Number of partners - number of distinct partners.
- Number of sales orders - number of distinct sales orders.
- Number of articles - number of distinct articles.
- Last volume - this is the volume value of individual activities which, unlike the Volume Act measure, allows monitoring its development over time. The Last volume 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).
- Probable volume - the expected volume (amount) of the deal.
- Estimated last volume - this is the volume value from the last activity in the given period.
- Evaluation - based on the Evaluation field, which is available for the activity type. It is used for evaluating marketing activities; staff performance or the effectiveness of marketing campaigns is monitored.
- Line of business - the field in which the given partner operates. When using this dimension, it is necessary to bear in mind that a partner can be assigned to several lines of business. In views, however, this fact will not affect the grand total, which will then not correspond to the sum of the values in the pivot table.

Picture: View - multiple lines of business on the partner card
- Status - status of the deal in progress.
- Basic time dimension - time period. The dimension is based on the Date From stated in the activity.
- DayW - displays the name of the day of the week according to the entered user date.
- Execution date - execution date of the activity.
- Additional values - see the chapter Stock card - Additional values.
- Campaigns - displays all activities by campaign.
- Contract code - contract code from the document item. The contract code can have a tree structure – it is therefore easy to display the sum for a group of contract codes.
- Code1, Code2 - the respective codes from the document.
- Contact persons - contact persons.
- Months - displays all selected months regardless of the year.
- Area, Territory - displays the area and territory from the customer.
- Partners - displays the partner according to the activity.
- Status - status of the activity.
- Class - class from the partner.
- Confirmation - confirmed activities.
- Probability of execution - probability of the deal being executed.
- Opportunities - displays all activities by opportunity.
- Type of activity - displays all activities by type.
- Responsible persons - displays all activities by opportunity.
- Employee - officer from the activity.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
- Specification - the Specification field from the activity. This is a dimension that has two levels, Type of activity and Specification.
The cube is based on Opportunities in marketing. For the time dimension, the Execution date of opportunities is used here.
- Costs - costs of the opportunity. Calculated from the Cost price field.
- Number - number of opportunities.
- Volume - volume value of individual opportunities. It is calculated from the Volume field of the given opportunity.
- Average probability of execution - probability of execution calculated as an average for the selected group of opportunities (e.g. the partner's opportunities).
- Basic time dimension - time period. It is based on the Execution date of the opportunity.
- DayW - displays the name of the day of the week according to the entered user date.
- Date from - Date from from the opportunity.
- Date to - Date to from the opportunity.
- Contract code - contract code from the opportunity. The contract code can have a tree structure – it is therefore easy to display the sum for a group of contract codes.
- Competency - based on the Competency field in the opportunity.
- Months - displays all selected months regardless of the year.
- Urgency - based on the Urgency field in the opportunity.
- Partners - displays the partner according to the opportunity.
- Class - the Class field from the partner.
- Confirmation - evaluates the confirmation of the opportunity.
- Probability of execution - probability of execution of the opportunity.
- Opportunities - individual opportunities.
- Origin - based on the Origin field in the opportunity.
- Status - based on the Status field in the opportunity.
- Cost centre - based on the Cost centre field in the opportunity.
- Type - type of the opportunity.
- Status of partner - based on the Status field of the opportunity partner.
- Winning partner - value from the Supplier field of the opportunity.
- Winning product - value from the Winner field of the opportunity.
- Responsible persons - displays opportunities by Responsible persons.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
- Reasons- reason for winning or losing the opportunity. It is based on the Reason field in the opportunity.
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). |
|

Picture: Selecting a demo view
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.
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:
- In the Data source, we select the Activities cube.
- In the list of fields, we select the Number item, and into the row fields the Responsible persons, Types and Partner fields. Into the column fields, we then select the Years field.
- We drag the Basic time dimension field into the filter and check the value 2004.

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.

Picture: Chart monitoring the frequency of sales representatives' activities
The view displays the numbers of all activities by individual Line of business and Area.
Description
- In the Data source, we select the Activities cube.
- In the measures, we select the Number of partners item.
- In the list of fields, we select the Line of business and Territories items and insert them into the row fields.
- We insert the Responsible persons item into the column fields.

Picture: Table of the number of companies by lines of business and areas
Procedure
- In the Data source, we select the Activities cube.
- In the list of fields, we select the Difference, Volume Act and TurnoverInv measures and insert the Partner and Code group items into the row fields.
- We insert the Basic time dimension item into the filter.

Picture: Table comparing planned and invoiced purchases

Picture: Chart comparing planned and invoiced purchases
With this view, we can observe the distribution of sales representatives' activities in the months of 2009 for selected responsible persons.
Procedure
- In the Data source, we select the Activities cube.
- In the list of fields, we select the Number measure, insert the Types item into the row fields and the Months item into the column fields.
- We insert Responsible persons into the filter.

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

Picture: OLAP view - Chart of the distribution of activities in the months of the year
Using this view, a company can compare the activities of its sales representatives in a given year.
Procedure
- In the Data source, we select the Activities cube.
- In the list of fields, we select the Number item, and into the row fields the Responsible persons and Years fields.
- Into the column fields, the Activity types field.

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

Picture: Chart comparing sales representatives' activities by years
Procedure
- In the Data source , we select the Activities cube.
- In the list of fields, we select the Last volume and Probable volume items. Into the row fields, we insert Opportunity, Days (Basic time dimension), Percentage (Probability of execution).

Picture: OLAP view - Table of top opportunities by probable volume
Purchase, Sale, Warehouse, Costs and Incomes, Purchase orders, Sales Orders
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 |
|
- PQuantity - quantity from the invoice item in the basic stock unit.
- PWeight - weight from the Article card multiplied by Quantity.
- PTurnover - invoiced amount of the item.
- PCost - warehouse price from the item.
- PCount - number of invoice items.
- PNumber of days - number of different invoicing days (by invoice date).
- PNo of firms - number of different customers/suppliers.
- PNo of articles - number of different articles.
- Article – according to the OLAP parameter settings. Dimension by article abbreviation or name.
- Article category – description of the article category (material, semi-finished product).
- Article type – article type (stock item, non-stock item, packaging).
- Product groups – product group from the selling price of the article.
- Optimal supplier – optimal supplier of the given article.
- Group of goods – group of goods from the article on the document.
- Article brand – brand of the given article.
- Customers – customer stated on the document.
- Customers1 – addressee stated on the given document, or Parent co. (according to the OLAP parameter settings).
- Group of customers – customer group from the document.
- Territory, Area – territory and area from the customer card.
- Device - device stated on the document
- Warehouse – warehouse stated on the invoice item.
- Employee – employee stated on the given stock document.
- Credit notes – displays Yes if the document is a credit note; No if it is not. As mentioned above, dimensions only filter and break down documents. If we set a period filter and the credit notes dimension, we will see credit notes created in the given period, not credit notes for documents created in the given period.
- Contract code – contract code from the document item. The contract code can have a tree structure – so it is easy to display the sum for a group of contract codes.
- Article code – article code from the Article; card; again it has a tree structure.
- Customer code – customer code from the document item (it has a tree structure).
- Invoice in status – status of the invoice in document from the document header
- Cost centre – cost centre from the document item (it has a tree structure).
- Time dimension, months, Weekly time dimension, Day of the week – the date is taken from the invoice date of the document.
- Months, Day of the week – value calculated from the Time dimension.
- Code 1, Code 2 – the respective codes from the document.
- Routing variant – routing variant from the assigned batch on the document; if no batch is entered, the field is empty.
- Quality – characteristic of the article batch; it is obtained in the same way as the Routing variant.
- Books of PS – contains the books of purchase.
- Books of purchase - the dimension is created when the "RadyN" parameter is on. A more detailed description of the dimension content is given for the parameter.
- Method of transport, Form of order – bound to the invoice headers.
- Additional values – see chapter Stock card - Additional values.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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):
- first the confirmation date of the receipt card is taken - if it is empty (the document does not exist or is not confirmed), the issue date of the invoice in (DVyst) is used, then the delivery date from the purchase order (DDod),
- first the confirmation date of the receipt card is taken - if it is empty, the date of the delivery confirmation (DPrev) is used; if that is empty as well, the delivery date from the purchase order (DDod) is taken.
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 |
- POQuantity - quantity from the invoice item in the basic stock unit.
- OHmotnost - weight from the Article card * Quantity.
- POTurnover - invoiced amount of the item.
- OObratP - purchase order price from the item.
- POCost - warehouse price from the item.
- PONumber - number of invoice items.
- PONumber of days - number of different days (the date is the same as for the time dimension).
- PONo of firms - number of different customers/suppliers.
- PONo of articles - number of different articles.
- PONumber of orders - number of different purchase orders.
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:
- Existence of invoice – depending on the status of the respective document, it takes the values: Exists, Does not exist, Confirmed.
- Data such as Form of order or Method of transport are taken from the purchase order, not from the invoice.
- Shipping method - shipping method from the purchase order.
- Order status - status of the purchase order document from the document header
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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 |
- Price for working days - price recalculated to 21 working days in a month (Turnover multiplied by 21 divided by (number of working days in the month)).
- Quantity - quantity from the invoice item in the basic stock unit.
- Catalogue price - catalogue price from the article card.
- Cost price - cost price from the sale items multiplied by the quantity
- Costs - warehouse price from the item.
- Turnover - invoiced amount of the item.
- Number - number of invoice items.
- Number of days - number of different invoicing days (by invoice date).
- Number of firms - number of different customers/suppliers.
- Number of sales orders - number of different sales orders (different book and number).
- Number of articles - number of distinct articles.
- Profit - Turnover minus Costs.
- Price for working days - price recalculated to 21 working days in a month (Turnover*21/(number of working days in the month)).
- Article – according to the dimension parameter settings; by article abbreviation or name.
- Article category – description of the article category (material, semi-finished product).
- Article type – hierarchical dimension Article type from the virtual dimension TypeH. The dimension can be switched on by a parameter in OLAP. (stock item, non-stock item, packaging).
- Product groups – product group from the selling price of the article.
- Bank account – bank account from the document
- Optimal supplier – optimal supplier of the given article.
- Group of goods – group of goods from the article on the document.
- Internet shop - if the document is linked to a document created from the e-shop
- Article brand – brand of the given article.
- Customers – customer stated on the document.
- Customers1 – addressee stated on the given document.
- Group of customers – customer group from the document.
- Territory - dimension with the structure Country - Region - Territory from the Territory code list from the customer card. For the Country - Region - Territory structure to be created, the abbreviations of the region and territory must begin with the letters of the country abbreviation, and the territory abbreviation must be identical to the region abbreviation up to the fifth character and contain further character(s). By default (see the general OLAP parameters "Regiony_..."), the country abbreviation has 2 characters, the region 5 characters and the territory 6 characters (according to the CZ-NUTS classification).
- Area – area from the Area code list from the customer card.
- Device - device stated on the document.
- Warehouse – warehouse stated on the invoice item.
- Employee – officer from the invoice item / header. Creation of the dimension is switched on by the general parameter "Pracovník".
- Credit notes – displays Yes if the document is a credit note; No if it is not. As mentioned above, dimensions only filter and break down documents. If we set a period filter and the credit notes dimension, we will see credit notes created in the given period, not credit notes for documents created in the given period.
- Posting kind – the posting kind is affected by the Posting kind parameter. The posting kind is loaded from the article card or from the batch; if the posting kind is stated on the batch, it takes precedence over the article card.
- Contract code – contract code from the document item. The contract code can have a tree structure – so it is easy to display the sum for a group of contract codes.
- Article code – article code from the Article document items (again it has a tree structure).
- Customer code – customer code from the document item (it has a tree structure).
- Contact persons - contact person from the superior sales order. Creation of the dimension is switched on by the parameter "Osa Kontaktní osoba do FaVyProdej".
- Invoice out status – status of the invoice out document from the document header.
- Cost centre – cost centre from the document item (it has a tree structure).
- Time dimension, months, Day of the week – this dimension is based on the Ac. trans. date (DVyst).
- Months, Day of the week – value calculated from the Time dimension.
- Code 1, Code 2 – the respective codes from the document.
- Routing variant – routing variant from the assigned batch on the document (if no batch is entered, the field is empty).
- Quality – characteristic of the article batch; it is obtained in the same way as the Routing variant.
- Books of PS – contains the books of sale.
- Method of transport, Form of order – bound to the invoice headers.
- Price group – Price group from the document (formerly the term dealer category was used).
- Existence of delivery note, reservation note, stock document, purchase order in – depending on the status of the respective document, it takes the values: Exists, Does not exist, Confirmed, 1st confirmation (first confirmation of the stock document).
- Subordinate documents – dimension for the combination of existence of subordinate documents ('D' delivery note, '0' does not exist, '1' exists, '2' confirmed, 'F' invoice, 'S' release note, 'R' reservation note, 'O' order).
- Form of order, Method of transport – from the invoice headers.
- Additional values – see chapter Stock card - Additional values.
- Responsible person – Responsible person defined on the card of the Partner that belongs to the Customer from the invoice. Creation of the dimension is switched on by the parameter "ZodpOs - FaVyProdej".
- Customer1 – in the Customer1 dimension, it creates a dependency directly on the superior customer (the CD1 field). To be able to evaluate the superior customer in OLAP, the CD1 parameter must be switched on, otherwise the Zakaznik1 dimension is not generated.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
- Sales order status - data will be broken down in the individual views according to the sales order status on the document.
- Books of sale - the dimension is created when the "RadyP" parameter is on. A more detailed description of the dimension content is given for the parameter.
- Parameter 1-5: dimensions according to batch parameters; only when the parameters "VyrobaSarze" and "Vlastnost sarzi 1-5" are activated (the parameters are placed under the "Production" 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 |
- SOQuantity - quantity from the invoice item in the basic stock unit.
- CWeight - weight from the Article card multiplied by Quantity.
- SOTurnover - invoiced amount of the item.
- ZObratPL - sales order price.
- SOCost - warehouse price from the item.
- ZNákladyPL - planned warehouse price from the item.
- SOProfit - Turnover minus Costs.
- Number - number of invoice items.
- Number of days - number of different invoicing days (by invoice date).
- Number of firms - number of different customers/suppliers.
- Number of articles - number of distinct articles.
- Number of sales orders - number of different sales orders (different book and number).
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:
- Basic time dimension - The rule for filling is set by the "ZakObjZakDatumRD" parameter.
- Issue date - sales orders are placed in the time dimension according to their issue date.
- Months - Analytical dimension for months regardless of the year. Using this dimension makes sense only in combination with the Basic time dimension, when values can be monitored by month (each month is a column), and within the column the rows are broken down into years. The assignment of a month to a year is determined by the parameter "Analytical months in sales orders".
- Existence of invoice – depending on the status of the respective document, it takes the values: Exists, Does not exist, Confirmed, Cancelled.
- Data such as form of order or method of transport are taken from the sales order, not from the invoice.
- Shipping method - shipping method from the sales order.
- Own companies - displays the own companies of the client. The data in the individual views will be broken down according to these companies. The Shared part shows data from the common books of the own companies.
- Status - sales order status.
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 |
- MPreP - quantity on transfer notes (receipt part).
- MPreV - quantity on transfer notes (issue part).
- MPri - quantity on positive receipt cards, job ticket headers (product) and negative job ticket items (receipt).
- MPriD - credited documents from MPri.
- MVyd - quantity on positive release notes and positive job ticket items (consumption).
- MVydDD - credited documents from MVyd.
- MPreP, MPri, MPriD, MVyd, MVydD in kg - quantity corresponding to the previous fields, but converted to weight.
- StQuantity - sum of receipts minus sum of issues (MPri+MPriD-MVyd-MVydD+MPreP-MpreV).
- StWeight - sum of receipts minus sum of issues converted to weight.
- Price - sum of receipts minus sum of issues in CZK.
- StCount - number of stock document items.
- SZadano - sum of receipts minus sum of issues on unconfirmed documents – as at the export date.
- CVyd - the same data as in MVyd, but the price is displayed.
- CVydD, CPreP, CPreV, CPri - similarly to CVyd.
- Stock cover in days - Remaining stock divided by the average daily issue for the period. The average daily issue is the Quantity on release notes + Quantity on negative release notes for the period divided by the number of days in the period.
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.
- Remaining stock value - remaining stock value as at the last day of the displayed period – i.e. the sum of Price for all days with turnover up to the last day of the displayed period.
- Remaining stock - remaining stock quantity as at the last day of the displayed period – i.e. the sum of StQuantity for all days with turnover up to the last day of the displayed period.
- Remaining stock in kg - similarly to the previous balances.
- Average remaining stock - sum of remaining stock quantities / number of days with movement in the selected period.
- Average remaining stock value, quantity in kg - similarly to the average remaining stock.
- January – December price - average remaining stock value / number of days with movement.
- Accounting price - the measure expresses the remaining stock value. However, if it is used in combination with the Warehouse dimension at its lowest level (Leaf warehouse), the value is obtained by calculation. From the superior node (Accounting warehouse), the unit price is obtained as the ratio of the Remaining value and the Remaining quantity. This price is multiplied by the Remaining quantity at the lower level (the given Leaf warehouse).
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.
- Time dimension, months, Weekly time dimension, Day of the week – the date is taken from the confirmation date of the document.
- Months, Day of the week – value calculated from the Time dimension.
- Additional values - see the chapter Stock card - Additional values.
- Contract code – contract code from the document item. The contract code can have a tree structure – so it is easy to display the sum for a group of contract codes.
- Article code – article code from the document item.
- Customer code – customer code from the document item, it has a tree structure.
- Territory, Area – territory and area from the customer card.
- Warehouse – warehouse stated on the given document; for transfer notes the respective side of the transfer.
- Cost centre – cost centre from the document item, it has a tree structure.
- Routing variant – routing variant stated on the job ticket.
- Customers – customer stated on the stock document.
- Kind – description of the article category (material, semi-finished product).
- Unit – unit of the item (dkg, kg, mm, min, ball, CZK)
- Optimal supplier – optimal supplier of the given article.
- Product group – product group from the selling price of the article.
- TypeH – superior dimension to the Type N dimension. It divides article types into predefined fixed groups (All stock items, All non-stock items and All other).
- TypN – subordinate dimension to the Type H dimension, it contains all article types, e.g. Non-stock item, Advance, Breakdown, Discount, Stock item, Master card.
- Article-book – according to the OLAP parameter settings; dimension by article abbreviation or name.
- Brand – brand of the given article.
- Group of goods – group of goods from the article on the document.
- Group of customers – customer group from the document.
- Employee – employee stated on the given stock document.
- Posting kind – the posting kind is affected by the Posting kind and Batch warehouse parameters. The posting kind is loaded from the article card or from the batch; if the posting kind is stated on the batch, it takes precedence over the article card.
- Credit notes – Yes is displayed if the document is a credit note; No if it is not. As mentioned above, dimensions only filter and break down documents. If we set a period filter and the credit notes dimension, we will see credit notes created in the given period, not credit notes for documents created in the given period.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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 |
- Price - price of the article.
- CPREP - price on transfer notes on receipt.
- CPREV - price on transfer notes on issue.
- CPRI - price on receipt cards.
- CPRID - price on credited receipt cards.
- CVYD - price on release notes.
- CVYDD - price on credited release notes.
- MPREP - quantity on transfer notes on receipt.
- MPREV - quantity on transfer notes on issue.
- MPRI - quantity on receipt cards.
- MPRID - quantity on credited receipt cards.
- MVYD - quantity on release notes.
- MVYDD - quantity on credited release notes.
- StQuantity - total quantity of articles.
- StCount - total number of documents with articles.
- Basic time dimension - time period.
- DayW - displays the name of the day of the week according to the user.
- Contract code - from the items; if it is not entered in the item, it is taken from the header; for wages via the parameter pKodZaMzdy.
- Area, Territory - territory and area from the customer card.
- RadyNaP - purchase and sale books.
- Warehouse- warehouse type.
- Doc type StockCard - document type (Receipt cards, Release Notes, Transfer notes, Transfer notes between warehouses)
- Customers - company from the documents.
- Kind - description of the article category (material, semi-finished product).
- Optimal supplier - optimal supplier of the given article
- Product group - product group from the selling price of the article.
- TypeH - article type (stock item, non-stock item).
- TypN - article type (stock item, non-stock item).
- Article-book - according to the OLAP parameter settings, dimension by article abbreviation or name.
- Brand - brand of the given article.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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.
- Duration time: total time needed by the warehouseman to process the documents (logistic tasks). On the stock document it is calculated from the header fields Date from and Date to.
- Number of items: number of items from the processed documents
- Number of tasks: number of processed documents
- Weight: total gross weight from the document items
- Basic time dimension: time dimension - data are calculated according to the confirmation date of the stock documents
- Queue: queue from the header of the stock documents
- Contract code: contract code from the header of the stock documents
- Handling equipment: handling equipment from the header of the stock documents
- Employee: employee from the header of the stock documents (from the Warehouseman field, on transfer notes Warehouseman from)
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 |
|
- Quantity – it is expressed only for invoice items; for other financial and payroll documents the quantity is zero.
- Turnover – net turnover (price) from the items of the individual document types. Unit price multiplied by:
- the quantity - for invoices,
- net - for cash documents,
- the total amount paid by the company (gross wage + health and social insurance paid by the company) - for the MZ document type.
- the amount from the Output wage component (Output items of the payroll document) - "for the MZP document type".
- Costs – warehouse price for invoices, "0" for cash desk, sickness benefit refunds for the MZ and MZP document types (separately - they are already included in the turnover).
- Number – number of items.
- Article – taken from the invoice items; for other document types it is always the default element (-K2 empty).
- Article category – virtual dimension according to the article from the item.
- Article type - virtual dimension according to the article from the item.
- Product groups - virtual dimension according to the article from the item.
- Supplier/customer – supplier/customer from the individual document types (where applicable).
- Basic time dimension – for invoices, cash documents, bank statements, internal documents, other liabilities and receivables the Ac. trans. date, and for wages the processing month.
- Weekly time dimension - only via a parameter.
- Article code from items - for wages from the date-dependent header.
- Device - device stated on the document.
- Cost centre – from the items; if it is not entered in the item, it is taken from the header.
- Day of the week – virtual, according to the basic time dimension.
- Contract code – from the items; if it is not entered in the item, it is taken from the header; for wages via the parameter pKodZaMzdy.
- Credit notes – receipts are negative, issues positive.
- Document type – PF (invoices in), VF (invoices out), PO (cash documents), ZPO (advances provided), ZPR (advances received), ZCPO (deductions of advances provided), ZCPR (deductions of advances received), ID (internal documents), OP (other receivables), OV (other liabilities), MZ (payroll documents - headers), MZP (payroll documents - items (output wage components)), PM (asset movements).
- Books of PS - dimension with the books of all document types.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
- Wage component - code list of wage components.
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 |
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 |
We will create a view that allows the company to monitor the purchased volume by suppliers.
Procedure
- In Data sources, select the FaPrNakup cube.
- In the field list, select the PTurnover measure and add the Customer field to the row fields. Then select the Years field for the column fields.
- Drag the Books field to the filter.

Picture: Purchased volume by suppliers

Picture: Purchased volume by suppliers
We will create a view that allows the company to compare suppliers by years.
- In Data sources, select the Purchase orders cube.
- In the field list, select the POTurnover measure. Insert the Customer dimension into the row fields and Years into the column fields.
- Drag the Warehouse dimension to the filter and filter SNORM - Materiálový.

Picture: Comparison of suppliers by years
We will create a view that allows the company to compare suppliers by turnover.
- In Data sources, select the FaPrNakup cube.
- In the field list, select the PTurnover measure. Select the Customer dimension for the row fields, insert the Years dimension into the filter and set the filter to the year 2000.

Picture: Table and chart of the order of suppliers by turnover
We will create a view that allows the company to display the stock balances of selected articles.
- From Data sources, select the Skladkarta cube.
- In the field list, select the Remaining stock measure. Drag the Years dimension to the filter fields and filter the year 2001.
- Drag the Article dimension to the row fields and filter the articles for which we want to see the stock balance.
- Drag the Warehouses dimension to the column fields.

Picture: Stock balances
We will create a view that allows the company to compare costs and incomes by articles.
- From Data sources, select the Costs and Incomes cube.
- From the field list, select the measures Gross profit, Costs and Turnover.
- Insert the dimensions Years (filter the year 2009) and Article into the row fields, and insert the Cost centre dimension into the column fields.
- Insert the TypeH (Article type) dimension into the filter fields and filter the type All stock items.

Picture: Costs and incomes by articles
We will create a view that allows the company to compare turnover by cost centres.
- In Data sources, select the Costs and Incomes cube.
- From the field list, select the Turnover measure, drag the Years dimension to the row fields, the Group of cost centres dimension to the column fields and the TypeH dimension to the filter fields, and in the filter select only the type All stock items.

Picture: Comparison of turnover by cost centres
The view displays the order of territories by turnover.
- From the data sources, select the Sales Orders cube.
- From the field list, select the measures Number and SOTurnover. Drag Territories to the row fields, Years to the column fields and Cost centre to the filter fields, and select only the Dispatch cost centre.

Picture: Order of territories by turnover
We will create a view that displays the sale by contract codes.
- From Data sources, select the InvOutSale cube.
- From the field list, select the Turnover measure, and drag the dimensions Group of codes and Customer to the row fields.
- Drag the Years dimension to the column fields, drag the Cost centre dimension to the filter fields and select the Dispatch cost centre.

Picture: Table of sale by contract codes

Picture: Chart of sale by contract codes
The view displays a comparison of sale by dealer levels.
- From Data sources select the InvOutSale cube.
- From the field list, select the Turnover measure, drag the Years dimension to the row fields and drag the Price groups dimension to the column fields.

Picture: Comparison of sale by dealer levels
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 |
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 |
- Amount of output WC - the Amount field on the components
- Net salary - the CFPayPNI field
- Net income - the CFPayNIP field
- Registred number physical - the EmployeeStateEvidRealCalc field
- Registred number recalculated - the EmployeeStateEvidRecalcCalc field
- Hours of output WC - the CFNumHr_HF field
- Gross wage - the CFPayPFI field
- Monthly time interval - the CFPTFHours_H field
- Hours worked - the CFWHours_H field
- Personal bonus - the WageI field in the Wage data book
- Personal bonus II - the WageIR field in the Wage data book
- Working days of output WC - the NumDay field
- Bonus - the WageP field in the Wage data book
- SI - Organization premium - field CFSocOrgan
- Basic wage - the WageB field in the Wage data book
- Basic wage II - the WageBR field in the Wage data book
- HI - Organization premium - CFHealthOrgan
- Basic time dimension: time dimension - data are calculated according to the end date of the wage period
- DayW - displays the name of the day of the week
- Months - displays all selected months regardless of the year
- Educational attainment - the SNeV field
- Kind of work - the IdTypWork field
- Form of wage - the IdTypWage field
- Characteristics of legal relation - the IdCommerce field
- Internal tariff - IdTarInt
- Category 1 - IdCat1
- Category 2 - IdCat2
- CZ - ISCO code - the EXKZAMR field
- Contract code - the ContractCode field
- Article code - the CodGoods field
- Wage period - IdPeriod
- Wage component - IdComp
- Wage component - tree 1 - IdComp1
- Wage component - tree 2 - IdComp2
- Trade union - IdUnion
- Gender - the Sex field
- Employment - IdRelWork
- Work shift - IdCal
- Legal relation II - the EXIdRelWork2 field
- Device - the Device field
- Group - the IdGroup field
- Group 1 - the IdGroup1 field
- Group 2 - the IdGroup2 field
- Working time settlement - the IdCalShort field
- Cost centre - the CodDepart field
- Cost centre 2 - the CodDepart2 field
- Employee - the CFPrJm field
- Classification - the IdJob field
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 |
- Time of operation (in H): total actual time of the operation (set-up + production + teardown) (in hours/minutes)
- Weight: weight of consumption items (the net weight is loaded from the basic stock unit of the article; applies to the "Consumed" item type).
- Weight - product: weight of the product (the net weight is loaded from the basic stock unit of the article; applies to the "Produced" item type).
- Weight - product from items: production weight calculated for consumption items (i.e. when viewing consumption items, we display the production weight).
- Capacity (in H): resource capacity according to the calendar (in hours/minutes). The display of capacities relates to the "Basic time dimension". The measure is available only when the "VýrobaKapacityZdrojů" parameter is activated.
- Teardown time (in H): actual teardown time (in hours/minutes)
- Quantity: quantity of items (applies to the "Consumed" item type)
- Quantity - product: quantity of items (applies to the "Produced" item type)
- Quantity - product from items: product quantity calculated for consumption items (i.e. when viewing consumption items, we display the production quantity).
- Cost price: actual cost price (applies to the "Consumed" item type)
- Cost price - product: actual cost price (applies to the "Produced" item type)
- Pl price: planned price (applies to the "Consumed" item type)
- Pl price - product: planned price (applies to the "Produced" item type)
- Pl time of operation (in H): planned time of the operation (set-up + production + teardown) (in hours/minutes)
- Pl teardown time (in H): planned teardown time (in hours/minutes)
- Pl quantity: planned quantity (applies to the "Consumed" item type)
- Pl quantity - product: planned quantity (applies to the "Product" item type)
- Pl set-up time (in H): planned set-up time of the operation (in hours/minutes)
- Pl prod time (in H): planned production time of the operation (in hours/minutes)
- Set-up time (in H): actual set-up time of the operation (in hours/minutes)
- Actual price: actual warehouse price (applies to the "Consumed" item type)
- Actual price - product: actual warehouse price (applies to the "Produced" item type)
- Production time (in H): actual production time of the operation (in hours/minutes)
- Rejects quantity - product: produced quantity of rejects for operation/resource, loaded from the 7th page of the job cards
- Rejects amount - product: value of produced rejects for operation/resource, loaded from the 7th page of the job cards
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.
- Basic time dimension: time dimension - data are calculated according to the confirmation date of the job cards
- Reservation date: time dimension - data are calculated according to the Date from in the job card header; only when the "VýrobaRezervace" parameter is activated
- Production date: time dimension - data are calculated according to the confirmation date of the item (for items) and according to the confirmation date of the operation (for operations and resources)
- Existence of subordinate job card: dimension used to choose whether to load also items with a subordinate job card or only items without a subordinate job card.
- Code 1: Codes 1
- Code 2: Codes 2
- Contract code: dimension with contract codes
- Cooperant: for items of the "Items-produced" type, it is loaded from the job card header; for items of the "Items-consumed" and "Operation" types, it is loaded first from the operation and then from the job card header.
- Quality: quality dimension (information from the batch); only when the "VyrobaSarze" parameter is activated
- Months: time dimension displaying the breakdown of data into individual quarters and months
- Operation: job card operations
- Employee: employee dimension (from the job card header)
- Parameter 1-5: dimensions according to batch parameters (for items); only when the parameters "VyrobaSarze" and "Vlastnost sarzi 1-5" are activated
- Parameter 1-5 - product: dimensions according to batch parameters (for the product); only when the parameters "VyrobaSarze" and "Vlastnost sarzi 1-5" are activated
- Device: Device dimension; it is loaded only for job card items (first from the item; if not in the item, then from the header)
- Production priority: dimension according to the Priority code list
- Books of PS: document books
- Warehouse: warehouses
- Job card status: status of the job card document from the document header
- Work shift: dimension according to the work shift (from the job card header); only when the "VýrobaSměna" parameter is activated
- Cost centre: cost centre from the job card (according to the setting of the "Production - Cost centre from item" parameter, either from the header or from the items); for the "Resources-Requirements" item type, the cost centre is always taken from the job card header
- Type of job card: job card types (planning, completion, normal, correction)
- Item types: types of evaluated items from job cards
- Items-Produced: these are items from the job card header (or items where ProductItem=1)
- Items-Consumed: these are items from the routing items; values for receipt items are negative
- Operation: data from job card operations
- Resources-Requirements: data from job card resources
- Resources-Capacity: data on resource capacities from the calendar
- Location: location from the job card header
- Routing variant: variant of the routing (for items); only when the parameters "VyrobaSarze" and "VariantyTP" are activated
- Routing variant - product: variant of the routing (for products); only when the parameters "VyrobaSarze" and "VariantyTP" are activated
- Products: produced items (article cards from the job card header, or from items where ProductItem=1)
- Article category: Article categories
- Product group, Group of goods: group of goods for products or for consumption items respectively; only when the "Product Group dimension" parameter is activated.
- Product code, Article code: article code for products or for consumption items respectively; only when the "Product Code dimension" parameter is activated
- Posting kind – the posting kind is affected by the Posting kind and Batch production parameters. The posting kind is loaded from the article card or from the batch; if the posting kind is stated on the batch, it takes precedence over the article card.
- Optimal supplier: optimal suppliers of the items
- Product group: product group from the selling price of the article
- TypeH: article types (stock item, non-stock item, other)
- TypN: article types (stock item, non-stock item, breakdown, etc.)
- Article-book: article cards
- Brand: article brands
- Resources: capacity centres and resources
- Own companies: displays the own companies of the client. The data in the individual views will be broken down according to these companies. The Shared part shows data from the common books of the own companies.
- Weekly time dimension: time dimension - data are calculated according to the confirmation date of the job cards.
We will create a view that allows the company to see the planned and actual price of articles.
Procedure
- In Data sources, select the Production cube.
- In the field list, select the measures Price, Pl price and Difference and select the Article field for the row fields.

Picture: Chart comparing the planned and actual price of articles

Picture: Table comparing the planned and actual price of articles
Accounting
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 |
- Amount – amount from the accounting journal item.
- Accounts – this dimension contains individual accounts as well as economic analyses and their rows. It follows from the above that, for a correct display, the selected kind of movement must correspond to the selected analysis or account.
- Code 1, Code 2, Employee, Cost centre, Contract code, Article code, Customer – data from the respective side (Dr, Cr) of the accounting journal item.
- Book – book of the accounting document.
- Books of PS – the respective purchase or sale book.
- Basic time dimension, Months, Day of the week - time period.
- Accounting currency – for a correct display of the cube, it must be added to the filter.
- Additional values – see chapter Stock card - Additional values.
- Tax allowance - tax allowance of the accounting document.
- Type of accounting document - type of the accounting document. Documents in the cube can be filtered by this type. The Description or Abbreviation of the specific type can be displayed here (using a parameter).
- Group of accounts - distinction of accounts for financial planning purposes.
- Overheads - distinction of accounts for financial planning purposes.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
- Kind of movement - to display turnover values, select the Dr and Cr element and then select the required measures from the Turnovers node; to display the values of the opening and closing balance of accounts, select the Kind element and then select the required measures from the Other node.
This dimension behaves similarly to the Additional values dimension. It therefore allows displaying the selected measure from various points of view.
- 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.
- Columns – for monitoring analyses:
- Column 1, 2, 3, 4 from the respective analysis.
- 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").
This view displays the balance sheet in full.

Picture: Balance sheet
The view displays the profit and loss statement in full.

Picture: Profit and loss account
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 |
|
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.

Picture: Accounting plan and actual
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.
- Invoices out (in) represent the sum of invoices out (in) with a due date in the given period, regardless of whether the invoices have already been paid or not.
- Payments (Receipts) represent the sum of payments of invoices out (in) and advances received (provided) paid in the given period. The decisive date is the payment date of the invoice.
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 |
- Movement - amounts on invoices, advances and payment documents. The movement for payments is as at the payment date (= the issue date of the payment document), the movement for invoices is as at the due date
These measures use the time dimension.
- Amount – balance of movements for the monitored period (i.e. the difference between the value of invoices and payments).
- Average amount – average of the amount on individual days and the movement in the given period.
- January, February, ..., December amount – average amounts in the individual months of the year in which the selected period falls (for comparing months within one year).
- Basic time dimension, months, day of the week – based on the payment date of cash documents (AccDate) and the due date of invoices, regardless of whether they are paid.
- Contract code, Article code – the respective codes from the documents.
- Cost centre – cost centre from the documents.
- Customers – company from the documents.
- Customers1 – addressee from the documents.
- Customer code – customer code (based on the Customers dimension).
- Group of customers – customer group (based on the Customers dimension).
- Invoices:
- Invoices in (out) – sum of invoices in (out) that have a due date in the selected period, regardless of whether they are paid.
- Receipts (Payments) – sum of payments of invoices in (out) made in the given period, both by cash documents and by bank statements. The decisive date is the payment date of the invoice.
- Advances provided for invoices in
- Advances received for invoices out
- Settlement – settlement of the invoice; here the term Settled invoice means that the invoice has already been paid (by a cash document or a bank statement).
- Days for settlement – used to break down documents according to how many days they have before or after the due date. The value is based on the due date and the payment date.
- No of settlement days to Invoice date – similar to Days for settlement. However, it does not relate to the due date. For invoices out, invoices in, advances received, advances provided and internal documents, it takes the Ac. trans. date into account.
- Cash registers and Bank accounts – books of cash documents and individual bank accounts.
- Responsible persons - the Officer field from the documents. The dimension can be displayed using the ZodpOs - Uverovani parameter.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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 |
|
- Movement - amounts on invoices, advances and payment documents. The movement for payments is as at the payment date (= the issue date of the payment document), the movement for invoices is as at the due date.
- Amount - balance of movements for the monitored period (i.e. the difference between the value of invoices and payments)
- Average amount - average of the amount on individual days and the movement in the given period.
- Interval0to30 - amount of the balance (the amount remaining to be paid) in the interval of 0 to 30 days after the due date.
- Interval30to60 - amount of the balance in the interval of 30 to 60 days after the due date.
- Interval60to90 - amount of the balance in the interval of 60 to 90 days after the due date.
- Interval 90to180 - amount of the balance in the interval of 90 to 180 days after the due date.
- IntervalOver180 - amount of the balance more than 180 days after the due date.
- IntervalBefore0 - amount of the balance before the due date.
- IntervalsAll - total amount of the overdue balance. The amount owed that is not yet due (from the IntervalBefore0 measure) is not included here.
- Basic time dimension (years, quarters, months, days) - based on the payment date of all payment documents and the due date of invoices and advances, regardless of whether they are paid.
- Timeline date of issue - auxiliary time dimension for the correct assignment of the balance amount to intervals.
- DayW - day of the week. It relates to the time dimension.
- Days for settlement - used to break down documents according to how many days they have before or after the due date. The value is based on the due date and the payment date.
- DocumentsByMaturityDate - time dimension based on the due date of documents.
- Invoices:
- Invoices in (out) – sum of invoices in (out) that have a due date in the selected period, regardless of whether they are paid.
- Receipts (Payments) – sum of payments of invoices in (out) made in the given period by all payment documents. The decisive date is the payment date of the invoice.
- Advances provided for invoices in.
- Advances received for invoices out.
- Contract code - contract code from the documents.
- Months - months regardless of the year.
- Cash registers and Bank accounts - established cash registers and bank accounts.
- Books of PS - purchase and sale books in IS K2.
- OpenItemListAsAt - time dimension for open items as at a date. It can be used in the filter to display open items as at a specific day within the individual overdue intervals.
- Cost centre - cost centre from the documents.
- Settled - settlement of the invoice. The term Settled invoice here means that the invoice has already been paid (by any payment document).
- Customers - Supplier and Customer from the documents.
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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 |
- Movement – sum of amounts from cash documents and bank statements. Netto+Vat (in the client's currency) and NettoC+VatC (in the document currency).
- Net – net value from the cash document ('0' for bank statements). Netto (in the client's currency) and NettoC (in the document currency).
These measures use the time dimension.
- Balance – balance as at the last day of the selected period.
- Average balance – average of the balances on individual days and the movement in the given period.
- January, February, ..., December avg. bal. – average balances in the individual months of the year in which the selected period falls (for comparing months within one year).
- Basic time dimension, months, day of the week – based on the payment date.
- Contract code, Article code – the respective codes from the documents.
- Cash registers and Bank accounts – contains the books of cash documents and the books of bank statements.
- Cost centre – cost centre from the documents.
- Customers – company from the documents.
- Customer code – customer code (based on the Customers dimension).
- Group of customers – customer group (based on the Customers dimension).
- Own companies - displays the own companies of the client. The data in individual views will be divided according to these companies. The Shared part shows data from the common books of the own companies.
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 |
- Call length - h – length of calls in hours.
- Call length - min – length of calls in minutes.
- Call length - sec – length of calls in seconds.
- Number of calls – number of calls.
- Average call length - h – average length of calls in hours.
- Average call length - min – average length of calls in minutes.
- Average call length - sec – average length of calls in seconds.
- Average ringing time
- Target phone number - called phone number.
- Basic time dimension - time period (years, half-years, quarters, months, days).
- DayW - displays the name of the day of the week according to the entered user date.
- Hour dimension - hour dimension for evaluating line utilization.
- Internal call - identification of an internal call.
- Campaigns - campaign from the activity attached to the call centre record.
- Contact person - transferred - contact person from a transferred call.
- Contact person - the Contact person field from the call centre record.
- Months - value calculated from the Time dimension.
- Partners - the Partner field from the call centre record.
- Status of partner - the Status field of the partner stated in the call centre record.
- Class - the Class field of the partner stated in the call centre record.
- Opportunities - opportunity from the activity attached to the call centre record
- Type of call - distinction of calls by Type.
- Default phone number - phone number of the line from which the call is made.
- Responsible persons - the Responsible person field from the call centre record.
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 |
- Number - number of records.
- Number of activations - frequency of running the measured function.
- Number of samples - not used yet.
- Basic time dimension - data are calculated from the measurement date.
- DayW - day of the week. It is based on the basic time dimension.
- Hour dimension - hour dimension based on the measurement time.
- Contact persons - this is the contact person linked to the IS K2 user who invoked the given function.
- Client - the client in which the given function is run.
- Monitored functions - the function being run.
- Factory functions - functions monitored by K2 atmitec. The dimension takes the values Yes and No.
- Types of functions - type of the function being run (report, script, block, transaction)
- User - the user who ran the given function.
- User functions - functions monitored by IS K2 users. The dimension takes the values Yes and No.
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 |
- Gross - sum of the prices of article items within shopping baskets (gross price x quantity).
- Quantity - quantity of sold articles within shopping baskets.
- Net - sum of the net prices of article items within shopping baskets (net price x quantity).
- Number - number of items of the given article within shopping baskets.
- Number of baskets - number of shopping baskets.
- Basic time dimension - based on the creation date of the shopping basket.
- DayW - day of the week. It is based on the basic time dimension.
- Internet shop - internet shops created in the Internet shops book in IS K2.
- Contact persons - the dimension is based on the code list of contact persons.
- Ordered - divides articles into ordered and not ordered. Yes - a sales order was created for the given basket. NO - no sales order was created.
- Kind - article categories.
- Optimal supplier - optimal supplier of the given article.
- Product group - product group from the selling price of the article.
- TypeH - article types (stock item, non-stock item, other).
- TypN - article types (stock item, non-stock item, breakdown, etc.).
- Article - book - according to the OLAP parameter settings. Dimension by article abbreviation or name.
- Brand - brand of the given article.
- Article - book 2 - according to the OLAP parameter settings. Dimension by article abbreviation or name.
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.
- Invoiced - based on the Incomes field in the work report. However, it applies only if the work report is on an invoice out.
- Costs - based on the Costs field in the work report.
- Reported effectively - the Reported effectively field in the unit of the given report.
- Reported effectively hours - the Reported effectively field in hours. It applies to a work resource. For other resource assignment types it is 0.
- Reported actually - the Reported actually field in the unit of the given report.
- Reported actually hours - the Reported actually field in hours. It applies to a work resource. For other resource assignment types it is 0.
- Incomes - based on the Incomes field in the work report.
- Basic time dimension - based on the Date of issue on the work report.
- Stage or activity - these are the individual Stages/Activities of the given project.
- Book of projects - the K2 book in which the project is placed.
- Contract code - based on the Contract code field on the Work report.
- Article code - based on the Article code field on the Work report.
- Contact persons - the person for whom the report is issued. Based on the Contact person field on the Work report.
- Months - time dimension displaying the breakdown of data into individual quarters and months.
- Partners - the dimension is based on the Customer field in the given project.
- Project - the dimension includes the individual projects.
- Device - based on the Device field on the Work report.
- Cost centre - based on the Cost centre field on the Work report.
- Resource assignment type - information from the Report in unit of measure field in the Project resources code list and from the Costs resource field on the assignment of the resource to the activity.
- Resource type - based on the Resource type field in the Project resources code list.
- Vehicle - the vehicle for which the report is issued. Based on the Vehicle field on the Work report.
- Article-book - the article for which the report is issued. Based on the Article field on the work report.
- Project resource - based on the Resource field on the work report. It is the Project resources code list.
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.

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).

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.

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:
- Run the OLAP03 script on the company of the main client. This step loads the code lists of the main client.
- Switch to the secondary client and run the OLAP02 script. This script loads data from the secondary client. Fact tables with the suffix M (Mandant) are created. If we consolidate several clients, this step can be repeated several times. Using the script parameter "pDMMandant", the numbering of the created fact tables can be set (e.g. M1, M2, etc.).
- Switch to the main client and run the OLAP01 script, which must be modified using special modifications in access points. This step merges data from the tables with the suffix M. For the actual merging of data, it is therefore necessary to create a special script based on the OLAP01 script.
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.
- Current - displays the value of the selected measure as it would be displayed without displaying additional values.
- Increase per year in % - represents the percentage increase compared to the same period of the previous year.
- Increase in % - represents the percentage increase between the value in the current period and the previous equivalent period (depending on what is displayed, it may be a year, quarter, month, day).
- Increase per year - represents the absolute difference between the value in the period and the same period of the previous year.
- Increase - represents the absolute difference between the value in the period and the previous equivalent period.
- Annual sum - sum from the beginning of the year to the selected time value.
- Quarterly sum - sum from the beginning of the quarter to the selected time value.
- Monthly sum - sum from the beginning of the month to the selected day.
- Period sum - sum from the beginning of the period to the selected time value (for example, for months it is a quarter, for quarters it is a year).
- 12-period sum - sum of the last 12 periods including the current one.
- Annual average - average from the beginning of the year to the selected time value.
- Quarterly average - average from the beginning of the quarter to the selected time value.
- Monthly average - average from the beginning of the month to the selected day.
- Period average - average from the beginning of the period to the selected time value (for example, for months it is a quarter, for quarters it is a year).
- 12-period average - average of the last 12 periods including the current one.
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.

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:
- Kind
- TypeH
- TypN
- Brand
- Product group
- Optimal supplier
- Unit
Virtual dimensions from the Subordinate documents dimension:
- D exists
- F exists
- S exists
- O exists
- R exists
Virtual dimensions from the Partners dimension:
- Status
- Class
Virtual dimensions from the DocumentsByMaturityDate dimension:
- DayW
Virtual dimensions from the OpenItemListAsAt dimension:
- DayW
Virtual dimensions from the Basic time dimension:
- DayW
Virtual dimensions from the Date of issue dimension:
- DentT