cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rakesh_singh Frequent Visitor
Frequent Visitor

How to auto refresh report data using direct query ?

Hello,

 

I have created a report in Power BI desktop using DIRECT QUERY option then i have saved and published it.

 

Then after i have inserted a new record in that table which is using in this report through MVC application.

 

When i have refreshed my report which opened in brower other tab through the published URL, but it is not refresh my report data.

 

 

In power bi app online showing below message regarding auto schedule refresh.

 

"This dataset connects to a source with DirectQuery, which is always up-to-date. You don't have to schedule a refresh on this dataset."

 

 

 

Can any one suggest how to auto refresh report data which is created by DIRECT QUERY option?

 

Thanks

Rakesh Singh

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator v-yuezhe-msft
Moderator

Re: How to auto refresh report data using direct query ?

Hi @rakesh_singh,

As per this article, in Power BI Service, if your dataset is configured for a DirectQuery connection, there is a direct connection between Power BI and the database, there is no need to schedule refreshed, and datasets are refreshed approximately each hour or when interaction with the data occurs.

In addition, do you use “Publish to web” feature and embed Power BI reports in your application? And you note that the report in your application is not updated after inserting a new record in the table? If that is the case, according to this document, data refreshes are automatically reflected in your embedded report or visual,  after refresh occurs in Power BI Service reports , it can take approximately 1 hour for refreshed data to be visible from embed codes.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Super User
Super User

Re: How to auto refresh report data using direct query ?

Hi @rakesh_singh

 

According to this page you should just need to 

 

"Power BI Desktop uses recent data to reduce the time required to display the visualization. Selecting Refresh from the Home ribbon will ensure all visualizations are refreshed with current data.'

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-directquery/


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Moderator v-yuezhe-msft
Moderator

Re: How to auto refresh report data using direct query ?

Hi @rakesh_singh,

As per this article, in Power BI Service, if your dataset is configured for a DirectQuery connection, there is a direct connection between Power BI and the database, there is no need to schedule refreshed, and datasets are refreshed approximately each hour or when interaction with the data occurs.

In addition, do you use “Publish to web” feature and embed Power BI reports in your application? And you note that the report in your application is not updated after inserting a new record in the table? If that is the case, according to this document, data refreshes are automatically reflected in your embedded report or visual,  after refresh occurs in Power BI Service reports , it can take approximately 1 hour for refreshed data to be visible from embed codes.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
jame5_blonde Frequent Visitor
Frequent Visitor

Re: How to auto refresh report data using direct query ?

Hi,

 

But if we need to refresh the data without an interaction with the report. As in automate the refresh button, with the ability to refresh every 1-60 seconds.

 

 

In our case we´ve built a report for a monitor-dashboard that needs to be refreshed at least every third second,
This is a way to keep working with measures and get the sensation of "realtime" reporting

 

We´ve tried, streaming, push and hybrid but we can´t use measures (REST API is not an option)
We need this, asap

 

 

ohheynnuh Frequent Visitor
Frequent Visitor

Re: How to auto refresh report data using direct query ?

Hi - did you find a solution to this problem?

 

We're currently experiencing a similar requirement - as I understand it, DirectQuery can refresh every 15mins, or on a users click, but we need the report to refresh more often than this, and without any user interaction (The report is going to be displayed on a large screen for customers to see at any point with live, or as close to live as possible, information).

 

Any ideas?

 

Thanks,

Vicky