Add a fact table to a cube
Add a fact table that contains the data from a semantic model’s physical connection that you want aggregated in a cube. You can either create a new cube while adding the fact table or add the fact table to an existing cube.
Complete the following steps to add a table or view as a fact table for a cube:
Log into the Pentaho User Console (PUC).
Open the Semantic Model Editor by taking one of the following actions:
If you are using the Modern Design of PUC, in the menu on the left side of the page, click Semantic Model Editor.
If you are using the Classic Design of PUC, click File > Semantic Model Editor.
The Semantic Model Editor opens.
Open the semantic model to which you are adding a cube or editing a cube by completing the following sub steps:
In the Semantic Models list, navigate to the model you want to open by searching or scrolling through the list.
Click Open. The model opens in the canvas.
In the Data Source tab, navigate to the table or view that you want to use as a fact table.
(Optional) To preview data in the table or view, click the Preview icon next to the table or view. The Preview Data panel opens. You can take one or more of the following additional actions while previewing the data:
Hover over a column header to see metadata information for that column.
Click a column header to sort the table by the data in that column.
Click the Preview icon again to close the Preview Data panel.
Use one of the following options to add the table or view as a fact table:
For an existing cube that does not already have a fact table, drag and hold the table or view over the cube until the Do you want to: dialog opens, and then drop the table or view onto the Use as Fact Table option.
To create a new cube, drag and hold the table or view over a blank area of the canvas until the Do you want to: dialog opens, and then drop the table or view onto the Use as Fact Table option.
The table or view is added to the cube as a fact table.
(Optional) If you created a new cube, change the name of the cube by clicking the name to make it editable and then enter a new, unique name for the cube.
Click Save to save changes to the model.
Last updated
Was this helpful?

