O'Reilly logo

Microsoft Tabular Modeling Cookbook by Paul te Braak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Role playing dimensions and relationships

Role playing dimensions are dimensional structures that are re-used throughout the model. The use of a role playing dimension can simplify model maintenance because only one physical structure is created and it is used many times.

Consider the Sales_Header table that has been used in this chapter. It includes three date fields (for Order Date, Due Date, and Ship Date). One date table can be used to reference all three columns.

Getting ready

This workbook model continues with the sales data that has been used so far in this chapter. However, unlike previous models, which focused only on the Sales Amount values that were ordered, we show the value of products that were shipped and delivered.

How to do it…

  1. Open ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required