Exercise - creating a report from the RP005 sample template
The report template contains report variables which reference several of the dimensions of the Analysis cube of the Samples application. In the Report Wizard, the variables are listed as report parameters.
In this exercise, you create a report on the Sales cube of the Samples application. With the exception of Product, the Sales cube has different dimensions from the Analysis cube. Therefore, you must choose similar or equivalent dimensions in the Sales cube.
You will make these assignments:
From Analysis Cube | Variable | To |
---|---|---|
Database Alias | trv_alias | BestPracticesOLAP |
Cube | trv_cube | Sales |
Period | trv_time_dim | Time dimension |
trv_time_hie | Time hierarchy | |
Region | trv_region_dim | Interco dimension |
trv_region_hie | Interco hierarchy | |
Measure | trv_measure_dim | Profit dimension |
trv_measure_hie | Profit hierarchy | |
POS | trv_analyzedX_dim | Unit dimension |
trv_analyzedX_hie | Unit hierarchy | |
Product | trv_analyzedY_dim | Product dimension |
trv_analyzedY_hie | Product hierarchy |
When you map a dimension to the dimension parameter, the hierarchy parameter is automatically mapped. In databases with more than one hierarchy per dimension, you must select the required hierarchy.
The Adventure Works sample database from Microsoft has multiple hierarchies per dimension. To use your template to create a report on the Adventure Works sample, you can make these assignments:
From Analysis Cube | Variable | To Adventure Works |
---|---|---|
Database Alias | trv_alias | Adventure Works |
Cube | trv_cube | Adventure Works |
Period | trv_time _dim | Date dimension |
trv_time_hie | Date.Fiscal hierarchy | |
Region | trv_region_dim | Geography dimension |
trv_region_hie | City hierarchy | |
Measure | trv_measure_dim | Measures dimension |
trv_measure_hie | Measures hierarchy | |
POS | trv_analyzedX_dim | Sales Channel dimension |
trv_analyzedX_hie | Sales Channel hierarchy | |
Product | trv_analyzedY_dim | Product dimension |
trv_analyzedY_hie | Product Model Categories hierarchy |
To use your template to create a report based on the Sales cube: