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

Manipulating data already loaded into Spotfire


There are many ways to manipulate the data in an analysis file using the Spotfire.Dxp.Data namespace, but the three most common activities are navigating a table to look up values, marking/selecting data, and creating and changing calculated columns. These are the three areas we're going to cover in this section.

Reading a table

The ability to read a data table using a script is a very useful tool, allowing you, for example, to drive actions based on the values in a metadata table. It's also very easy to do. You just need to define cursors for the columns you want to read and then iterate through the table's rows, inspecting the values of these cursors as you go. The data table object is the key to this activity; so, just to recap, you get a data table object as follows:

dataTable = Document.Data.Tables.TryGetValue(Name of data table)[1]

Action

Property or Method

Define a string cursor

DataValueCursor.CreateFormatted(dataTable.Columns[Column...

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