Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • TIBCO Spotfire: A Comprehensive Primer
  • Toc
  • feedback
TIBCO Spotfire: A Comprehensive Primer

TIBCO Spotfire: A Comprehensive Primer

By : Phillips
4.1 (15)
close
TIBCO Spotfire: A Comprehensive Primer

TIBCO Spotfire: A Comprehensive Primer

4.1 (15)
By: Phillips

Overview of this book

If you are a business user or data professional, this book will give you a solid grounding in the use of TIBCO Spotfire. This book assumes no prior knowledge of Spotfire or even basic data and visualization concepts.
Table of Contents (12 chapters)
close
11
Index

Creating metrics using calculated columns

Probably the most fundamental and useful data manipulation tool provided by Spotfire is the ability to create calculated columns in imported data tables. A calculated column is created by writing an expression that references other columns in the table, documents property values, and values that you supply, or hard code. The expression can be a simple piece of arithmetic, such as dividing one column by another to get a proportion, or a more complex piece of conditional logic. Once created, a calculated column can be used exactly like any other column.

Basic metric

Let's work through an example by looking at two key metrics of batting performance in baseball: the on base percentage (OBP), which is essentially how often a batter reaches base, and the walk-to-strikeout ratio (BB/K), which is a measure of a hitter's plate discipline.

The data we will use here is BaseballPlayerData.xls, which you can download from http://www.insidespotfire.com...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete