COURSE OVERVIEW

Training Module:

Learn about the options for your Presentation Layer and why Date dimensions are relevant.

The Presentation Layer

Once data has been properly cleaned, consolidated and modeled it is made available to users. This final stage of the data warehouse is known as the Presentation Layer. Depending on the size and overall performance of your data warehouse resources, this layer may be a completely separate set of tables, or for reduced data duplication, you can simply keep the data right where it is.

In-place presentation layer

Because data is not moved again, this option results in better performance of overall data warehouse processing which makes it the ideal choice if processing speed is a higher priority than uptime.

To take this approach:

  1. Rename the Data Area to "MDW".
  2. Add a Database Schema named "MDW"
  3. On each table you wish to present to users:
    1. Right-click > Table Settings > Table Schemas > Valid schema: MDW

separate data area

By separating data cleansing and transformation from the Presentation Layer, you reduce risk of the presentation layer going offline due to unforeseen errors. This makes this the ideal choice if uptime is a higher priority than processing speed.


To take this approach, continue to the next tutorials below:

Add MDW Data Area

  1. Open the MDW Instance
  2. Right click on Data Areas > Add Data Area
  3. Enter name: MDW
  4. Click OK

Move Tables into the MDW

  1. Add the following tables to the MDW:
    1. Product
    2. Person
    3. Customer
    4. SalesOrderDetail

Rename Sales Order Detail

  1. In MDW rename the table SalesOrderDetail to SalesTransactions

what is a date dimension?

A Date dimension is a table in a data warehouse that maintain various attributes about any given day within a set period. For each date it has attributes for year, quarter, month, week, day of the week, weekend or weekday and so on. Similar to how other dimensions are used, the date dimension makes it easy to filter or categorize fact data based on certain date periods, allowing for efficient querying and analysis of time-based data.

By filtering on a single date dimension attribute, you could easily show:


  • What were the total sales for 2015?
  • Do sales dip on Wednesdays?
  • Did sales increase from Q1 to Q2?

Add a Date Table

  1. In MDW right click Tables > Add Date Table
    1. Name: Date
    2. Start Date: 2011-01-01
  2. Reorder the tables so the new Date table is first

Add Date Table Relations

  1. Create a relation from Date.DateValue to SalesOrderDetail.OrderDate
  2. Create a relation from Date.DateValue to SalesOrderDetail.ShipDate


configure incremental load

  1. Right-click MDW > Automate > Set up Incremental Load
  2. Select Fields to Include in Primary Key
    1. Check for accurate Primary Keys, click Next
  3. Select Fields for Incremental Selection Rule
    1. Click Auto Suggest, click Next
  4. Select Tables for Hard Deletes
    1. Don't select anything, click Next
  5. Select Tables for Soft Deletes
    1. Don't select anything, click Next
  6. Review Selections
    1. click Next
  7. Deploy & Execute the MDW.

Section Quiz...

Planning to take the Solution Architect exam? Then you want to be sure these questions are easy to answer.

When should you choose to keep your Presentation Layer "in-place"?

When should you Present your data in a separate Data Area?

Why would my Data Warehouse need a Date Dimension?

Brushstroke Arrow Smooth Curve Down Small

When you're ready, see Answers Bellow

Section Quiz Answers

Planning to take the Solution Architect exam? Then you want to be sure these questions are easy to answer.

When would you choose to keep your Presentation Layer "in-place"?



When processing speed is more important than uptime.

When should you Present your data in a separate Data Area?




When uptime is more important than processing speed.

Why would my Data Warehouse need a Date Dimension?




In order to easily filter related fact table measures based on various date related attributes.

Congratulations! You've completed the training module

Finalizing Modern

Data Warehouse

give FEEDBACK

Thumbs Up Illustration
Thumbs Up Illustration