Custom Realtime Data in PowerBI Dashboards - powerbi

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.

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.

Refreshing data from SQL in PowerBi

I'm really confused about how i can refresh data that i use in my powerBi.
The data come from a server in SQL, at first time i choosed to use DirectQuery as importation mode, after a litle bit of time i observed that its took time when i want to change things like measure or representations.
So i opted to change directquery to importation in order to gain time.
I would like to know how can i get the newest data from my sql server automaticly, because i have line which is added every day, would i use accrementiel refresh?
Just set up a daily refresh schedule in the Power BI Service. If you have big data with a long history you might also benefit from incremental refresh, but that's alread an optimization step.
Are you aware of power bi gate way ?
Keep your dashboards and reports up to date by connecting to your on-premises data sources without the need to move the data. (https://powerbi.microsoft.com/en-us/gateway/)
You just need to install power bi gateway to your server.
Then you can visit power bi service -> settings -> manage gateway . You can setup new gateway here.
Once you create connection you can schedule refresh time with your UTC time.
Note: you need to buy power bi pro or premium licence for that. Pro licence has 8 times refreshes per day and premium has about 48 times per day(premium is very expensive) .
And their is feature called incremental refresh, you have to setup it prom power bi dashboard.
It may take 10-20 minutes to refresh data set.(mentioned in power bi site)
Hi do you using Power BI desktop?
click on your page not visual, on the visualization you will see,option called page refresh. set this On.
set Refresh type to Auto page refresh.
set Refresh this page every the value you want(seconds,minutes,hours,day).
this picture

Power BI dashboard not updating automatically

Why Power BI service does not refresh data automatically. The forums mention that with Power BI Pro license allows to schedule refresh 8 times and Power BI Premium allows us to schedule refresh with a higher frequency. There is always an option to manually refresh the dataset/dashboard.
Does that mean Power BI does not provide the ability for live reporting.
We are not sure when was the last update for the dashboard.
Please suggest if we have some workaround. Iam using web api as data source.
Real-time reports are possible with push or streaming datasets.
DirectQuery is another possibility for frequently changing data.
What's your connection ? DirectQuery or import in your current report ?
Schedule refresh for your dashboard does not mean your data will refresh, you have to refresh your dataset also, and depending your source if you are using dataflows it will refresh your last dataset update. I'll suggest you to check out guy in the cube channel on youtube.

Delta updates to dashboard in Power BI

I am looking at retrieving data from an API in Power BI.
I would like to avoid processing all of the data again when I run a refresh. Is there a way to add the new data to the existing data in the dashboard as a delta upload instead of a full refresh every time?
Thanks for any help.
You need to buy Premium for this. Power BI Premium supports Incremental refresh (see announcement and documentation).
With Incremental refresh you define two parameters, RangeStart and RangeEnd, and policies how to refresh the deltas. The values for these parameters are managed by the service. Then first refresh will be slow, because it will load all the data, but next refreshes will only load the data for the period after the last refresh.

Power BI Embedded report does not update in realtime even though the dataset is pushStreaming

I have created a streaming+push dataset in power BI. And i push the data through the rest apis. I can see the dashboard in power BI getting updated with the latest data. But the embedded report in my website doesn't seem to update.
How can we achieve this? Is there any additional configuration required when embedding the report?
Power BI Reports hold a special property that does not allow them to refresh during viewing\editing. This is mainly to allow for presentations & editing, without having to worry about data changes.
However, one can refresh the report view in powerbi.com using the refresh button.
In Power BI Embedded, the developer can periodically call report.refresh() in the JS SDK to simulate the same action. Time intervals can be synchronized with the known realtime streaming times up to a limit.