In Data mode, you can combine cubes to synchronize your data.
You can combine more than two cubes at once:
- The first cube, the primary cube, is combined with a first secondary cube.
- The other secondary cubes are then successively combined with the result of the previous combination.
- When all cubes have been combined, the resulting cube defines the objects and dataset of the final combined cube.
Select the cubes to combine in the Graph Panel.
In the Graph Panel toolbar, select the Create Cube button.
The Create Cube dialog box opens. The first selected cube is displayed as the primary cube, whereas the second one is used as secondary cube for the first combination.
In the Operators dropdown menu, select the operator to apply (Left join by default).
List of operators:
- Left Join: Returns all rows from the primary cube plus additional data in columns of the secondary cube for which a common key exists
- Full Join: Returns all rows from both the primary and secondary cubes, even if no common key exists. If a common key exists, then additional data in columns of the other cube is added.
- Inner Join: Returns only rows and columns from the primary and secondary cubes for which a common key exists.
- Left Join without intersection: Returns the rows from the primary cube for which no common key has been found in the secondary cube.
- Full Join without intersection: Returns the rows from each cube for which no mapping has been found in the other cube.
- Append Cube: Returns the rows of the primary cube followed by the rows of the secondary cube.
Select the Add Keys button to open the Edit Keys dialog box. It displays the objects of the two cubes in two separate columns.
Select an object in each column to map them and create a key. These objects are moved up, in the Selected Keys section. Repeat this step to create as many keys as needed.
Choose OK to validate the selected keys.
Click Create to finalize the combined cube creation.
The new created cube is displayed in the Graph Panel and in the Main Side Panel → Document Dictionary tab. It is linked to its parent cubes and is identified with the Operator icon if it has only two parents or the Combined Cube icon if it has more than two parents.