Last week, I teed up a series on decomposing Spotfire projects. This week, we are diving in with Part 1 — Decomposing tables and data sources. I cover tables and data sources first because they are the foundation for the project. You must understand where data is coming from to understand the rest of the project.
Now, each post in the series will be broken down into four sections.
- Quick and Dirty (Q&D)
- The Extended Version
- Documentation
- Room for Improvement
The Q&D explains what to look for to get a general idea of what is going on. The Extended version works to develop an in-depth knowledge of the project. Each post will also include suggestions for documentation and improving the project.
Quick Word on Documentation
Before we dive in, I want to say a few words about documentation. Decomposing Spotfire projects will most likely be messy and complex. It may start off simple, leading you to believe, you can keep track of how everything is built and structured in your head. I’ll tell you right now, you can’t. Any project that has more than 3 tables will get complicated quickly. It’s also likely you’ll be interrupted or have to work intermittently. It’s likely, even probable, that you’ll forget what you learned. I highly recommend documenting as you go. There is no perfect tool. I use a combination of PowerPoint and Excel. Ultimately, I would love to see some documentation functionality available in the application in the future. Just pick a tool and stick with it through a single project.
Now, let’s dig into tables.
Quick and Dirty
- How many tables does the project contain?
- Are any tables embedded?
- Where do the tables originate from?
How: Go to Edit > Data Table Properties > Source Information or open the Data Panel. See specific details in the captions. Click on one table at a time.



Extended Version
- Are any of the data sources on demand?
- Are any of the data sources limited by prompts before entering the DXP?
- How large are the tables and how long do they take to load?
- Are there any data connections in the DXP?
How: Go to Edit > Data Table Properties > Source Information or open the Data Panel. See specific details in the captions. Click on one table at a time.



How: Go to Help > Support Diagnostic and Logging > Diagnostic Information

How: Go to Edit > Data Connection Properties

Lastly, another obvious question to ask and answer is — Are all of the data tables being used in the project? A future post will address this question.
Documentation
As previously noted, documentation can be as simple or as complex as you want it to be. This is an example of a simple PPT table containing information on the table source and some general properties. I would also add a column to denote On Demand tables.
This is a PPT slide I put together to summarize the usage of different tables in a DXP. This slide was part of a larger PPT deck to document a project.
Improvement
Finally, before wrapping up, I want to suggest a few ways to improve the project tables. Here is a bit of QA for you to think about.
- Would renaming tables make them easier to understand? Take a look at this post on naming data tables.
- Would renaming data connections make them easier to understand? Most people don’t name their data connections, and if there is more than one, it gets confusing quickly.
- If a table is embedded, would it load faster if transitioned to a data set? It is frequently the case that connecting to a data set is faster than connecting to a file.
That’s it for this post. I hope you found it useful. Next week’s article will look at Data Functions.
Spotfire Version
Content created with Spotfire 7.12.
Guest Spotfire blogger residing in Whitefish, MT. Working for SM Energy’s Advanced Analytics and Emerging Technology team!
Pingback: Part 2 - Decomposing Data Functions - Data Shop Talk
Pingback: Part 3 - Decomposing Spotfire Data Wrangling - Data Shop Talk
Pingback: Part 6 - Decomposing Text Areas & Scripts - Data Shop Talk
Pingback: Spotfire Best Practices - Data Shop Talk