Spotfire Visualization Inventory - spotfire

I am a complete newbie using spotfire, but I was asked to help a colleague to get a full inventory of the Visualization created so far, clasifying those with calculated column and the value in that calculated column. Currently the person that is doing it explained to me that she is open one by one the visualizations checking the columns property and copying the value all this is manually done, but there are over 1000 of visualization created so far by the company, so I was wondering if anyone knows how to get this information with a sql query because I have access to the server where the database is stored or a better way for doing this task.
Thanks again for your time.

You can use the Application Profiler and a python script to loop over all of your analysis files checking the information you want. I don't have a script ready for you, but this is where you need to start.
https://docs.tibco.com/pub/spotfire/6.5.1/doc/html/diag/diag_application_profiler_dialog.htm
https://docs.tibco.com/pub/spotfire/general/TIB_sfire_applicationprofiler_TechNote.pdf

Related

Spotfire - Change datasource from SQL to excel

I'm looking for a way to change my data source using script. In other words, I'm actually connected to the ​SQL database. I have some graphs, some tables, and some functions.
Is there a way to tell to Spotfire to switch from SQL data source to a folder present on my computer? This folder is just the same tables, with the same names but fixed, not changing yet at a date.
So, I'm looking for a button using Python script to change the data source. If you know a package/function to do so, I would be happy to try it.
Thanks for your time,

Looking for guidance on VB Code for Excel that will create action between two dynamic tables in each sheet.

I am trying to create a spreadsheet that allows me to keep track of a customer with general details (name, phone number, address...) bu then also keep a very specific list of all the products they have ordered. I want to be able to run reports on frequency of all details including what has been ordered. I have a bit of programming experience but not a whole lot of Excel experience so I know how I would write a program but not exactly how to do it in Excel. My thought is to have one sheet dedicated to the general specifications of the customer and then a second sheet that keeps track of the orders per customer. I want to be able to click on a hyperlink or something of the sort that will take me to the second sheet and automatically fill in the customer name. I want the first sheet to have the guest information running horizontally in rows but then the second sheet would have the names running horizontally on the top row and the orders would go down each column under the names. This way it keeps all of my sheets tidy and allows for me to run the type of reports I'm looking for. The main issue I'm having is figuring out a way to create a link that will do the action I want. I understand how to program but don't know Visual Basic very well but if someone was able to offer a similar code I would be able to decipher it and change it to my needs. Or if someone has a more efficient thought on how to set up the spreadsheet I'm all ears! Thanks a ton!
what you need is to create a pivot table with a data model.
The instructions are longer then what it actually takes!
here are few tutorials about the subject:
youTube video
MSDN instructions
PS don't write code in Excel unless strictly necessary. If it's a data issue, use data model

Auto Updating an Excel Spreadsheet/Graph in One Note (In Real Time?)

So here is what we are trying to do:
My boss has a bunch of monitors and wants to display our monthly metrics in real time. I've built a database in MS Access that pulls the data from a list in SharePoint and then that linked table is in turn linked to an Excel Spreadsheet. The datasheet is then setup on a second sheet that has a 3-D pivot table showing the data in graph form. I then have added this graph to One Note for display. The problem is One Note won't update the Excel Spreadsheet. Is there a way to have one note update the spreadsheet/Graph in real time or update it periodically (say every hour?)
I've been looking around via Google search and found "Some" info but nothing directly to what I'm looking for or explaining how to do it.
Any help or direction would be greatly appreciated!!!
-D

Importing SAP Summary Statement Data to Excel

Hi I recently have been taking a deeper dive into excel and I was thinking about how to automate a task that I have to do every month. Every month I update financial projections by manually entering in monthly expenses into a spreadsheet for each account.
I would like to find a way to pull data that I normally manually enter from SAP Netweaver and our inhouse website that lists salary charges to an excel spreadsheet.
What do I need to learn to automate this repetitive task? I am not an expert in CS by any means so if anyone has any suggestions on ways to solve this problem, topics to learn that would be helpful and/or online resources that would help me learn how to automate this data entry it would be greatly appreciated.
TL;DR I want to upload data from SAP to an excel file where financial projections are kept so I don't have to manually enter the data in every month.
If you want to write some vba code to login into SAP and select necessary data, you need to develop custom function module on ABAP that will select it.
So it's much easier to write custom report with export to Excel. ABAP isn't very difficult to learn.
Take a look at some of the query tools available within Netweaver. Transaction SQVI can be used to build a simple query involving one or more tables, from which the results (in ALV) can be exported to excel. Transaction SQ01, SQ02 and SQ03 can be used for the same, but are a bit more involved.

Excel Formatting Report Using Macros

I am looking at formatting a report which has been automatically generated by a 3rd party system. As we have no access to the Database directly i would like to build a Macro which would format the report into a more readable format.
I had initially thought about ingesting this raw data into a database as i am pretty competent a writing the SQL queries, however i think it would be easier if someone could run this through a macro.
The initial report shows which users have attempted which training modules and their completion status.
N.b. A user may have completed a module several times, therefore will appear multiple times.
The link below is the spreadsheet with two sheets, sheet 1 is the raw data and sheet 2 is how i would like things to appear.
https://www.dropbox.com/s/p1hipx17q3mf3dm/Learning-Report.xlsx
Any help / ideas would be much appreciated as i am pretty new to the whole macro's in excel thing.
Many thanks
Ian
I am answering in the same manner the question is phrased so please bear with me...
Identify all unique employees (for rows)
Identify all unique courses (for columns)
Find all the attempts and compute
a. Highest Score
b. Status
Put the data in the second sheet.
See if the question has been precise... the answer would also be to the point.

Resources