How to get source information (e.g. the data sources used) for all or a subset of Spotfire analysis files

How to get source information (e.g. the data sources used) for all or a subset of Spotfire analysis files

book

Article ID: KB0070018

calendar_today

Updated On:

Products Versions
Spotfire Analyst All

Description

In Spotfire Analyst, you can view the Source Information, i.e. data source and transformations for the data tables in the current analysis. This article describes how you can use the Application Profiler tool to gather this type of information for many analyses at once.

Issue/Introduction

This article describes how to get the information about source of the data used in the Spotfire analysis files using the Application Profiler tool.

Environment

All

Resolution

1. Start the Application Profiler (Tools > Diagnostics) from Spotfire Analyst and load the library/local folder where the analyses of interest are located.
2. Once loaded, click on Start to generate the output tables (in the Spotfire Text Data Format (STDF))
3. Click on Show Analysis to create an analysis from the output tables. 
4. The output table of particular interest here is named ApplicationProfiler_DataTables.stdf by default. The Source Information can be found in the column named Source Information.

A sample of what Source Information may contain:
---------------------------------------------------------
    1. Select Data > Add data...
        Source: Data loaded from file
        Type: Microsoft Excel Workbooks
        Location: C:\Work\Data\Sales Data.xls
        Worksheet: Large Sales Data Set
        Data loaded at: 6/21/2022 10:41 AM
        Data was added as a new data table
    2. Data > Data table properties > Relations
        Added relation: [Sales Data]. [Type] - [Sugar Content]. [Food]
---------------------------------------------------------

5. Try filtering the data on that table as shown in the below screenshot or write an expression(as below) for a calculated column to extract any specific data that you are looking for.
User-added image

Note: For some use cases (e.g. identifying the list of Spotfire analysis files using a particular Information Link or data connection as a Data Source), Searching the library could also be a better alternative.
See this article for more details,  https://support.tibco.com/s/article/How-to-identify-the-list-of-analysis-files-using-a-particular-Information-Link-or-data-connection-as-Data-Source
 

Additional Information

Doc: Application profiler: Doc: Details on Data Table Properties – Source Information: KB Article: How to identify the list of Spotfire analysis files using a particular Information Link or data connection as a Data Source: