Exercise 10b JetReports
Exercise 10b JetReports
Advanced Dimensions
Description
In this exercise we will cover adding advanced dimensions in Dynamics NAV into our Data Warehouse and
Cubes. We will bring the Area dimension into the sales invoice table in the Data Warehouse from a second-
ary table where the data is stored and then add it into the rest of the project.
Tasks
1 : Create a new table in the Data Warehouse that will include all of the necessary fields for the Area dimension from the
Dimension Value table. You will also need to add the fields from the Data Warehouse into the Staging Database.
2 : Add a Data Selection Rule so that only values for the Area dimension are returned. Remember to deploy and execute that new
data in the Staging Database and Data Warehouse. The Dimension Value table in the Staging Database needs to be moved
above the Sales Invoice Line table so that they tables are executed in the proper order.
3 : Add extra data from the data source that is required to link the advanced dimension code to the individual transactions on the
Sales Invoice Header
Table Field
Sales Invoice Line Line No.
Posted Document Dimension Dimension Code
Dimension Value Code
Document No.
Line No.
Table ID
4 : Deploy and execute the staging database (or just the tables that were changed) to ensure that all of the new fields have been
added and populated
5 : Move the Posted Document Dimension table above the Sales Invoice Line table in the Staging Database to ensure that it is
executed in the correct order
7 : Next, add in the correct joins from the Sales Invoice Line to the Posted Document Dimension so that it will pull the correct
number. Hint: The Sales Document Line table is table number 113.
8 : Add the Area Dimension field into the Detailed Invoice Lines table in the Data Warehouse
9 : Add the Area Dimension table in the Data Warehouse as a dimension on the OLAP Server, name it Area Dimension, and set
the Key Level to the Code field
11 : Add the new Area Dimension to the Sales cube and set the appropriate relationships to the Detailed Invoice Lines table
13 : Preview the Detailed Invoice Lines table to ensure that the Area dimension is being returned properly for each line
Data Warehouse