Creating joins between tables

Joins between tables in a business cube can be created in the following methods:

Creating joins manually

To create joins manually, tables must be retrieved from a database and a relationship, called a join condition, must be specified between at least one column from each table. To do this:

  1. In the Business Cube - Join Editor window, position the mouse pointer over the field that will be the source of the join.
  2. Click and hold the left mouse button while moving to the destination field.
  3. The join relationship is then established between the tables. When more than one relationship is required between two tables, you can create multiple joins between them.
Creating joins automatically

Joins can also be made automatically by selecting the corresponding item from the Auto Join command of the Table menu in the Business Cube - Join Editor window. You can choose to automatically join tables either By Name or By Primary Key.

Creating joins by inheriting data source pre-joins

If the Pre-join feature is enabled for a data source connection, when you create joins for business cubes in this data source, the joins can be inherited from pre-joins of the data source.

To make business cube joins inherit from data source pre-joins:

  1. Make sure the Prejoin property of the data source connection is set to true (see details).
  2. In the Business Cube - Join Editor window, click Table > Add Table.
  3. In the Add Table dialog, add the required tables to the business cube and click Done.

    Tables that have been defined some pre-join relationships in the data source will be automatically joined together.

When you use pre-joins for creating business cube joins, you may meet the following cases:

Notes: