Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
TIBCO Spotfire: A Comprehensive Primer

You're reading from   TIBCO Spotfire: A Comprehensive Primer Create innovative enterprise-class informatics solutions using TIBCO Spotfire

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher Packt
ISBN-13 9781782176404
Length 348 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Michael Phillips Michael Phillips
Author Profile Icon Michael Phillips
Michael Phillips
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Show Me the Data FREE CHAPTER 2. Visualize This! 3. Analyze That! 4. The Big Wide World of Spotfire 5. Source Data is Never Enough 6. The World is Your Visualization 7. What's Your Location? 8. The Secret Life of Python 9. It's All About Self-service These Days 10. Beyond the Horizon Index

Slicing and dicing data using hierarchy nodes


Spotfire provides a set of OVER functions to allow you to aggregate data over the nodes of a hierarchy, usually a date hierarchy but not necessarily. At its simplest level, the OVER function is a means to define at what granularity you wish to aggregate a value. For example, you could create the following calculated column in the baseball data:

Avg([Hits]) OVER [Team]

The result would be the average number of hits achieved by the players in each team. As each team has more than one row in the data, the lowest granularity of which is a player, you will end up with the following result:

The OVER function has some more advanced and challenging methods. On their own, these methods may not initially seem particularly useful to you and may even be a little hard to understand. However, they become very powerful when used in expressions.

In Chapter 1, Show Me the Data, when considering the key data concept of rows and columns, we saw that you cannot subtract...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image