Exercise - creating a report from the RP005 sample template
See Connecting to the sample database.
You can either:
- Use the RP005 template supplied.
- Create the template yourself.
Return to this exercise and create a report.
Report template RP005 was created on the Analysis cube of the Best Practices sample database. RP005 contains report variables which reference several of the dimensions of the Analysis cube. In the Report Wizard, the variables are listed as report parameters.
In this exercise, RP005 is used to create a report on the Sales cube of the Best Practices sample database. With the exception of Product, the Sales cube has different dimensions from the Analysis cube. We will have to choose similar or equivalent dimensions in the Sales cube.
These assignments will be made:
From Analysis Cube | Variable | To |
---|---|---|
Database Alias | trv_alias | Best Practices OLAP |
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 |
The Adventure Works sample database from Microsoft has multiple hierarchies per dimension. To use template RP005 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 Report Template RP005 to create a report based on the Sales cube: