0% found this document useful (0 votes)
3 views5 pages

Exercise 10b JetReports

This document outlines the steps to add advanced dimensions in Dynamics NAV into a Data Warehouse and Cubes, specifically focusing on integrating the Area dimension into the sales invoice table. Key tasks include creating a dimension table, establishing lookup fields, deploying data selection rules, and ensuring proper execution order in the Staging Database. The final goal is to successfully incorporate the Area dimension into the Sales cube and verify its functionality in the Detailed Invoice Lines table.

Uploaded by

kefey80397
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

Exercise 10b JetReports

This document outlines the steps to add advanced dimensions in Dynamics NAV into a Data Warehouse and Cubes, specifically focusing on integrating the Area dimension into the sales invoice table. Key tasks include creating a dimension table, establishing lookup fields, deploying data selection rules, and ensuring proper execution order in the Staging Database. The final goal is to successfully incorporate the Area dimension into the Sales cube and verify its functionality in the Detailed Invoice Lines table.

Uploaded by

kefey80397
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Exercise 10b

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.

After completing the exercise you will have


• Created a dimension table • C
 reated a lookup field in a transaction table to attach
the dimension to the transaction
• C
 reated a Data Selection Rule to narrow down the
results • Added the advanced dimension to the Sales cube

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.

Name Area Dimension


Fields Code
Dimension Code
Name

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

©timeXtender Training. JetReports. Exercise number 10b - page 1


6 : Add a Conditional Lookup Field to the Sales Invoice Line table on the Staging Database that will return the Area dimension
for each line

Name Area Dimension


Table Posted Document Dimension
Field Dimension Value Code

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.

Lookup Field Operator Field


DW_Account Equal DW_Account
Document No. Equal Document No.
Line No. Equal Line No.
Dimension Code Equal AREA (fixed value)
Table ID Equal 113 (fixed value)

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

10 : Alter the Dimension Level to ensure that it has these attributes:

Name Area Dimension


Key Table Area Dimension
Key Column Code
Layout Name
Name Table Area Dimension
Name Column Name
Sort By Name

11 : Add the new Area Dimension to the Sales cube and set the appropriate relationships to the Detailed Invoice Lines table

12 : Deploy and execute the entire project

13 : Preview the Detailed Invoice Lines table to ensure that the Area dimension is being returned properly for each line

©timeXtender Training. JetReports. Exercise number 10b - page 2


The project should now looks like the following:

Data Warehouse

©timeXtender Training. JetReports. Exercise number 10b - page 3


Staging Database

©timeXtender Training. JetReports. Exercise number 10b - page 4


OLAP Server

©timeXtender Training. JetReports. Exercise number 10b - page 5

You might also like