Steel Wheels
Walk-through of existing model ..

Ensure Pentaho Server is running:
Follow the guide below to understand how a Schema is defined:
JDBC Connection
Before creating a schema, you must configure a database connection in the Managed Data Sources and provide essential connection parameters including the connection name, database type (such as Hypersonic, MySQL, Oracle, or PostgreSQL), access method (Native JDBC), host name, database name, port number, and authentication credentials.
Semantic Model Editor supports a vast range of relational databases through JDBC drivers, allowing you to connect to most common database systems.
Log into Pentaho Server > Managed Data Sources.
From the drop-down menu, Select: New Connection.

In the Database Connection dialog, type or choose the following:
Connection name
SampleData (you cannot use reserved charaters in the connection name)
Connection type
hsqldb
Host Name
localhost
Database Name
sampledata
Port Number
9001
Username
pentaho_admin
Password
password

Click Test.
Click OK to dismiss the Message Box dialog and click OK to close the Database Connection dialog.
Steel Wheels Schema
The SteelWheels schema is a comprehensive Mondrian analysis schema built on the SampleData database that demonstrates enterprise-level dimensional modeling for sales analytics. The schema centers around the Sales_2003_2005 cube, which uses the ORDERFACT fact table containing transactional sales data spanning three years.
It features five well-designed dimensions:
Markets dimension with a four-level geographic hierarchy (Territory, Country, State/Province, City) for location-based analysis;
Customers dimension with customer-level details and six member properties providing rich customer attributes;
Products dimension for product categorization and analysis;
Time dimension enabling temporal analysis across years, quarters, and months;
Order Status dimension, which serves as an example of a degenerate dimension existing within the fact table without a separate dimension table.
The schema includes multiple measures such as Quantity and Sales with appropriate aggregators and format strings, making it an ideal reference model for understanding how complex business requirements are translated into functional OLAP cubes that support interactive reporting and analysis in Pentaho Analyzer.
Log into the Pentaho User Console (PUC).
Open the 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 Model Editor.
If you are using the Classic Design of PUC, click File > Model Editor.
The Semantic Model Editor opens.

The Semantic Model Editor opens.

Click Import. The Please Select Data Source window opens.

Select: SteelWheels > Import

The JDBC data connection retrives the schema & tables.
To start defining the model you just darg & drop the required tables onto the canvas. You can also click on the
to Preview the data.
The Canvas will display the name of the cube: Sales_2003_2005. This is editable.
When you place your cursor on the canvas further options enable you to add measures & degenerate dimensions along with, collapse all nodes, hide cube edges (relationships).
To view the XML schema, select Advanced tab.

To preview the Fact table data, click
Table: ORDERFACT.


Click on the 3 dots to edit the Fact Table - just the Alias!

In the Model Structure panel, select & expand CUSTOMERS.

The following actions are available:
Enable you to edit & apply the required settings at: Dimension Hierarchy Level
Preview the table data
Indicates the Key that is used to define the relationship - join - with the FACT table.
Place your cusor over the 'Relationship' to view the corresponding Key in the FACT table.

The Customer Level also has a number of Properties. Currently these are only displayed in the XML - </> Advanced tab.

To view Annotations, again take a look at the Country Level under the MARKETS Dimension > Markets Hierarchy.

Expand the Time Dimension.

Edit Years. Notice the Level Type has been set as TimeYears.

Expand the Degenerate Dimension - ORDERSTATUS.

Finally .. highlight the Sales measure.

Edit the measure to see how its configured.

Last updated
Was this helpful?
