Hitachi Vantara Pentaho Community Wiki
Child pages
  • Evaluating Pentaho Analysis

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
MDX Usage&nbsp;&nbsp;&nbsp; :&nbsp; select \[<Dimension name>\].\[<Hierarchy name\] on columns from \[<Cube name>\]
Wiki Markup

MDX Example:&nbsp; select \[Category\].\[All Categories\] on columns from \[My Cube\] !mdx.png!

Image Added

You should get something similar to this back:

...

  1. Log in to the Pentaho User Console using a web browser: http://localhost:8080/pentaho
  2. Select File, New, Analysis View
  3. Select the appropriate schema and cube that you published
  4. Click OK
     

Image Modified
 
Your view will display in a tab to the right
  Image Modified

A word on editing and then re-publishing or saving a Schema

Please note that any changes/updates/additions made to the ROLAP Analysis Schema using Schema Workbench or another editor (such as Design Studio or text editor) will require a refresh of the Pentaho Solution Repository and a refresh of the Mondrian Schema Cache. This can be done in the Pentaho User Console.

  1. Log in to the Pentaho User Console with an Admin equivalent ID
  2. Tools, Refresh, Repository Cache
  3. Tools, Refresh,  Mondrian Schema Cache

These steps ensure that you are using the latest versions of the ROLAP schema when creating or using Pentaho Analysis Views.

Manually Creating the Pentaho Analysis View Action Sequence (advanced)

Follow the instructions below to create the action sequence :manually that will display a Pentaho Analysis View. (This is a way where you can create the Pentaho action sequence manually to create the Pentaho Analysis View.) The advantage here is that you can have added control over the Pentaho Analysis query and the tool bar buttons available in the Pentaho Analysis Viewer. Users who are already familiar with Pentaho Design Studio and parameterized queries will be able to work with this section more effectiely.

  1. In the Pentaho Design Studio, select your solution path, right-click the folder, and select BI Platform > New Action Sequence.
     

     
  2. Enter the name for action sequence
  3. Select Create Analysis View in the Template drop down and click Finish
     

     
  4. Select Analysis View under Process Actions.
  5. Modify the Data Model and Data Source parameters accordingly. The Data Model is the path location and XML file you saved in Step 1 under Publishing your Analysis Schema Model on the Pentaho Open BI Server. The Data Source is the JNDI name you used when creating your data source in the section, Configuring your RDBMS JNDI data source on your application server, or the name you gave the data source in the Admin Console when using version 2.0 BI Server.
  6. Leave "default" as the query, later you can copy the MDX from the Analysis View MDX editor window and paste in
    this query dialog to create parameterized and more advanced Pentaho Analysis Views.
     

     
  7. Save and test your Pentaho Analysis View using the URL with the appropriate solution= and path= directory names where you saved your .xaction and file.mondrian.xml files. You can use the TEST tab in Design Studio or copy and paste the URL into a browser or access it from the Pentaho Solution Repository via the Pentaho User Console.