Sales Analysis Dashboard
So we have the building blocks in place .. time to start bringing it all together with a Workshop that builds on the concepts learnt in 'My First Dashboard'.
In Layout tab:
Create the row and column structure
Name your HTML objects
In Data Sources tab:
Create your SQL queries
Test them to ensure they work
In Components tab:
Add all components
Configure their properties
Link to HTML objects
Set up listeners
Preview and test:
Use the preview button
Test all filters
Verify chart interactions
x
We're going to assume that the discovery phase has been completed and after iteration the initial dashboard design has been completed and signed off.
Key Features:
Interactive date range selection
Multi-select product line and country filters
Trend analysis chart
Product distribution pie chart
Detailed data table with pagination
Auto-updating components when filters change

Log into the Pentaho Server.
Select: Browse Files.
Create the following folders

In the Pentaho User Console (PUC) and select from the menu: File -> New -> CDE Dashboard.
Click on the Template option.
Select: Empty Sample.

Click on: Settings and enter the following details:

Enter the following details:

Click Ok.
x
x
The mock-up now needs to be 'mapped' to CDE Layout.
We'll be using the 'Bootstrap' template.
x
Following the CDA structure for a datasource type = sql.jdbc
Define the CDA connection to: sampledata database.
Upload the sampledata.cda file to: /Public/CTools-Dashboards/5min-Dashboard directory on the Pentaho Server.
Further details on the SQL Query.
FROM and JOIN Clauses:
Table Relationships:
ORDERS(o): Main table containing order headersPrimary Key: ORDERNUMBER
Contains: ORDERDATE, STATUS, CUSTOMERNUMBER
ORDERDETAILS(od): Contains individual line itemsComposite Key: ORDERNUMBER, PRODUCTCODE
Contains: QUANTITYORDERED, PRICEEACH
PRODUCTS(p): Product catalogPrimary Key: PRODUCTCODE
Contains: PRODUCTNAME, PRODUCTLINE
CUSTOMERS(c): Customer informationPrimary Key: CUSTOMERNUMBER
Contains: CUSTOMERNAME, COUNTRY
Ordering:
Sorts results first by date
Then by order number for orders on the same date
And finally .. test the sampledata.cda connection.
x
x
Was this helpful?
