For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extended Model

Adding advanced model capabilities ..

Workshop - Building a Multidimensional Data Model

Extended Schema - Miniature Models

  1. Start Schema Workbench:

Windows (Powershell):

Linux:

  1. Ensure Pentaho Server is running:

Follow the guide below to Extend the Miniature Models Schema:

Markets Dimension

We're going to extend the model by adding a MARKETS dimension that will enable users to drill down into the data by geo.

  1. To add a MARKETS dimension, in the left pane, right-click Sales Cube, and click Add Dimension.

Add Dimension - MARKETS
  1. To create the MARKETS dimension, type or choose:

Attribute
Value

name

MARKETS

ForeignKey

CUSTOMERNUMBER

  1. To view the hierarchy, in the left pane, expand MARKETS, and then click New Hierarchy 0.

  2. To add the CUSTOMER_W_TER table, right-click New Hierarchy 0, and click Add Table.

  3. Click in the Value for schema and select PUBLIC.

  4. Click in the Value for name and select CUSTOMER_W_TER, and press Tab.

  5. To name the hierarchy and set the primary key, click New Hierarchy 0.

  6. To create the Markets hierarchy, type or choose:

Attribute
Value

name

Markets

allMemberName

All Markets

primaryKey

CUSTOMERNUMBER

  1. To add a level, in the left pane, right-click the Markets (hierarchy) under MARKETS and select Add Level.

  2. To define the Territory level, type or choose:

Attribute
Value

name

Territory

column

TERRITORY

type

String

uniqueMembers

Selected

levelType

Regular

hideMemberIf

Never

  1. To add another level, in the left pane, right-click the Markets (hierarchy) under MARKETS and select Add Level.

  2. To define the Country level, type or choose:

Attribute
Value

name

Country

column

COUNTRY

type

String

levelType

Regular

hideMemberIf

Never

  1. To add another level, in the left pane, right-click the Markets (hierarchy) under MARKETS and select Add Level.

  2. To define the State level, type or choose:

Attribute
Value

name

State Province

column

STATE

type

String

levelType

Regular

hideMemberIf

Never

  1. To add another level, in the left pane, right-click the Markets (hierarchy) under MARKETS and select Add Level.

  2. To define the City level, type or choose:

Attribute
value

name

City

column

CITY

type

String

levelType

Regular

hideMemberIf

Never

x

Was this helpful?