Don't worry about all he features & options .. We'll be diving into each perspective in the next set of workshops.
To create a New Dashboard
Log in Pentaho Server -> Create New -> CDE Dashboard.
Click on the Template option.
Select: Two x One Template
The resulting Dashboard is composed of:
• 5 main rows
• body row is split into 2 columns
• the first column is split into a further 3 rows
• the first & third rows have columns which hold Panel_1 & Panel_2
• Panel_3 is held in the second column
• further rows define header, footer and spacers
Click on 'Save as ..' in the toolbar & enter the following details.
Preview the dashboard (eye icon - top right).
Bit of background info ..
Schema WorkBench is a Pentaho Design Tool used to define a multidimensional MDX schema.
• Cube - is the FACT table in a STAR schema.
• Dimensions - map to the database tables.
• Levels - map to the database columns in the table. The order defines the 'paths' you can take to 'slice& dice' the data.
If you need to 'slice & dice' your data, then you will have spent many hours in Schema Workbench, defining your OLAP reporting cubes.
CTools - OLAP Chart Wizard - can leverage the schema.xml that connects to the underlying sampledata database tables.
You can test MDX queries against your cubes..
Add a Chart
Select: Connection Perspective.
Click on OLAP Chart Wizard & enter the following details:
Save & Preview dashboard.
Looks like we made need to apply a few tweaks to align and so on ..
Let's add our other Charts and then take a look at the Chart Components.
Again .. Click on the OLAP Chart Wizard & enter the following details:
Again .. Click on the OLAP Chart Wizard & enter the following details:
These components are configured with a set of Properties.
Chart Component
Click on the Components option in the toolbar.
As you can see .. the Wizard has automatically added 3 Chart components with their associated properties.
Highlight the CCC Pie Chart Component.
Edit the following property values:
Highlight the CCC Line Chart Component.
Edit the following property values:
Highlight the CCC Bar Chart Component.
Again Save & Preview the dashboard.
Unless you have previously created the Charts, you will need to make some adjustments to the Layout.
Click on the Layout option and enter the following details:
Layout Structure
Property
Value
The Steel Wheels Inc sampledata dataset resides on a MariaDB.
Based on the ER diagram, we can build our SQL Query, restricting to YR 2004.
Download the MariaDB JDBC driver.
cd
cd /opt/pentaho/server/pentaho-server/
sudo ./stop-pentaho.sh
Copy the driver to the ~/opt/pentaho/server/pentaho-server/tomcat/lib/ directory.
Restart the Pentaho Server.
cd
cd /opt/pentaho/server/pentaho-server/
sudo ./start-pentaho.sh
Once logged in select: Manage Data Sources.
Click on the Cog wheel and from the drop-down menu, select: New Connection
Enter your connection details in the selected database panel.
Test the database connection.
If connecting to a Mondrian schema, ensure the connection name is the same as the schema connection name.