A / Set the time dimension Note: If you need to create a pointer of type 'obdobíAgo "or" obdobíToDate "then it is necessary to identify the hierarchy of the time dimension with the" Time dimension ".
In the case of actual physical table for the time dimension is appropriate for the data type for columns individual level (eg, YEAR = 2008, MONTH = 200,812) was a string (STRING) - you should not use a numeric type (NUMBER). The reason is that if you use a numeric type in the physical layer of the BI metadata repository used type DOUBLE (of course it depends on what type of physical data goes), which for the "YEAR = 2008" will display the value "2008.00". This then can cause malfunction and counting, "Ago" indicators in the drill values.
1st In Business Model "Sales" select an existing hierarchy time dimension DIM_OBDOBI> right click> Properties ... > Here and check the checkbox "Time dimension" second At the level of the hierarchy KVARTAL DIM_OBDOBI KVARTAL_ID add column (column dimension of $ D_OBDOBI - the PK table) and mark it as a new logical key (Drag & Drop to move the column from the dimension hierarchy to> right click> New Logical Level Key ...) Note : Chronological key is a column containing gradually increasing in value over time. The key data type does not matter, it might be the type of numeric, string or date. The key should be selected column, which is the primary key dimensional table, that through this column is the join between a table made dimensional and facts. 3rdColumn KVARTAL_ID Chronological mark as key (to select the level KVARTAL> right click> Properties ...> Keys tab) B / Creation of indicators showing the status before the first The facts table F_PRODEJ $ create a new logical column for VYNOS_PRED_CTVRTLETIM indicator, which will be calculated from the already existing indicators (the Business Model "Sales", select the table F_PRODEJ $> right click> New Object> Logical Column ...> call it VYNOS_PRED_CTVRTLETIM> check Use existing logical columns as the source), the second In the Expression Builder to create a calculation to show the state before the (Select Functions> Time Series Functions> Ago> Insert) third The AGO function as "Measure
B / Development Indicators YearToDate
first The facts table F_PRODEJ $ create a new logical column for VYNOS_YEAR_TODATE indicator, which will be calculated from the already existing indicators (the Business Model "Sales", select the table F_PRODEJ $> right click> New Object> Logical Column ...> call it VYNOS_YEAR_TODATE> check Use existing logical columns as the source)
C / Creation of indicators showing change between now and the past
Note: For purposes of comparison of two indicators is available
1st The facts table, select the column F_PRODEJ $ DECREE> right click> Calculation Wizard
5th The newly created folders divide (Drag & Drop) as indicators of the importance of component sales result is a newly established indicators showing the status before the cumulative indicators showing YearToDate and indicators showing change between now and the past.
The next and final part will be devoted to how to put all this up and make available to end users for reporting and analysis .