SpotFire 11.4.1: Reload All Data automatically once a day instead of having to go to each dashboard and hit: Data -> Refresh all Data - spotfire

I have Spotfire dash boards that are connected to the data in our database through Microsoft SQL Server. I have to go into Spotfire dashboard everyday and hit "reload all data" under the data tab.
Is there a way to have that run automatically everyday?
I do have access the automation service but am not sure if I need to learn how to use that or not.
Any help is appreciated!

For what you are describing, you will want to use scheduling and routing, not automation services. This functionality will allow you to set a schedule at which analysis will be loaded and data refreshed.
https://docs.tibco.com/pub/spotfire_server/11.0.0/doc/html/TIB_sfire_server_tsas_quick_start_help/server/topics/scheduled_updates_to_analyses.html

Related

Azure Dashboard Refresh doesn't update the data

The problem:
I have some Azure workbook queries pinned to my Azure Dashboard. The problem I found is that manually refreshing the Dashboard or the Workbook queries doesn't give me the updated data. However, reloading the Dashboard web page does give me the updated data.
What I have tried:
Use a chrome extension to automatically reload the page at set intervals. This helps me create a self-updating dashboard. However, I was wondering if there's a solution to this that doesn't involve third party tools.
Workbook parts pinned to azure dashboards will autorefresh with the azure dashboard's timerange and autorefresh settings if they are configured to use time range parameters:
https://learn.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-overview#dashboard-time-ranges
without a time range parameter, the dashboard doesn't know how to correctly modify user queries to use the dashboard's time range. (not all of the workbooks data sources support query text, so it isn't just parsing/modifying text)
for some data sources, like Azure Resource Graph, that itself have no built in concept of time, if you wanted the part to autorefresh, the simplest workaround is to add a comment in the query text that references the time range parameter. the query won't actively use it, but the step then knows it depends on a time range parameter and will be autorefreshed.

How to download data from a website daily to use in PowerBI

I'm trying to automatically download data from this website https://usafacts.org/visualizations/coronavirus-covid-19-spread-map/ daily to be able to use it in PowerBI and have my dashboard update as new data is added.
I just don't know what the best way to go about this is, any help is greatly appreciated.
You don't have to download the data each and every day, you just need to click
Get data-> Other-> web and provide the URL there, every time the data is update, you will get the latest values.
If you have the Power BI service you can create the report in Power BI Desktop, load it to the service and set up a dataset refresh, so the day will update for up to 8 times a day at times you can set. If you do not have the service (You can use the free version) you will have to update the data manually.
The MS Docs website goes through the set up here
Please use "Get Data -> Web" and provide the URL from where you want to fetch data. The will get downloaded into your dashboard.

Spotfire Scheduled Sharepoint Data Refresh

There does not seem to be a way to set up automatic refreshing of data from Sharepoint like there is with a SQL server.
The main difference from what I can tell is that Sharepoint is only listed as a Data Table, with no Data Connection Settings.
Data Connection
Data Table
How can I can I set up Spotfire to automatically update the data from Sharepoint once a day? I've tried various JS and IronPython scripts, although not specifically designed for Sharepoint data updates and I've had no luck so far.
I had contacted Spotfire support and at the moment is it not possible to do automatic updating from Sharepoint. They may or may not add it in the future.

Automating spotfire

I have some industrial data that i wish to present in a spotfire dashboard to a client. I want to make the dashboard so that it would update automatically and I have not been able to find a tutorial on Tibco's site or here for how to do this.
It would be great if someone could tell me how to make spotfire look in a particular place (server, desktop, wherever) for a new .csv file, open it and create a defined set of visualizations and then mail a pdf to the client.
I have been through the spotfire automation services manual but I can't find a specific guide to what I need it to do.
All help appreciated.
I went back and read thru the whole question again, including the other person's answer. In order to be able to do what you want to do, you need to have Spotfire Server and Spotfire Automation Services. Automation Services in a product that you have to purchase separately from Spotfire, although it is bundled with the Analyst client.
In your question you said -- It would be great if someone could tell me how to make spotfire look in a particular place (server, desktop, wherever) for a new .csv file, open it and create a defined set of visualizations and then mail a pdf to the client.
I made the assumption that you knew you needed Automation Services to do this. All of my answers have been based around the use of Automation Services. That's the only way to push an email to a user that I know of. After you setup the Automation Services job, you also have to use Active Batch to schedule the Automation Services job, which I noted as part of the original 3 step process.
I want to make the dashboard so that it would update automatically and
I have not been able to find a tutorial on Tibco's site or here for
how to do this.
What you want to do is schedule updates to your linked data. What this will do is re-query the data-source at the specified schedule (once a day, twice an hour, etc) that you specify and cache it on the web server.
Here is the documentation for that.
Schedule Updates
Scheduling updates using Spotfire Server (be sure to navigate down the sub items on the left)
Monitoring Schedule Updates
It would be great if someone could tell me how to make spotfire look
in a particular place (server, desktop, wherever) for a new .csv file,
open it and create a defined set of visualizations and then mail a pdf
to the client.
For this, you still want to use scheudle updates for the first part after you have linked your analysis to your csv file. Your file name will have to remain the same for spotfire to pick it up unless you customize this with some scripting. Once that is complete, you'll want to use Automation Services to complete your mailing a pdf.
Automation Services Tutorial
Automation Services User Manual
Generally speaking, this is a three step process.
1. In the desktop app, create a report (File -- Export -- to PDF -- prepared report. In this step you are creating the export and telling Spotfire specifically what to export. Where to find the report
2. In the desktop app, create the Automation Services Job (Tools -- Automation Services Job Builder). All jobs start with opening the file. Then you create the export. Then send the email. Sample active batch jobe
3. Now, you have to automate the task. This can be done with Windows Task Scheduler or Active Batch.
Those are the high-level steps. There is a lot of syntax and detail in each of the steps, but this should get you started. Please reply with more detailed questions on any one of the steps.

Changing the Power query SQL Server database settings when moving an Excel workbook

I'm working on creating an excel report that collects data from a local copy of a SQL Server database on my maschine, where I use Power Query to retrieve the data. These are then loaded into a PowerPivot data model. Now I'm finished with the development and on my way to put this into production on another server on the customer's server. The Excel workbook must change database settings using sql server database user Connection (not integrated). I had hoped that I could change the database Connection Properties at the Data tab, but there are not any easy way to change the connection string to the new server. Now I can't see any option that going through every Power Query query and change them manually. I have great hope that you Power Query experts have a Nice explaination and an example how I can solve this.
Hope to hear from you soon
Regards Geir F
There isn't a great solution for bulk server rename today, but we're very aware of the customer demand! (I can't promise anything about upcoming features, but at some point in the past I heard the dev team discuss this feature.) I'd recommend showing your support for this feature at https://excel.uservoice.com/
If you need to solve this soon, manually opening each query and editting the server string is what you need to do, sorry :\
(If you're building new reports again, Power BI Desktop lets you parameterize the server name to a top-level query, which would allow for quick rename operations!)
Do you only need to change the server name? If you go to the Data Source Settings window, you can select the SQL Server source you are using and click on the "Change Source..." button. If you change the server name in that dialog, it will change the server name in all of the queries that use that source (assuming it's the first step in the query).

Resources