Creating a Data Model

A Data Model is the organizational entity that contains a BI Server's Data Tables, Data Views, and Relationships. All data to be queried from the BI Server will originate from a Data Model.

To create a data model:

  1. Open the Workbench, then expand Analytics node in Project Explorer and then expand the BI Server node. Right-click on Data Models (or a Data model folder), then select Add Data Model, as shown below.

    BI Data Models - 1

    You can also select Data Models (or a Data Model folder), then select Add Data Model (shown below) in the Edit section of the Home tab in the Workbench.

    BI Data Models - 2

  2. This opens the New Data Model Properties window, shown below.

    BI Data Models - 3

  3. Enter a name for the Data Model and click on the Apply button to save the Data Model you created.

The Model Diagram section will appear blank until data tables are added to the Data Model in the Project Explorer tree. Once Data Tables have been added, the Model Diagram is where relationships between those tables are defined. Select Refresh after adding Data Tables to see them appear in the model diagram.

The Model Properties panel can be used to specify a description for the Data Model and whether the Data Model should be online or offline. Newly created Data Models are offline by default. Offline Data Models are not loaded by the BI Server runtime and are not available to clients.

When your model is ready to be used by clients, it should be put online. All the Data Flows associated with the tables in the model will be executed, and the output datasets loaded in the Data Model’s tables.

Offline is the recommended setting while configuring a new Data Model. When a model is offline, the BI Server runtime does not have to track changes made to the configuration and load unnecessary or partial data while major changes to the Data Model are being made. This is a recommendation for efficiency only. Changes to an online Data Model are fully supported and processed by the BI Server runtime.
You can organize your Data Models in logical groups by making use of Data Model folders in the Project Explorer.

BI Data Models - 4