Book Image

Pentaho Business Analytics Cookbook

By : Sergio Ramazzina
Book Image

Pentaho Business Analytics Cookbook

By: Sergio Ramazzina

Overview of this book

<p>Pentaho Business Analytics 5 is a complete open source business intelligence suite, providing data integration, OLAP, reporting, data visualization, and data mining features.&nbsp; Pentaho Business Analytics Cookbook provides you with a valuable and detailed set of recipes that illustrate all the features of Pentaho Business Analytics 5, the new version of the popular BI platform. The book provides clear illustrations and simple examples, helping you learn the core topics visually.</p>
Table of Contents (19 chapters)
Pentaho Business Analytics Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Adding a simple calculated measure


As we already saw in the first recipe, Creating and publishing a Mondrian schema, we can define a set of calculated measures in the cube definition. Sometimes, it is useful to have the capability to define custom calculated measures. This recipe will show how we can easily do this with little knowledge of the MDX language. Note that this recipe makes use of Pentaho Analyzer, a tool available only in the EE version of Pentaho.

How to do it...

The following steps detail how to add a simple calculated measure to our report:

  1. From the Store Type category, take the Store Type field and drag it to the Rows layout zone. From the Time category, get the Quarter field and drag it to the Columns layout zone. Then, from the Measures category, get the Store Sales field and drag it to the Measures layout zone.

  2. Suppose we want to define a measure to evaluate the trend of our Store Sales table over quarters. Right-click on the Store Sales column header and select the Trend...