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

Concepts

Bundled Metadata Properties ..

Concepts

Concept Editor

  1. Start Metadata Editor:

Windows (PowerShell):

Linux:

  1. Start the Pentaho Server (not required if using Pentaho Labs):

Windows (PowerShell):

Linux:

Follow the guide to define Concepts:

Define Concepts

In the OrderStarCustomer workshop, Concepts are reusable bundles of metadata properties that standardize how data is formatted and displayed across the metadata domain without requiring repetitive property configuration for each individual column.

This inheritance-based approach ensures consistent formatting across all reports generated from the metadata domain, automatically applying currency symbols, decimal places, thousand separators, and date formats whenever users create reports, while minimizing redundant property definitions and ensuring organizational standards are maintained throughout the BI environment.

Define Concepts
  1. Choose File>Open from the menu options, choose OrderStarMetadata in the Select a Domain dialog and click OK.

  2. From the menu options, choose Tools > Concept Editor .

  3. Click Base.

  4. Click Add Concept button.

Numeric

Using the Concept Editor, a hierarchy of parent concepts including Number (with mask #,##0 and right alignment).

  1. In the New Concept dialog, type Number and click OK.

New Concept
  1. In the Concepts pane, click Number.

  2. In the Properties section, for Available, click the Add Properties button.

  3. In the Add a defined property pane, scroll to Miscellaneous and select Mask for Number or Date.

Add Mask Property
  1. Click OK.

  2. In the Available pane, select Miscellaneous > Mask for Number or Date.

Set Text Alignment & Mask
  1. For Text Alignment, for Alignment Type, click the Override icon, and then choose Right. In theValue field, type: #,##0

Currency

Using the Concept Editor, a hierarchy of parent concepts including USCurrency (inheriting from Number with mask $#,##0.00;($#,##0.00)).

  1. Expand Concepts > Base and click Number.

  2. Click Add Concept button.

  3. In the New Concept dialog, type USCurrency and click OK.

  4. In the Concepts pane, click USCurrency.

  5. In the Available pane, select Mask for Number or Date.

  6. In the Miscellaneous section, for Mask for Number or Date, click the Override button.

  7. Change the Value to: $#,##0.00;($#,##0.00).

Set Currency Mask

ID

Using the Concept Editor, a hierarchy of parent concepts including ID (with mask # and no decimal places) & Hidden (marking fields as hidden from users).

Set Number mask & Hidden
  1. Expand Concepts > Base and click Number.

  2. Click Add Concept button.

  3. In the New Concept dialog, type ID and click OK.

  4. In the Concepts pane, click ID.

  5. In the Available pane, click Miscellaneous > Mask for Number or Date.

  6. In the Settings pane, in the Miscellaneous section, click the Override icon.

  7. For Mask for Number or Date, in the Value field, type #.

  8. In the Concepts pane, select ID and click New Concept.

  9. In the New Concept dialog, type Hidden and click OK.

  10. In the Concepts pane, select Hidden.

  11. In the Available pane, click Add New Property button.

  12. In the Add New Property dialog, scroll to Miscellaneous and select Hidden For the User?

  1. Click OK.

  2. In the Available pane, click Miscellaneous > Hidden For the User?

  3. In the Settings pane, check Hidden For the User?

You now have three defined concepts that can be used anywhere in your business model. Each concept serves a different type of business object: • Base for default, generic columns, • Number for those columns you know contain numeric financial data, and • ID for ID columns (the value is hidden from the user).

Date

Using the Concept Editor, a hierarchy of parent concepts including Date (with mask MM-dd-yyyy).

Set Mask for Date
  1. From the menu options, choose Tools > Concept Editor.

  2. In the Concepts pane, click Base.

  3. Click Add Concept button.

  4. In the New Concept dialog, type Date and click OK.

  5. In the Concepts pane, select Date.

  6. In the Properties section, for Available, click the Add Properties button.

  7. In the Add a defined property pane, scroll to Miscellaneous and select Mask for Number or Date.

  8. Click OK.

  9. In the Available pane, click Mask for Number or Date.

  10. In the Settings pane, for Mask for Number or Date, type: MM-dd-yyyy.

  11. Click OK and save your work.

Apply Concepts

These concepts are then applied to business columns in the Business View by right-clicking columns and selecting "Set Parent Concept"- for example, assigning the USCurrency concept to Price Sold and Total columns, the Number concept to Quantity Ordered, the Date concept to Order Date, Shipped Date, and Required Date, and the ID concept to Order Number.

Apply Concepts

Follow the guide to set and apply the Concepts:

Orders

In the Orders category of the OrderStarCustomer metadata domain, parent concepts are systematically assigned to each column to ensure consistent formatting and display behavior across all reports.

The ID concept is applied to Order Number to format it as a whole number identifier without decimal places. Quantity Ordered receives the Number concept, which applies right-aligned formatting with thousand separators (#,##0).

Financial columns Price Sold, Total Price, and Total are assigned the USCurrency concept, ensuring they display with dollar signs, two decimal places, and proper formatting for negative values ($#,##0.00;($#,##0.00)).

The three date columns—Order Date, Required Date, and Shipped Date—are assigned the Date concept to standardize their display format as MM-dd-yyyy.

This systematic application of parent concepts eliminates the need to configure formatting properties individually for each column and ensures that whenever users create reports using the OrdersStarCustomer data source, all numeric values display with thousand separators, currency values show proper dollar formatting, dates appear in consistent MM-dd-yyyy format, and identifiers display as whole numbers without decimals.

Set Orders Concepts
  1. In Metadata Editor, expand Business Models > OrdersStarCustomer > Business View > Orders.

  2. Right-click Order Number and choose Set Parent Concept.

Set Parent Concept - ID
  1. In the Select a Parent Concept dialog, choose ID and click OK.

Select ID Concept

  1. Right-click Quantity Ordered and choose Set Parent Concept.

  2. In the Select a Parent Concept dialog, select Number.

  3. Click OK.


  1. Right-click Price Sold and choose Set Parent Concept.

  2. In the Select a Parent Concept dialog, select USCurrency and click OK.

  3. Right-click Total Price and choose Set Parent Concept.

  4. In the Select a Parent dialog, select USCurrency and click OK.


  1. Right-click Order Date and choose Set Parent Concept.

  2. In the Select a Parent Concept dialog, choose Date and click OK.

  3. Right-click Required Date and choose Set Parent Concept.

  4. In the Select a Parent Concept dialog, choose Date and click OK.

  5. Right-click Shipped Date and choose Set Parent Concept.

  6. In the Select a Parent Concept dialog, choose Date and click OK.


  1. Right-click Total and choose Set Parent Concept.

  2. In the Select a Parent Concept dialog, choose USCurrency and click OK.

Customers

The majority of customer attributes—including Customer Name, Phone, all address fields (Address Line 1, Address Line 2, City, State, Postal Code, Country), Credit Limit, Territory, and Contact Name—are assigned the Base concept, which provides default metadata properties without specialized formatting masks.

The notable exception is Employee Number (Sales Rep Employee Number), which is assigned the Hidden concept, a child of the ID concept that not only formats the value as a whole number identifier but also marks the field as "Hidden For the User," preventing it from being visible in standard report interfaces.

This approach reflects that customer dimension data consists primarily of text fields that require standard display formatting, with only the sales representative employee identifier needing special handling to hide internal reference numbers from end users while maintaining proper numeric formatting when the field is accessed programmatically.

Hidden Concept
  1. In the Business View, expand Customers.

  2. Right-click Employee Number and choose Set Parent Concept.

  3. In the Select a Parent Concept dialog, choose Hidden and click OK.

  4. Verify your work and save your changes.

Products

The majority of product attributes—Product Name, Product Line, Product Scale, Product Vendor, and Product Description—are assigned the Base concept, providing standard metadata properties without specialized formatting since these are descriptive text fields.

The two pricing fields are assigned the USCurrency concept: Buy Price (wholesale or cost basis) and MSRP (Manufacturer's Suggested Retail Price) both receive currency-specific formatting with dollar signs, two decimal places, and proper negative value handling ($#,##0.00;($#,##0.00)).

This approach ensures that product dimension data displays with appropriate formatting for financial analysis and pricing strategy while maintaining simple text display for descriptive product attributes, allowing users to perform margin analysis and pricing comparisons with consistent, professionally formatted currency values across all reports.

  1. In the Business View, expand Products.

  2. Right-click Buy Price and choose Set Parent Concept.

  3. Select USCurrency and click OK.

  4. Right-click MSRP and choose Set Parent Concept.

  5. Select USCurrency and click OK.

  6. Verify your work and save your changes.

Publish OrdersStarCustomer Model

The final step is to publish the metadata domain to the BI server for use as a data source in the reporting tools.

Publish - OrdersStarCustomer
  1. Save the metadata domain by choose File > Save from the menu options or by clicking the Save icon.

  2. From the menu, choose File > Publish To Server.

  3. In the Publish To Server dialog, type or choose the following, and then click OK.

Field
Value

Server UserID

admin

Server Password

password

Domain Name

OrdersStarCustomer

Interactive Report

The final test is to create a test Interactive Report and check the Concepts have been successfully applied.

  1. Maximize the User Console browser window.

  2. From the Home Perspective, click Create New > Interactive Report.

  3. In the Select Data Source dialog, choose OrdersStarCustomer and click OK.

Data Source - OrdersStarCustomer

Create Interactive Report:

Test Interactive Report

The Categories and Columns created during the workshop are reflected in the layout. Employee Number does not appear in the Customers category - applied Hidden concept.

  1. To add Quantity Ordered, on the Data tab, double-click Quantity Ordered. Quantity Ordered is formatted using the Number concept.

  2. To add Price Sold, on the Data tab, double-click Price Sold. Price Sold is formatted using the USCurrency concept.

  3. To add Total, on the Data tab, double-click Total. Confirm the calculation of the Total column (Quantity Ordered*Price Sold).

  4. To add Order Date, on the Data tab, double-click Order Date. Order Date is formatted using the Date concept.

  5. To add Required Date, on the Data tab, double-click Required Date. Required Date is not formatted using the Date concept. This is because we did not change the Data Type for the Required Date (as for Order Date), so it is still being treated as a string. The Mark for Number or Date property can only be applied to numeric or date data types.

  6. To add Contact Name, on the Data tab, double-click Contact Name. Verify the formula for the Contact Name.

  7. Close the Interactive Report tab. It is not necessary to save.

Was this helpful?