Professional Documents
Culture Documents
Pentaho Metadata Editor Walkthrough Guide: Respective Owners. For The Latest Information, Please Visit Our Web Site at
Pentaho Metadata Editor Walkthrough Guide: Respective Owners. For The Latest Information, Please Visit Our Web Site at
Copyright 2005 Pentaho Corporation. Redistribution permitted. All trademarks are the property of their respective owners. For the latest information, please visit our web site at www.pentaho.org
Contents
Introduction.............................................................................................................................................................................3 Installation...............................................................................................................................................................................3 Running the Medata Editor.....................................................................................................................................................3 Creating a sample Pentaho Metadata Model..........................................................................................................................3 Connect to your data...............................................................................................................................................................3 Choose the tables to be used in your Business Models..........................................................................................................4 Add Calculated Column to Physical Tables............................................................................................................................5 Localize the Business Model and Business Views..................................................................................................................7 Build Business View...............................................................................................................................................................8 Create Categories...................................................................................................................................................................11 Creating a Query using the Metadata Model...........................................................................................................................13 Publishing a Metadata Model..................................................................................................................................................17
PentahoTM
Introduction
Pentaho Metadata Editor is a tool that maps the physical structure of your database into a logical business model. These mappings are stored in a centralized metadata repository and allow administrators to: create business-language definitions for complex or cryptic database tables and columns set security parameters limiting user's report access to data drive formatting on text, date and numeric data improving report maintenance localize the information depending on the user's regional settings.
Installation
To install, unzip the contents in a folder.
PentahoTM
PentahoTM
PentahoTM
Enter the name of the new physical column, PC_TOTAL. Select OK.
Set the following, the select OK. Aggretation Rule = Sum. Formula = SUM(QUANTITYORDERED*PRICEEACH) Field Type=Fact
PentahoTM
Add fr_FR for French (France) and de_DE for German (Germany).
PentahoTM
When the first table is dropped, the application will prompt to name the Business View. Change the Name in Business View properties area to Orders.
Note: Here you can also enter the localized names too.
PentahoTM
Set Relationships
PentahoTM
PentahoTM
Create Categories
Select the Categories editor.
PentahoTM
Select Close.
Note: Categories allow any column fields from any Business Table to be grouped together and in any order. To add a new category, select the New button and name your category. Then, add the specific columns from the Business Tables into the category. Save Model.
PentahoTM
PentahoTM
Add the columns to The selected columns and The order by clause. Then select SQLbutton.
PentahoTM
Select OK.
PentahoTM
To display the Metadata query, save the query to the file system.
PentahoTM
Copy the metadata.xmi file on the root of a solution in the file-based Solution Repository (e.g. pentahodemo/ pentaho-solutions/samples/metadata.xmi
PentahoTM
Navigate to the Admin page of the PCI. Click on 'Reporting Metadata' in the 'Refresh' section. The Pentaho platform checks in the top-level folders of each solution for files called metadata.xmi. It does not look in any other folder or for XMI files with any other name.
PentahoTM