Time for action – adding a Fact relationship

As a business requirement, you need to add the order line number as a dimension attribute and show it in the browser. As you know, in the current cube, we have an Internet Sales measure group, which has some measures such as order quantity and sales amount, but we need to fetch the order line number from FactInternetSales as a dimension attribute (this is degenerate dimension, which is explained clearly in Chapter 1, Data Warehouse Design).

Perform the following steps to add a Fact relationship:

  1. Open the Data Source View designer and explore data in the FactInternetSales table. You will see that there is a SalesOrderNumber and SalesOrderLineNumber column there. In this exercise, we will create a dimension ...

Get Microsoft SQL Server 2014 Business Intelligence Development: Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.