Azure Dashboard Refresh doesn't update the data - azure-monitor-workbooks

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.

Related

Filters in Azure dashboards

In an Azure dashboard, I can set a filter, but I don't see any way to use the filter value in the actual queries. I'm assuming that it might filter the final results automatically, but not all panels work the same way so that's not always effective. I don't seem to be able to reference it with the ${} syntax. Is there some other way or is this not actually supported?
In recent dashboards the Add filter option is not visible on Shared dashboard, see this to Open a shared dashboard.
Shared dashboard screenshot:
We can create an Azure dashboard programmatically by fetching the JSON representation of the dashboard. Export => Download.
In Azure monitor view we can do the filter by value of that property.
If we need any effect on a filter, we need to modify the queries like here.
The basic syntax for it,
where ${filter_name}

How to get some of the Azure dashboard items in my Azure Monitor Workbook

When using Azure Portal and browsing the resources you have the option to pin a lot of overviews to your dashboard.
Some of those overviews I would like to add to my workbook, but I can't find the underlying queries.
How can I do this?
I'm interested in for example the Application Map, the Memory working set, the Advisor Score.
Not everything supported on azure dashboards are supported in workbooks. Dashboard parts are code created by various extension teams, that can't necessarily live inside workbooks.
If they are based on Azure Metrics, almost all of those can be used in workbooks (open them in the full metrics view, then in the share menu there's an option for "send to workbook" which can add those metrics steps to a workbook)
If they're based on Log Analytics queries, there's also a "Send to workbooks" item in their share menu that can send the contents of the query window to a workbook as well. (click a logs pin to open it in full logs view, then use the "pin to" menu and choose "send to workbook" to send the queries to a workbook)
Pretty much anything else would have to be manually reproduced inside workbooks. If the parts query ARM, you'd use that data source, things like App Map are their own entire features that don't simplify enough to currently be used directly in a workbook.

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

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

Couldn't access persisted data in a workbook after submitting excel add-in

We are trying to create a demo version workbook which will have predefined data persisted in it. But this functionality is not available for public users we have a dev mode manifest with similar id to that of the submitted manifest. If we persist data using this dev mode manifest we couldn't access it from the Add-in available in App Source. Could anyone let me know why we couldn't access this data and is there a possibility to resolve this ?
I think you can go two ways:
Excel way: Create and use one sheet (can be hidden for user) as a data table for app, in this case when you are starting your app you just need to check the sheet existence by its unique name. This case acceptable for any workbook movements and user will not lose its persistent data.
Web way: as Addin itself is a WebView you can use LocalStorage as same as IndexedDB, which brings all power of local database for your app. In this case the data will be tied with exact PC and user will lose their data if you. But again, as it is web technology you can synchronize it with any remote Database to keep track of any changes.

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.

Resources