> For the complete documentation index, see [llms.txt](https://academy.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.pentaho.com/business-analytics-path-sandbox/business-analytics/level-2-associate.md).

# Level 2 — Associate

Level 2 of the Business Analytics path: the four Analytics Developer courses — Schema Workbench, Metadata Editor, Report Designer and CTools. 86 lessons across 32 modules.

{% hint style="warning" icon="eye" %}
**SANDBOX — draft page.** Built from the four rebuilt courses in Pentaho Content Manager — `bi-developer-sw-associate` 0.1.9, `bi-developer-me-associate` 0.1.10, `bi-developer-rd-associate` 0.1.9 and `bi-developer-ct-associate` 0.1.8. Module and lesson names, the reading-or-workshop kinds and the times come straight from each lab's manifest; the prose is drafted from the courses' own module summaries. Items marked REPLACE-ME need an owner's confirmation.
{% endhint %}

Level 1 taught you to use the Business Analytics tools — Interactive Reports, Analyzer and dashboards in the User Console. Level 2 is the Analytics Developer track, where you build what those tools run on, and what they can't do: the Mondrian cubes Analyzer slices, the metadata domains Interactive Reports query, print-quality parameterised reports in Report Designer, and fully custom CTools dashboards. Four courses, taken in order — Schema Workbench, Metadata Editor, Report Designer, CTools — each with its own labs and its own embedded exam.

{% columns %}
{% column %}

<p align="center"><i class="fa-file-lines" style="color:green;">:file-lines:</i><br><strong>86 lessons</strong><br><em>across 32 modules in 4 courses</em></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-flask" style="color:orange;">:flask:</i><br><strong>49 workshops</strong><br><em>hands-on labs</em></p>
{% endcolumn %}

{% column %}

<p align="center"><i class="fa-clock" style="color:cyan;">:clock:</i><br><strong>~43h 40m</strong><br><em>self-paced, over several weeks</em></p>
{% endcolumn %}
{% endcolumns %}

{% hint style="success" icon="cloud-arrow-up" %}
Every workshop is hands-on and runs on Pentaho's hosting platform. The Lab Guide is embedded in each lab and loads automatically when you open it — nothing to install.
{% endhint %}

***

<h3 align="center">Before you start</h3>

{% columns %}
{% column %}
{% hint style="success" icon="circle-check" %}
**What you'll need**

Level 1 — Practitioner course accreditation, or equivalent day-to-day use of Interactive Reports, Analyzer and Dashboard Designer. The courses model and report on the Steel Wheels SampleData schema, so comfort with relational tables, keys and basic SQL will make the labs quicker — but every step is shown. The CTools course goes furthest from the point-and-click tools: it helps to have seen a little HTML, CSS and JavaScript.
{% endhint %}
{% endcolumn %}

{% column %}
{% hint style="info" icon="tag" %}
**Built against**

Pentaho Enterprise Edition **11.0.0.0-232**, the build every course on the Academy runs — the Pentaho Server and the Schema Workbench, Metadata Editor and Report Designer design tools that ship with it. The hosted labs run this exact release, so every screen, menu and dialog matches the guide step for step.
{% endhint %}
{% endcolumn %}
{% endcolumns %}

***

{% hint style="info" icon="cube" %}

#### What you'll build

Everything sits on the same Steel Wheels data. In Schema Workbench: the Steel Wheels cube explored, the Classic Models cube built step by step, the Miniature Models cube built independently — then extended with time and geographic dimensions and calculated members, queried in MDX, locked down with four Mondrian roles, translated into French and sped up with aggregate tables, ending in a Budget v Actual schema of your own for the finance team. In Metadata Editor: the OrdersME star-schema domain built from scratch, enriched with inherited properties and reusable concepts, secured with row-level constraints, and the Trailhead Outfitters capstone — a MySQL sales database modelled from an empty domain to a published, secured domain and proven with three users in Interactive Reports. In Report Designer: reports grouped, totalled, conditionally formatted, parameterised, charted with drill-down sub-reports, published to the repository with hyperlinks and burst by territory to each regional manager by email, ending in a Regional Sales report capstone. In CTools: a Carrier dashboard built three ways (CDF, CDE, CGG) over CDA data sources, and a Retail Sales analysis dashboard as the closing use case.
{% endhint %}

```mermaid
%%{init: {"theme":"base","themeVariables":{"fontFamily":"Arial, Helvetica, sans-serif","fontSize":"13px","lineColor":"#64748b","clusterBkg":"#fafaf9","clusterBorder":"#d6d3d1","edgeLabelBackground":"#ffffff"},"flowchart":{"curve":"basis","nodeSpacing":28,"rankSpacing":44,"padding":22,"wrappingWidth":600,"htmlLabels":true}}}%%
flowchart TB
  classDef input fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a,text-align:left,rx:6,ry:6
  classDef tool fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a,text-align:left,rx:6,ry:6
  classDef server fill:#ede9fe,stroke:#6d28d9,color:#3b0764,text-align:left,rx:6,ry:6
  classDef model fill:#ccfbf1,stroke:#0f766e,color:#134e4a,text-align:left,rx:6,ry:6
  classDef browser fill:#fef3c7,stroke:#b45309,color:#78350f,text-align:left,rx:6,ry:6
  DATA[("<b>Steel Wheels SampleData</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>relational tables&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")]:::input
  SWB["<b>Schema Workbench</b>&nbsp;&nbsp;&nbsp;&nbsp;<br/>a Mondrian schema: cubes,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>dimensions, measures, MDX,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>roles, aggregate tables&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"]:::model
  ME["<b>Metadata Editor</b>&nbsp;&nbsp;&nbsp;&nbsp;<br/>a metadata domain: physical layer,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>business model, concepts,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>row-level security&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"]:::model
  RD["<b>Report Designer</b>&nbsp;&nbsp;&nbsp;&nbsp;<br/>print-quality reports: groups,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>totals, parameters, charts,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>sub-reports&nbsp;&nbsp;&nbsp;"]:::tool
  CT["<b>CTools</b>&nbsp;&nbsp;&nbsp;<br/>custom dashboards: CDA data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>sources, CDF and CDE with&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>CCC charts, CGG&nbsp;&nbsp;&nbsp;&nbsp;"]:::tool
  SRV["<b>Pentaho Server</b>&nbsp;&nbsp;&nbsp;&nbsp;<br/>everything is published&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>to the repository&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"]:::server
  AN["<b>Analyzer</b>&nbsp;&nbsp;&nbsp;<br/>queries the cube&nbsp;&nbsp;&nbsp;&nbsp;"]:::browser
  IR["<b>Interactive Reports</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>query the domain&nbsp;&nbsp;&nbsp;&nbsp;"]:::browser
  PUC["<b>User Console</b>&nbsp;&nbsp;&nbsp;<br/>runs the reports and dashboards&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"]:::browser
  DATA -->|"model it&nbsp;&nbsp;&nbsp;"| SWB
  DATA -->|"model it&nbsp;&nbsp;&nbsp;"| ME
  SWB -.->|"a data source for&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"| RD
  ME -.->|"a data source for&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"| CT
  RD --> SRV
  CT --> SRV
  SWB --> SRV
  ME --> SRV
  SRV -->|"the cube&nbsp;&nbsp;&nbsp;"| AN
  SRV -->|"the domain&nbsp;&nbsp;&nbsp;"| IR
  SRV -->|"reports, dashboards&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"| PUC
```

<p align="center"><em>What each of the four courses builds, where it is published, and which Level 1 tool runs on it.</em></p>

***

<h3 align="center">Skills you'll gain</h3>

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><i class="fa-cubes" style="color:blue;">:cubes:</i> <strong>Mondrian cubes — Schema Workbench</strong></td><td>Cubes, dimensions, hierarchies and measures · calculated members · MDX and named sets · Mondrian security · French localisation · aggregate tables · the Budget v Actual capstone</td></tr><tr><td><i class="fa-sitemap" style="color:blue;">:sitemap:</i> <strong>Metadata domains — Metadata Editor</strong></td><td>Physical layer, business models and views · the OrdersME star schema · inherited properties and reusable concepts · row-level security · the Trailhead Outfitters capstone</td></tr><tr><td><i class="fa-file-invoice" style="color:blue;">:file-invoice:</i> <strong>Print-quality reports — Report Designer</strong></td><td>JDBC data sources and queries · elements and groups · totals and conditional formatting · parameters · charts, drill-down and sub-reports · publishing with hyperlinks · bursting by territory</td></tr><tr><td><i class="fa-chart-pie" style="color:blue;">:chart-pie:</i> <strong>Custom dashboards — CTools</strong></td><td>CDA data sources · CDF and CDE dashboards with CCC charts · CGG graphics · the Carrier and Retail Sales dashboards</td></tr></tbody></table>

***

<h3 align="center">Course outline</h3>

<p align="center"><i class="fa-file-lines" style="color:green;">:file-lines:</i> reading · <i class="fa-flask" style="color:orange;">:flask:</i> hands-on workshop</p>

{% hint style="info" icon="circle-info" %}
Full lessons unlock once you're enrolled — this is the outline only. One tab per course, in the order you take them; times are the lab guides' own estimates.
{% endhint %}

{% tabs %}
{% tab title="Schema Workbench" %}

<p align="center">Hands-on workshop for the Analytics Developer. Build, extend, and publish Mondrian schemas with Pentaho Schema Workbench — cubes, dimensions, hierarchies, levels, measures, calculated members, named sets — and query them with MDX.</p>

<p align="center"><strong>18 lessons · 9 modules · ~11h</strong></p>

<table data-search="false"><thead><tr><th width="352">Module</th><th width="115" align="center">Reading</th><th width="132" align="center">Workshops</th><th width="100" align="right">Time</th></tr></thead><tbody><tr><td>Getting Started</td><td align="center">1</td><td align="center">—</td><td align="right">~5m</td></tr><tr><td>Key Concepts &#x26; Terminology</td><td align="center">1</td><td align="center">—</td><td align="right">~20m</td></tr><tr><td>Schemas</td><td align="center">1</td><td align="center">3</td><td align="right">~2h 25m</td></tr><tr><td>Extend Model</td><td align="center">1</td><td align="center">2</td><td align="right">~1h 20m</td></tr><tr><td>MDX Query</td><td align="center">1</td><td align="center">2</td><td align="right">~45m</td></tr><tr><td>Data Security</td><td align="center">1</td><td align="center">1</td><td align="right">~2h 30m</td></tr><tr><td>Localization</td><td align="center">1</td><td align="center">1</td><td align="right">~1h 20m</td></tr><tr><td>Performance</td><td align="center">—</td><td align="center">1</td><td align="right">~45m</td></tr><tr><td>Capstone Project</td><td align="center">—</td><td align="center">1</td><td align="right">~1h 30m</td></tr><tr><td><strong>Total</strong></td><td align="center"><strong>7</strong></td><td align="center"><strong>11</strong></td><td align="right"><strong>~11h</strong></td></tr></tbody></table>

{% stepper %}
{% step %}

### <i class="fa-rocket" style="color:blue;">:rocket:</i> Getting Started

`1 reading · ~5m`

How to get the most out of this guide, and how to set your machine up — whether you are on a lab VM or installing Pentaho Server and Schema Workbench on your own laptop.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FffqbgBXsKxUu7sZftEtd%2Fsw-lab-setup.svg?alt=media" alt="Schema Workbench reads tables and columns from the SampleData HSQLDB database on port 9001 and publishes schemas to Mondrian on the Pentaho Server; Analyzer sends MDX to Mondrian, which sends SQL to SampleData through the hsqldb_sampledata data source; the server keeps its repository in PostgreSQL on port 5432"><figcaption><p>Schema Workbench, the Pentaho Server and the sample data</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Before You Start</td><td>~5m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-lightbulb" style="color:blue;">:lightbulb:</i> Key Concepts & Terminology

`1 reading · ~20m`

OLAP vs. OLTP, multidimensional cubes, star vs. normalised schemas, and the ROLAP Mondrian engine — the mental model behind every lab.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F3hPRIWeoERtbp5wwy5Hb%2Fdata-pipeline.svg?alt=media" alt="Five columns left to right: sources (operational systems; files and APIs) feed Pentaho Data Integration, which loads star-schema data marts; Mondrian on the Pentaho Server maps cubes onto the marts and serves Analyzer, reports from Report Designer, and CTools dashboards"><figcaption><p>From source systems to analysis: the cube sits at the end of the pipeline</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FMi8jSS32UXQoqDZ55qZo%2Fsteelwheels-star.svg?alt=media" alt="The SteelWheels star schema: the ORDERFACT fact table with foreign keys CUSTOMERNUMBER, PRODUCTCODE and TIME_ID, the STATUS column and the QUANTITYORDERED and TOTALPRICE measures, joined to CUSTOMER_W_TER (read by the MARKETS and CUSTOMERS dimensions), PRODUCTS (PRODUCT) and DIM_TIME (TIME)"><figcaption><p>The SteelWheels star schema, with the columns its cube uses</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FkQldeWDr8RpnG8vlcw07%2Fmondrian-request.svg?alt=media" alt="Four steps: 1, Analyzer, reports and dashboards send an MDX query to Mondrian on the Pentaho Server; 2, your published schema maps the cubes onto tables; 3, Mondrian sends SQL to the data mart, SampleData in this course; 4, rows come back and Mondrian sums them into cells for the tool"><figcaption><p>From a click in Analyzer to SQL and back</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Key Concepts &#x26; Terminology</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-cubes" style="color:blue;">:cubes:</i> Schemas

`1 reading · 3 workshops · ~2h 25m`

The building blocks of a Mondrian schema, then three guided builds against the Steel Wheels SampleData: explore the prebuilt Steel Wheels cube, build the Classic Models schema step by step, then prove your skills by constructing the Miniature Models schema independently.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F1u8uylQhok5LWiVOiWZq%2Fsteelwheels-schema.svg?alt=media" alt="The SteelWheels schema: the Sales_2003_2005 cube reads ORDERFACT, has two measures, Quantity (sum of QUANTITYORDERED) and Sales (sum of TOTALPRICE), and five dimensions: MARKETS (Territory, Country, State Province, City), CUSTOMERS (Customer, six member properties), PRODUCT (Line, Vendor), TIME (Years, Quarters, Months) and ORDERSTATUS (Status, degenerate)"><figcaption><p>One cube, its fact table, two measures and five dimensions</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2Fe82bM0STzuA7b8cmpPEP%2Ftwo-connections.svg?alt=media" alt="Two separate connections called hsqldb_sampledata: Schema Workbench&#x27;s, used while you design, and the Pentaho Server&#x27;s, set in Manage Data Sources. Publishing ClassicModels.xml with that name records it as the Classic Models catalog&#x27;s DataSource, and the server finds its own connection by it. Both reach SampleData on port 9001 separately"><figcaption><p>Two connections, joined only by the name you type when you publish</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Schemas</td><td>~30m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>SteelWheels</td><td>~25m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Basic Model</td><td>~45m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Standard Model</td><td>~45m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-diagram-project" style="color:blue;">:diagram-project:</i> Extend Model

`1 reading · 2 workshops · ~1h 20m`

Take a basic cube to production grade: shared time dimensions, geographic annotations for maps, member properties, degenerate dimensions, and calculated members (UnitPrice, Top 10 Customers) that embed business logic in the semantic layer.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FlqLKjdb8dVe9GVM8hgV8%2Fdimension-kinds.svg?alt=media" alt="Three ways a dimension reaches ORDERFACT in the Sales_FY2003_2005 cube: MARKETS, CUSTOMERS and PRODUCTS are private, each joined from its own table through its foreignKey; ORDER STATUS is degenerate, its Type level reading ORDERFACT&#x27;s STATUS column with no table or join; TIME is shared, defined once under Schema on DIM_TIME and joined through DimensionUsage on TIME_ID"><figcaption><p>Private, degenerate and shared dimensions</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Extend Model</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Extended Model</td><td>~40m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Calculations</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-code" style="color:blue;">:code:</i> MDX Query

`1 reading · 2 workshops · ~45m`

Query cubes directly with MDX to validate and troubleshoot your schemas — SELECT / FROM / WHERE, axes vs. slicers, member references — then centralise reusable member collections with Named Sets.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2Faxkzs4BLrrcQ7TYiH5Cm%2Fmdx-anatomy.svg?alt=media" alt="An MDX query mapped onto its result: the COLUMNS set, Sales and Quantity, becomes the column headers; the ROWS set, 2004 and 2005, the row headers; FROM names the Sales_2003_2005 cube; the WHERE slicer, APAC, shows on no axis but is part of every cell&#x27;s coordinates, and in the SQL becomes a condition on the cell query"><figcaption><p>Where each part of a query lands in the result</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of MDX Query</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>MDX Query</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Named Sets</td><td>~15m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-lock" style="color:blue;">:lock:</i> Data Security

`1 reading · 1 workshop · ~2h 30m`

Lock cubes down with Mondrian's role-based security: roles and role mappers, then the grant hierarchy (Schema, Cube, Hierarchy, Member) and rollup policies, applied hands-on as four progressively restrictive roles on the Miniature Models schema.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FCtgeRZGor0OUn5tphiEX%2Fgrant-nesting.svg?alt=media" alt="Grants nested on the Miniature Models schema. The Regional Manager Role: SchemaGrant access none holds a CubeGrant on Sales_FY2003_2005 with access all, holding a custom HierarchyGrant on Customers with topLevel State and MemberGrants on NJ, NY and PA. The Analyst Role&#x27;s Customers grant: Territory hidden above topLevel, Country to City visible, Customer Name hidden below bottomLevel"><figcaption><p>Where each grant applies, on the course's own schema</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FRah8tpEuTnyUVrkUk8nO%2Frole-mapping.svg?alt=media" alt="One row per test user: exec_user, Executive, Executive Role, sees everything; sales_mgr, Sales Manager, Sales Manager Role, this cube only; region_mgr, Regional Manager, Regional Manager Role, NJ, NY and PA; analyst, Analyst, Analyst Role, Country to City with no customers. The lookup map turns each platform role into its Mondrian role"><figcaption><p>From a User Console user to what Mondrian lets them see</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F1QTDIoLa2geyckShmpsE%2Frollup-policies.svg?alt=media" alt="The same grant, MemberGrants on NJ, NY and PA with no topLevel, under three rollup policies. full: All Customers 10,645,949.18, NA 3,852,061.39 and USA 3,627,982.83, so USA minus the visible states leaks 2,625,083.61. partial: all three show 1,002,899.22. hidden: all three empty. The states show the same Sales in every column"><figcaption><p>One grant, three rollup policies</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Data Security</td><td>~30m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Mondrian Security</td><td>~2h</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-language" style="color:blue;">:language:</i> Localization

`1 reading · 1 workshop · ~1h 20m`

Serve a global audience from a single schema. Tokenize the Classic Models schema, deploy English and French property files, and configure Mondrian's dynamic schema processor so cubes translate automatically by user locale.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FtfBaeQxaJyNm8WX7FNef%2Flocalization-pieces.svg?alt=media" alt="Schema Workbench publishes the tokenized schema to the Classic Models catalog. On the Pentaho Server the message bundles, localePropFile in mondrian.properties and the catalog&#x27;s DynamicSchemaProcessor and UseContentChecksum parameters feed token replacement, giving Analyzer French captions in a French session and English in an English one. Publishing again resets the catalog&#x27;s parameters"><figcaption><p>Where each piece lives</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Localization</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>FR Localization</td><td>~1h</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-gauge-high" style="color:blue;">:gauge-high:</i> Performance

`1 workshop · ~45m`

Speed up the cube with aggregate tables: build two pre-computed roll-ups from ORDERFACT, switch Mondrian's aggregate matching on, declare them with AggName in the schema, and prove from the generated SQL that queries hit the small tables.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F0kyfNwTqDxtRT5mWy0z9%2Faggregate-pick.svg?alt=media" alt="Three MDX queries on Sales and the table each one&#x27;s SQL reads: Territory reads Miniature_Sales_AGG_2 (55 rows), in both aggregates but the smaller; Country reads Miniature_Sales_AGG_1 (129 rows), the only aggregate with Country; State Province is in neither and reads ORDERFACT (2,996 rows) joined to its dimension tables"><figcaption><p>The smallest aggregate that fits</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Aggregate Tables</td><td>~45m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-trophy" style="color:blue;">:trophy:</i> Capstone Project

`1 workshop · ~1h 30m`

Budget v Actual: a schema of your own on QUADRANT\_ACTUALS, with a calculated member, a named set and a region-restricted role, published and handed in. Its five checks decide the course accreditation.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FeNxFWr4U9TLxfU1lFLcT%2Fcapstone-budget.svg?alt=media" alt="The target design: the Quadrant Budget schema holds the Budget_v_Actual cube on QUADRANT_ACTUALS. REGION and DEPARTMENT (Department, then Position) read the fact table&#x27;s own columns with no join; ACTUAL, BUDGET and VARIANCE feed the measures, then Variance % and the Over Budget Departments named set; the Central Region Manager role restricts the cube to Central"><figcaption><p>What you build: one schema, one cube, one role</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Budget v Actual</td><td>~1h 30m</td></tr></tbody></table>

</details>
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Metadata Editor" %}

<p align="center">Hands-on workshop for the Analytics Developer. Build business-friendly semantic models with Pentaho Metadata Editor — physical layer, business models, relationships, business views, properties, reusable concepts, and security — then publish XMI domains for ad-hoc Interactive Reporting.</p>

<p align="center"><strong>13 lessons · 6 modules · ~9h 15m</strong></p>

<table data-search="false"><thead><tr><th width="350">Module</th><th width="115" align="center">Reading</th><th width="132" align="center">Workshops</th><th width="100" align="right">Time</th></tr></thead><tbody><tr><td>Getting Started</td><td align="center">2</td><td align="center">—</td><td align="right">~35m</td></tr><tr><td>Domains &#x26; Models</td><td align="center">1</td><td align="center">3</td><td align="right">~2h 50m</td></tr><tr><td>Properties</td><td align="center">1</td><td align="center">1</td><td align="right">~55m</td></tr><tr><td>Concepts</td><td align="center">1</td><td align="center">1</td><td align="right">~1h 20m</td></tr><tr><td>Security &#x26; Data Access</td><td align="center">1</td><td align="center">1</td><td align="right">~1h 35m</td></tr><tr><td>Capstone Project</td><td align="center">—</td><td align="center">1</td><td align="right">~2h</td></tr><tr><td><strong>Total</strong></td><td align="center"><strong>6</strong></td><td align="center"><strong>7</strong></td><td align="right"><strong>~9h 15m</strong></td></tr></tbody></table>

{% stepper %}
{% step %}

### <i class="fa-rocket" style="color:blue;">:rocket:</i> Getting Started

`2 readings · ~35m`

Meet Pentaho Metadata Editor (PME) and the metadata domain — the physical layer and business model layer that turn raw database tables into a business-friendly semantic layer for ad-hoc reporting.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F5oLbdKbx4WkVkUvAjdb8%2Fme-lab-setup.svg?alt=media" alt="Metadata Editor reads tables and columns from the SampleData HSQLDB database on port 9001 through its hsqldb:sampledata connection and publishes domains to the metadata engine on the server; Interactive Reports sends each query to the engine, which sends SQL to SampleData; the server keeps its repository in PostgreSQL on port 5432, and MySQL on port 3306 holds the capstone&#x27;s trailhead database"><figcaption><p>Metadata Editor, the Pentaho Server and the sample data</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Before You Start</td><td>~25m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Components</td><td>~10m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-sitemap" style="color:blue;">:sitemap:</i> Domains & Models

`1 reading · 3 workshops · ~2h 50m`

The anatomy of a metadata domain, then three guided builds against the Steel Wheels SampleData: explore the prebuilt Steel Wheels domain, build the OrdersME star-schema domain from scratch, and assemble queries with the Query Builder.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FHtVpquGDrFlZZlo8X2BY%2Fdomain-layers.svg?alt=media" alt="A diagram of the three layers: Table1 and CUST_TBL in the Physical Layer map to Business Table1 and Customers in the Abstract Business Layer, which feed Category1, Category2, Customers East and Customers West in the Business View"><figcaption><p>The three layers of a metadata domain</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F7jVTuEbDoDwlIM5Ez1zI%2Fdomain-build-stages.svg?alt=media" alt="The six stages of building a domain, numbered in two rows: 1 connect to a data source, 2 import physical tables and columns, 3 define the business model, then down to 4 define relationships, 5 build business views, 6 publish to the Pentaho Server"><figcaption><p>The stages of building a domain</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FkdGjJiEVvYPBCZtL2lkU%2Fmql-to-sql.svg?alt=media" alt="From query to SQL: Product Name and Order Number from two categories meet the N:1 inner relationship on PRODUCTCODE and become a WHERE condition; Price Sold meets its Default Aggregation Sum and becomes SUM, with GROUP BY the other columns; Total&#x27;s formula becomes SUM(ORDERFACT.QUANTITYORDERED * ORDERFACT.PRICEEACH); the user&#x27;s role&#x27;s Data Constraint entry becomes a WHERE filter"><figcaption><p>What the engine writes for each part of a query</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Domains &#x26; Models</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>SteelWheels</td><td>~45m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>OrdersME</td><td>~1h 30m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Query Builder</td><td>~15m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-sliders" style="color:blue;">:sliders:</i> Properties

`1 reading · 1 workshop · ~55m`

Enrich the business model: business tables, columns, and relationships, plus the metadata properties (friendly names, formats, aggregation) that inherit from physical → business → view. Built on the OrderStarCustomer domain.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F4COu3MVaK7z97w1GffJK%2Frelationship-joins.svg?alt=media" alt="Relationship types and their joins: N:1, 1:N, 1:1 and N:N, with no 0 side, make an inner join written as a WHERE condition; 0:N and 0:1 a left outer join; N:0 and 1:0 a right outer join; 0:0 a full outer join. Below, a made-up example: fact rows 1, 2 and 3 with the keys A, B and C, joined to a dimension that holds A and B; the inner join drops row 3, and an outer join keeps it with no match"><figcaption><p>The join comes from the relationship type</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Properties</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>OrderStarCustomer</td><td>~45m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-tags" style="color:blue;">:tags:</i> Concepts

`1 reading · 1 workshop · ~1h 20m`

Define reusable metadata Concepts (Number, Currency, ID, Hidden, Date) once in the Concept Editor and apply them across columns so formatting and behaviour stay consistent — then validate in an Interactive Report.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FSNIBM6CuQQv1ho3Bzwy5%2Fconcept-chain.svg?alt=media" alt="The concept tree: Base, with its font and Text Alignment Left, passes its properties to Number and Date; Number adds Text Alignment Right and the mask #,##0 and passes them to USCurrency and ID, which each override the mask; ID passes them to Hidden, which adds Hidden For the User?. A business column takes a property from its own override, then its concept chain, then its physical column"><figcaption><p>Five concepts below Base, and where a column's property comes from</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Concepts</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Concept Editor</td><td>~1h</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-shield-halved" style="color:blue;">:shield-halved:</i> Security & Data Access

`1 reading · 1 workshop · ~1h 35m`

Lock the model down with metadata security and row-level data constraints, so different roles see different rows and columns from the same published domain.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FDZi9FqvU23AVKULQhqOL%2Fsecurity-layers.svg?alt=media" alt="The three layers from Metadata Editor to the report: Metadata Security on the business model and on the Credit Limit column is checked on the server, so the model is offered to Power User and the column is left out of suzy&#x27;s field list; the role-based Data Constraint on the model becomes the SQL WHERE clause, with no admin bypass, so suzy gets EMEA only and a role with no entry gets no rows"><figcaption><p>Where each layer is set, and how the server enforces it</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Security &#x26; Data Access</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Row-Level Security</td><td>~1h 15m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-trophy" style="color:blue;">:trophy:</i> Capstone Project

`1 workshop · ~2h`

Put it together end-to-end: model Trailhead Outfitters' MySQL sales database from an empty domain to a published, secured data source, and prove it with three users in Interactive Reports.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FH8XZVCehJ5FdbtT9iioV%2Fcapstone-trailhead.svg?alt=media" alt="The Trailhead domain: the business model Trailhead Sales on mysql:trailhead, with the categories Sales, Stores, Products, Customers and Calendar; the sales fact table joined N:1 to products, customers and calendar, and to stores on region_code and store_no; three calculated columns; admin sees every region with Email and Phone, suzy only WEST, pat only EAST, and tiffany no data source"><figcaption><p>What you build: the Trailhead domain, and who sees what</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Capstone: Trailhead Outfitters</td><td>~2h</td></tr></tbody></table>

</details>
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Report Designer" %}

<p align="center">Hands-on workshop for Pentaho Report Designer: data sources, report elements and groups, calculations, formatting, parameters, charts, sub-reports, publishing to the BA repository and bursting.</p>

<p align="center"><strong>39 lessons · 11 modules · ~15h 30m</strong></p>

<table data-search="false"><thead><tr><th width="348">Module</th><th width="115" align="center">Reading</th><th width="132" align="center">Workshops</th><th width="100" align="right">Time</th></tr></thead><tbody><tr><td>Before You Start</td><td align="center">—</td><td align="center">1</td><td align="right">~5m</td></tr><tr><td>Navigating Report Designer</td><td align="center">1</td><td align="center">1</td><td align="right">~20m</td></tr><tr><td>Data Sources &#x26; Queries</td><td align="center">1</td><td align="center">1</td><td align="right">~30m</td></tr><tr><td>Report Elements &#x26; Groups</td><td align="center">1</td><td align="center">2</td><td align="right">~50m</td></tr><tr><td>Calculations</td><td align="center">1</td><td align="center">3</td><td align="right">~1h</td></tr><tr><td>Formatting the Report</td><td align="center">1</td><td align="center">3</td><td align="right">~50m</td></tr><tr><td>Report Parameters</td><td align="center">1</td><td align="center">2</td><td align="right">~45m</td></tr><tr><td>Charts &#x26; Sub Reports</td><td align="center">1</td><td align="center">4</td><td align="right">~1h 30m</td></tr><tr><td>Publishing Reports</td><td align="center">1</td><td align="center">4</td><td align="right">~1h 40m</td></tr><tr><td>Capstone Project</td><td align="center">—</td><td align="center">1</td><td align="right">~2h 30m</td></tr><tr><td>Reference</td><td align="center">9</td><td align="center">—</td><td align="right">~5h 30m</td></tr><tr><td><strong>Total</strong></td><td align="center"><strong>17</strong></td><td align="center"><strong>22</strong></td><td align="right"><strong>~15h 30m</strong></td></tr></tbody></table>

{% stepper %}
{% step %}

### <i class="fa-rocket" style="color:blue;">:rocket:</i> Before You Start

`1 workshop · ~5m`

How to get the best from this lab guide — read this five-minute orientation before you begin the course.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F9gxgOSHWjB7rOGYYW2uZ%2Frd-lab-setup.svg?alt=media" alt="Report Designer runs a report&#x27;s query against the SampleData HSQLDB database on port 9001 through its SampleData (Hypersonic) connection and publishes the .prpt to the reporting engine on the Pentaho Server; the User Console opens published reports and the engine runs the report&#x27;s query against SampleData again; the server keeps its repository in PostgreSQL on port 5432"><figcaption><p>Report Designer, the Pentaho Server and the sample data</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Before You Start</td><td>~5m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-compass" style="color:blue;">:compass:</i> Navigating Report Designer

`1 reading · 1 workshop · ~20m`

Tour the Report Designer workspace: welcome screen, toolbars, tabs, palettes, and previewing sample reports.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2Fa0PbUnMmOX65FrkoRo73%2Freport-bands.svg?alt=media" alt="Two pages of a product report grouped by product line. Page 1 prints the Page Header, the Report Header, then the Classic Cars group: Group Header, Details Header, a Details band per row and Group Footer, then the start of Motorcycles and a Page Footer, page 1 of 12. The last page prints the Page Header, the Vintage Cars group, the Report Footer and page 12 of 12"><figcaption><p>When each band prints, on the first page and the last</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Report Designer</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Navigating Report Designer</td><td>~10m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-database" style="color:blue;">:database:</i> Data Sources & Queries

`1 reading · 1 workshop · ~30m`

Connect Report Designer to your data: JDBC connections, queries, and the data sets that drive every report.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Data Sources &#x26; Queries</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Connect to a JDBC Data Source</td><td>~10m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-table" style="color:blue;">:table:</i> Report Elements & Groups

`1 reading · 2 workshops · ~50m`

Lay out data elements on the canvas and group rows into report sections with headers and footers.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FhUWE01dtLJMOYjolaMTL%2Fgroup-by-sorted-rows.svg?alt=media" alt="The same four rows, sorted and unsorted. Sorted by PRODUCTLINE, three Classic Cars rows and one Motorcycles row print as two groups, each with one Group Header and Group Footer. Unsorted, with Motorcycles third, they print three groups: the fourth row, Classic Cars again, starts a second Classic Cars group. The group stores only group-fields set to PRODUCTLINE"><figcaption><p>A group starts wherever PRODUCTLINE changes from the row before</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Report Elements &#x26; Groups</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Adding Data Elements and Report Groups</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Practice: Data Elements and Report Groups</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-calculator" style="color:blue;">:calculator:</i> Calculations

`1 reading · 3 workshops · ~1h`

Add formulas and functions to reports: conditional formatting driven by data, and group / report totals.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FDs5v2H2fvPxL9Nd2mWQR%2Ftwo-pass-engine.svg?alt=media" alt="The reporting engine reads the query rows in two passes: the pagination pass lays out every row to find the page breaks, the page count and each group total; the print pass prints the pages, rendered as Preview, PDF, Excel, HTML or CSV. In the Classic Cars group, Sum shows 5,844,033 in the Group Header, every Details row and the Group Footer; ItemSumFunction is complete only in the footer"><figcaption><p>The engine's two passes, and where each kind of sum is right</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Calculations</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Conditional Formatting</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Totals</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Practice: Calculations</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-paintbrush" style="color:blue;">:paintbrush:</i> Formatting the Report

`1 reading · 3 workshops · ~50m`

Polish the report: headers, footers, fonts, spacing, and the visual details that make reports read well.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Report Formatting</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Formatting Report Headers &#x26; Footers</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Formatting the Report</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Practice: Formatting</td><td>~10m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-sliders" style="color:blue;">:sliders:</i> Report Parameters

`1 reading · 2 workshops · ~45m`

Let report users filter at run time with parameters — prompts, defaults, and parameter-driven queries.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FP4amExbuLfjq8Mj1gEa0%2Fparameter-flow.svg?alt=media" alt="Each prompt has its own query: prod_list, 7 rows, fills the product_var drop-down, default Classic Cars; country_list, 27 rows, fills country_var, default Australia. The chosen values go into Query 1, where the SQL data factory turns each into a ? bind marker and SampleData runs the prepared statement. A dashed arrow marks a cascading prompt, if country_list named product_var"><figcaption><p>Where a prompt's choices come from, and where its value goes</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Report Parameters</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Report Parameters</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Practice: Parameters</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-chart-column" style="color:blue;">:chart-column:</i> Charts & Sub Reports

`1 reading · 4 workshops · ~1h 30m`

Visualise data with charts, embed sub-reports, and build drill-down interactions between them.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F1odqfGqKsMi9ffW5tujS%2Fsubreport-runs.svg?alt=media" alt="A sub-report runs once each time its band prints: once in the Report Header, once per product line in a Group Header, and once per row in the Details band. A banded sub-report prints at the left edge of its parent band; an inline sub-report prints at its element&#x27;s x and y, here 4.5 inches, beside the radar chart"><figcaption><p>How often a sub-report runs, and where banded and inline sub-reports print</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Charts &#x26; Sub Reports</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Charts &#x26; Sub Reports</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Drilldown Charts</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Multiple Sub Reports</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Practice: Charts &#x26; Sub Reports</td><td>~30m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-cloud-arrow-up" style="color:blue;">:cloud-arrow-up:</i> Publishing Reports

`1 reading · 4 workshops · ~1h 40m`

Publish finished reports to the BA repository, link reports together with hyperlinks, and burst one report by territory: a schedule per regional manager, each emailing that territory's PDF.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FO2epLNRVURiQDtCSWHrU%2Freport-burst.svg?alt=media" alt="The published Regional Sales report and its three schedules: Regional Sales EMEA with TERRITORY EMEA, APAC with APAC and Japan, and NA with NA, each with its own _SCH_EMAIL_TO. Each background run writes its PDF to /home/admin and hands it to the mail sender, which sends it over SMTP on port 1025 to Mailpit, where the inbox holds one email per manager"><figcaption><p>One report, three schedules, three emails</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Publishing</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Publishing Reports</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Hyperlinks</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Practice: Publishing</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Report Bursting</td><td>~40m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-trophy" style="color:blue;">:trophy:</i> Capstone Project

`1 workshop · ~2h 30m`

Build, chart, parameterise, and publish a management-ready regional sales report — every module in one project.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Regional Sales Report</td><td>~2h 30m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-book" style="color:blue;">:book:</i> Reference

`9 readings · ~5h 30m`

Appendices from the course manual: data sources, chart types, environment variables, and report templates.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Data Sources Reference</td><td>~1h</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Charts Reference</td><td>~1h</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Environment Variables Reference</td><td>~50m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Report Templates Reference</td><td>~25m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Report Functions Reference</td><td>~30m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Common Formulas Reference</td><td>~25m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Style Properties Reference</td><td>~35m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Output Parameterization Reference</td><td>~25m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Course Files</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="CTools" %}

<p align="center">Hands-on workshop for the Analytics Developer. Build interactive Pentaho Community Tools (CTools) dashboards in the Pentaho User Console — Community Data Access (CDA), the Community Dashboard Framework (CDF), the Community Dashboard Editor (CDE) with CCC charts, and the Community Graphics Generator (CGG).</p>

<p align="center"><strong>16 lessons · 6 modules · ~7h 55m</strong></p>

<table data-search="false"><thead><tr><th width="354">Module</th><th width="115" align="center">Reading</th><th width="132" align="center">Workshops</th><th width="100" align="right">Time</th></tr></thead><tbody><tr><td>Getting Started</td><td align="center">2</td><td align="center">2</td><td align="right">~1h 50m</td></tr><tr><td>Community Data Access</td><td align="center">1</td><td align="center">2</td><td align="right">~1h 25m</td></tr><tr><td>Community Dashboard Framework</td><td align="center">1</td><td align="center">2</td><td align="right">~1h 20m</td></tr><tr><td>Community Dashboard Editor</td><td align="center">2</td><td align="center">1</td><td align="right">~2h 5m</td></tr><tr><td>Community Graphics Generator</td><td align="center">1</td><td align="center">1</td><td align="right">~30m</td></tr><tr><td>Use Cases</td><td align="center">—</td><td align="center">1</td><td align="right">~45m</td></tr><tr><td><strong>Total</strong></td><td align="center"><strong>7</strong></td><td align="center"><strong>9</strong></td><td align="right"><strong>~7h 55m</strong></td></tr></tbody></table>

{% stepper %}
{% step %}

### <i class="fa-rocket" style="color:blue;">:rocket:</i> Getting Started

`2 readings · 2 workshops · ~1h 50m`

Meet the CTools stack — CDA, CDF, CDE, CCC, and CGG — installed on top of the Pentaho Server. Enable the CDE/CDA plugins, then build your first dashboard to see how the pieces fit together.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FfE1BXkPQViqXPsSkciEe%2Fct-lab-setup.svg?alt=media" alt="Your machine needs only a browser: the User Console opens the CDE editor and the CTools dashboards run in it, each component calling doQuery on the CTools plugins (CDE, CDF, CDA, CCC, CGG) inside the Pentaho Server at localhost:8080; the plugins reach the HSQLDB sampledata database on port 9001 through the SampleData connection, and start-pentaho.bat brings it all up together"><figcaption><p>Your browser, the Pentaho Server with the CTools plugins, and the sample data</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2F4pWZQNrKSWNDwmCETscC%2Fctools-stack.svg?alt=media" alt="The five CTools: in the browser, CDE builds a CDF dashboard whose charts CCC draws; on the Pentaho Server, Save writes the .wcdf, .cdfde and .cda files to the repository, every dashboard component fetches data from CDA with doQuery, CGG draws the same CCC chart on the server as PNG, JPG or SVG and reads its data through CDA, and CDA queries SQL, MDX, metadata, Kettle, scripting and XPath sources"><figcaption><p>The CTools stack: what runs in the browser and what runs on the Pentaho Server</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FlY1WZPX7r2NrP42wwHCI%2Fcde-wiring.svg?alt=media" alt="CDE&#x27;s three perspectives joined by name: the Total_SalesChart component&#x27;s HtmlObject is Panel_3, the Name of a layout column drawn as a div, and its Datasource is Total_SalesQuery, an mdx over mondrianJndi data source whose Jndi names the SampleData connection; a wrong name means no chart, no data or no database; Save writes the .wcdf, the .cdfde and the .cda to the repository"><figcaption><p>One chart's wiring: three names that must match, and the three files Save writes</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Before You Start</td><td>~25m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Getting Started</td><td>~25m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>First Steps</td><td>~30m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>My First Dashboard</td><td>~30m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-database" style="color:blue;">:database:</i> Community Data Access

`1 reading · 2 workshops · ~1h 25m`

CDA is the data layer for CTools dashboards: a single abstraction over many sources with parameter-driven queries, joins/unions, preview, and exports. Create CDA data sources and feed them to dashboard components.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FheqSx17fkhWv7aA6JSiy%2Fcda-request.svg?alt=media" alt="A dashboard component or an external app calls doQuery with path, dataAccessId and values; CDA checks the cache key, built from the connection, query, parameter values and, for MDX, the Mondrian role; a hit returns the rows; a miss runs the DataAccess over its Connection, then Column, CalculatedColumn and Output reshape the rows, then they are cached and returned as json, xml, csv, xls or html"><figcaption><p>One doQuery request through CDA: the cache check, then the query and the reshaping on a miss</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Community Data Access</td><td>~15m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Creating a CDA</td><td>~45m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>CDA Data Sources</td><td>~25m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-cubes" style="color:blue;">:cubes:</i> Community Dashboard Framework

`1 reading · 2 workshops · ~1h 20m`

CDF is the code-first dashboard framework — HTML/CSS/JavaScript with managed component and dashboard lifecycles. Understand the framework that CDE is built on by assembling CDF dashboards directly.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Community Dashboard Framework</td><td>~20m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>CDF Dashboard</td><td>~30m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>CDF Dashboards</td><td>~30m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-pen-ruler" style="color:blue;">:pen-ruler:</i> Community Dashboard Editor

`2 readings · 1 workshop · ~2h 5m`

CDE is the graphical dashboard editor: a Layout / Components / Data Sources workflow over the CDF framework. Build the Carrier Dashboard with responsive Bootstrap layouts, CCC charts, parameters, and selectors — no hand-coding required.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FTwalyeLHNF8ZRDuJoplP%2Fdashboard-lifecycle.svg?alt=media" alt="Sequence of Browser, CDE renderer and CDA: the browser opens the dashboard; CDE writes each layout row and column as a div named after it; init creates every component, and Execute at Start ones run by Priority unless preExecution returns false; each calls CDA doQuery, runs postFetch and renders into its HtmlObject; on every parameter change, the listeners query and render again"><figcaption><p>The lifecycle of a CDE dashboard, from the page request to the interaction loop</p></figcaption></figure>

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2FJ5j4O56vJ2jx3vNefxhu%2Fparameters-listeners.svg?alt=media" alt="A selector stores the choice in its parameter and a pie-slice click calls dashboard.fireChange; the parameter changes and every enabled component listening to it updates; lineChart, with the parameter in Listeners and Parameters, sends paramplanTypeParameter to CDA doQuery and redraws; a component with Listeners only updates with old data, and one with Parameters only never updates"><figcaption><p>Listeners make a component run again; Parameters carry the new value to its query</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Community Dashboard Editor</td><td>~10m</td></tr><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>UI Overview</td><td>~25m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Carrier Dashboard</td><td>~1h 30m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-chart-pie" style="color:blue;">:chart-pie:</i> Community Graphics Generator

`1 reading · 1 workshop · ~30m`

CGG renders CCC charts server-side as images — for reports, for browsers with limited SVG support, and via URL. Generate the Carrier Dashboard's charts with CGG.

<figure><img src="https://349913736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUVpbGzmIfimQFtZ6jd9m%2Fuploads%2Fmvz60I1sgnfHRSqBXZwv%2Fcgg-export.svg?alt=media" alt="One lineChart definition, two render paths: in the browser, Post Fetch finds typeof cgg undefined, the dashboard block runs and CCC draws the SVG; Export PNG calls the CGG draw service on the server with each parameter as param name, Rhino runs Layout_lineChart.js, which CDE wrote at save, the export block runs, CCC draws the SVG and Batik converts it to the PNG the popup downloads"><figcaption><p>One component definition, rendered by CCC on the dashboard and by CGG for the export</p></figcaption></figure>

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-file-lines" style="color:green;">:file-lines:</i></td><td>Overview of Community Graphics Generator</td><td>~10m</td></tr><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Carrier Dashboard Charts</td><td>~20m</td></tr></tbody></table>

</details>
{% endstep %}

{% step %}

### <i class="fa-trophy" style="color:blue;">:trophy:</i> Use Cases

`1 workshop · ~45m`

Put it together end-to-end: build a complete Retail Sales analysis dashboard that combines CDA data sources, CDE layout and components, and CCC charts.

<details>

<summary>See the full breakdown</summary>

<table data-search="false"><thead><tr><th width="79"></th><th>Lesson</th><th width="90">Time</th></tr></thead><tbody><tr><td><i class="fa-flask" style="color:orange;">:flask:</i></td><td>Sales Analysis Dashboard</td><td>~45m</td></tr></tbody></table>

</details>
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

***

{% columns %}
{% column %}
{% hint style="warning" icon="file-certificate" %}
**Course accreditation**

Course accreditation applies to Levels 1 and 2. Each of the four courses has its own exam embedded in its guide (an 80% pass mark — REPLACE-ME: confirm how many attempts a learner gets). Finish the lessons, the workshops and any capstone checks, and pass it, and you'll automatically be able to download your course accreditation. It states your name, the course, and the Pentaho version you studied against. It is valid for two years. Unlike certification, this exam is self-paced and not proctored.
{% endhint %}
{% endcolumn %}

{% column %}
{% hint style="warning" icon="award" %}
**Certification**

Certification is only available at Level 3 — Certified — not this level. It's a separate credential that organisations look for when engaging Pentaho consultants: all the mandatory courses plus a proctored exam — unlike the embedded exam for course accreditation.
{% endhint %}
{% endcolumn %}
{% endcolumns %}

***

<h3 align="center">Going further — Speciality courses</h3>

{% hint style="info" icon="sparkles" %}
**Optional, after Level 1 or Level 2.** Five Speciality courses go deeper into one part of the analytics layer: Semantic Model Editor, Embedded Analytics, Analytics Performance, Multi-tenant Analytics and Preparing Data for Analytics. They are not part of this level, and they are coming soon.

<a href="https://academy.pentaho.com/business-analytics-path-sandbox/speciality-courses.md" class="button primary" data-icon="sparkles">See the Speciality courses</a>
{% endhint %}

***

<p align="center"><a href="https://academy.pentaho.com/business-analytics-path-sandbox/business-analytics.md" class="button secondary" data-icon="arrow-left">Back to the Business Analytics path</a></p>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.pentaho.com/business-analytics-path-sandbox/business-analytics/level-2-associate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
