Exercise – creating Facts

In this exercise you will learn to create Facts. Take the following steps:

  1. Open your newly created MicroStrategy Essentials project then import the Table MNTH_CATEGORY_SLS and update the Schema (hint: use the Warehouse Catalog). You can refer to the previous table exercise if you get stuck.
  2. Go to the Facts folder (under Schema Objects) and right-click New | Fact.

The Fact Editor has two windows. The inner one is the Fact Expression editor while the outer one is the Fact Editor, shown as follows:

Fact Expression editor ad Fact Editor
  1. In the Expression editor, make sure the Source table dropdown shows the MNTH_CATEGORY_SLS table.
  2. Double-click on TOT_DOLLAR_SALESOK. The automatic mapping method will relate this object to any other table in the Project where this specific expression exists.
  1. Review your Fact. Check the expression on the upper pane and the related source table(s) on the lower pane, shown as follows:

Reviewing your Facts
  1. Save and Close on the Fact Editor. Leave the default object name as Tot Dollar Sales.

You can update the Schema now or wait until you create or modify multiple Schema Objects.

  1. Repeat the above process for the GROSS_DOLLAR_SALES Fact.
  2. Update Schema. This finalizes the exercise.

Note: MicroStrategy Facts can't be used directly on Reports. It is necessary to create an Application Object on top (Metrics) that will describe the aggregation function and aggregation level for the business measure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.206.26