Import Azure Time Series Insights data into Power BI - powerbi

We were implementing the Azure Time Series insights(TSI) for the data streaming through IoT hub and wanting to connect to Power BI for advanced visualization. There is a provision to build a custom query to connect to Power BI from Azure TSI but i guess there is a limitation of fetching a dataset for specific time frame and only for the time series ID selected for the view.
Is there a way we can get the latest data in Power BI as and when the data refreshes in Azure TSI and for additional number of time series ID which were not selected while building the query.
Cheers,
Amit

If you generate a query from TSI to feed into Power BI, you can manually edit it to include the TSIDs you want to see. If you set the "isSearchSpanRelative" parameter to true, the data should refresh in Power BI as it comes into TSI.

Related

Do we need a scheduled refresh with Live Connection?

I am working on SSAS Tabular project and I am using Live Connection when importing data to Power BI.
Do I need to schedule refresh in Power BI ?
Power BI does not import data over connections that operate in DirectQuery/LiveConnect mode. Instead, the dataset returns results from the underlying data source whenever a report or dashboard queries the dataset. Power BI transforms and forwards the queries to the data source.
Although DirectQuery mode and LiveConnect mode are similar in that Power BI forwards the queries to the source, it is important to note that Power BI does not have to transform queries in LiveConnect mode. The queries go directly to the Analysis Services instance hosting the database without consuming resources on shared capacity or a Premium capacity.
Because Power BI does not import the data, you don't need to run a data refresh. However, Power BI still performs tile refreshes and possibly report refreshes, as the next section on refresh types explains. A tile is a report visual pinned to a dashboard, and dashboard tile refreshes happen about every hour so that the tiles show recent results. You can change the schedule in the dataset settings, or force a dashboard update manually by using the Refresh now option.

Power BI + Snowflake SSO

Snowflake
PowerBI
Is it possible to use different warehouse in snowflake for data refresh in Power BI than warehouse used for dashboard development?
I'd like to have separate warehouse for data refresh in order to be able to track snowflake expenses.
Let's say I'm using SF_TUTS_WH as a warehouse for development, but I'd like to use PBI_WH as warehouse for data refresh in PowerBI. Is it possible to achieve this or do I have to change snowflake warehouse in PowerBI file before I'll load it to PBI online?
FYI: https://www.snowflake.com/blog/using-sso-between-power-bi-and-snowflake/
One option which will work for you is to have the ware house name paramterized for the reports. The value of the parameter can be updated from the service based on the requirements.Please check out the below video link to see how the parameters can be updated in the power bi service.
https://youtu.be/MJVSu47iMmo
Hope this helps
Thanks ,
Prasanth

Custom Realtime Data in PowerBI Dashboards

I am new to the powerbi platform and have a challenge of scoping/converting an old dashboard solution to powerbi.
The old dashboard solution is custom made and refreshes data every minute.
Powerbi lists its refresh rate for 8 times a day for Pro and 48times a day on Enterprice. Does that means there is no option to provide the same realtime (1min) updates in a dashboard using powerbi?
Can you embed iframes or anything in a powerbi dashboard?
How can you do a realtime graph in powerbi if it only refreshes 8 times a day?
Refreshing data 8/48 times a day is applicable when you import data in Power BI dataset. But if you want "more recent" data, you can connect to your data source using DirectQuery mode. DirectQuery sends queries to your data source when rendering the report. If you apply a filter, the database will get a new query, and so on. Not every data source supports DirectQuery, e.g. you can't use it for flat files (obviously). You may want to take a look at Data refresh in Power BI article.
For embedding iframes in Power BI report you can use HTML Viewer custom visual.
By default when using DirectQuery mode, tiles pinned to a dashboard refresh automatically hourly (Datasets in DirectQuery/LiveConnect mode), but you can reduce this time down to 15 minutes:
A tile is a report visual pinned to a dashboard, and dashboard tile refreshes happen about every hour so that the tiles show recent results. You can change the schedule in the dataset settings, as in the screenshot below, or force a dashboard update manually by using the Refresh Now option.
However if you want to display real-time data in Power BI dashboard, it will be better to use push or streaming datasets. With push datasets you can programatically push data to the dataset and the data will be stored and you can use them in reports. Streaming datasets are similar to push, but they will keep only the last hour of data pushed to them and can't be used in report, only pinned to a dashboard. There are also other options, like using PubNub or Microsoft Flow. For more information also take a look at Real-time streaming in Power BI.

Set refresh rate on tables in power bi desktop created from log analytic queries

I have created a report in power Bi desktop and in that report i have imported data from Log analytics in Azure, using exported m-language queries for each table.
Is there any way to set the refresh rate for each table/data set or something a like? I want the report to display some what live data.
EDIT:
Power bi desktop is a business intelligence tool, and reports in Power BI can be refreshed manual, or scheduled in power BI service.
Once you publish to powerbi.com you can setup the refresh frequency based on your source files.
premium capacity
When using PowerBI PRO as license type, then you have a limit of 8 refreshes a day. Premium capacity can have up to 48 automatic refresh.
When you need more up to date data, or don't want to pay for premium capacity. You can store your data in an azure sql database, and use direct query to get your data.

Power BI Desktop Scheduled Refresh

I know it is possible to adhoc refresh the data on power bi desktop but unlike on power bi online I am unable to find a way of creating a scheduled refresh. I have looked into personal gateways but unable to find a suitable solution. I want the data to be refreshed daily and this data is coming from a postgres database in Amazon Web Service where the data is updated daily.
Power BI desktop(local) have only manual refresh, scheduler is not available in desktop power bi when you want to implement scheduler then follow this link
how-to-configure-schedule-refresh-in-power-bi-reports
when you established a connection using the database and create report and publish on app power bi from power bi desktop after that apply scheduler then it will reflect data changes on every refresh.
Cheers.