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

SQL On-Prem with Enterprise Gateway refresh issue

Hello,

 

I have a question. I created a report in Power BI Desktop and used a SQL On-Prem server as source. On the server the Enterprise Gateway is intalled (and working). In Power BI Desktop I used te Get Data option and choose DirectQuery. Next I published the report to the Power BI service with a Pro account.

 

Because I'm using the Enterprise Gateway and DirectQuery, the data will be refreshed automatically. 

I want to show the report and dashboards on a big screen which is always turned on.

 

But the data is not automatically refreshed without clicking the Refresh button in the ribbon.

 

Is it possible to refresh the data automatically without clicking the Refresh button?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Continued Contributor
Continued Contributor

Re: SQL On-Prem with Enterprise Gateway refresh issue

@Bas

 

As @ankitpatira mentioned, because your dataset uses DirectQuery, the only time data on a dashboard and/or report will change is when it is accessed and a query is sent to your on-premises data sources through the enterprise gateway.

 

It sounds like your question is referring to having a dashboard showing at all times and seeing real-time changes as either new data or pre-existing data changes. This is not possible unless a query is being sent from the Power BI Service to your on-premises data source through a gateway.

 

In your example, clicking the "refresh" button is equivalent to sending a query(s).

 

You can either click the refresh button or possibly set your dashboard webpage to refresh on a certain interval through your web browser in some way.

 

Hope this helps clarify things.

View solution in original post

15 REPLIES 15
Highlighted
Community Champion
Community Champion

Re: SQL On-Prem with Enterprise Gateway refresh issue

@Bas If you've connected to on-prem sql server using DirectQuery then you don't need to worry about data refresh as data is not stored in power bi. With DirectQuery you are connecting live to sql server. Everytime you access the report queries are sent to on-prem sql server and data is returned back for those queries. 

 

What makes you say that data is not refreshed automatically ? You also don't need to worry about clicking Refresh button as it is live connection.

 

Highlighted
Community Champion
Community Champion

Re: SQL On-Prem with Enterprise Gateway refresh issue

@Bas If you've connected to on-prem sql server using DirectQuery then you don't need to worry about data refresh as data is not stored in power bi. With DirectQuery you are connecting live to sql server. Everytime you access the report queries are sent to on-prem sql server and data is returned back for those queries. 

 

What makes you say that data is not refreshed automatically ? You also don't need to worry about clicking Refresh button as it is live connection.

 

 

Highlighted
Frequent Visitor

Re: SQL On-Prem with Enterprise Gateway refresh issue

@ankitpatira Thanks for your reply. I understand that the data is automatically refreshed with DirectQuery. But my question is: Is it possible to refresh the data without clicking the refresh button on the ribbon?

Highlighted
Continued Contributor
Continued Contributor

Re: SQL On-Prem with Enterprise Gateway refresh issue

@Bas

 

As @ankitpatira mentioned, because your dataset uses DirectQuery, the only time data on a dashboard and/or report will change is when it is accessed and a query is sent to your on-premises data sources through the enterprise gateway.

 

It sounds like your question is referring to having a dashboard showing at all times and seeing real-time changes as either new data or pre-existing data changes. This is not possible unless a query is being sent from the Power BI Service to your on-premises data source through a gateway.

 

In your example, clicking the "refresh" button is equivalent to sending a query(s).

 

You can either click the refresh button or possibly set your dashboard webpage to refresh on a certain interval through your web browser in some way.

 

Hope this helps clarify things.

View solution in original post

Highlighted
Super User III
Super User III

Re: SQL On-Prem with Enterprise Gateway refresh issue

@Bas Direct Query implies "automatic", but it isn't really like that unless you are actively using the reports. For display purposes, if you are showing your dashboard on large screen the tiles should be refreshed every 15-30 minutes, although I've seen a great number of threads that say it can take longer... depends.

Is there a way to "schedule" the refresh of tiles? "No"

Hopefully that answers the question, but throwing out "automatic" and "refresh schedule" in the same sentence is confusing as the two don't really have anything in common when talking about this connection type.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG
Highlighted
Frequent Visitor

Re: SQL On-Prem with Enterprise Gateway refresh issue

@wonga Thanks for your reply. My question is answered now. I wil use a plugin in my browser to refresh the report/dashboard. Unfortunally it is not possible (at te moment) to schedule the refresh on the gateway (like using the Import option). 

Highlighted
Advocate II
Advocate II

Re: SQL On-Prem with Enterprise Gateway refresh issue

@Bas: Hi, could you please tell me what is your process of using the plugin from website ?:
1/ the name of your plug-in
2/ you refresh the report page or the dash board page? By refreshing the web page (f5) or click on the refresh button of dashboard/report
3/ and any other points that you think thus is important to know before implementing the solution.

thanks very much,
DAN
Highlighted
Frequent Visitor

Re: SQL On-Prem with Enterprise Gateway refresh issue

Hi @DAN,

 

I am using Google Chrome as browser. I installed the plugin Revolver Tabs (https://chrome.google.com/webstore/detail/revolver-tabs/dlknooajieciikpedpldejhhijacnbda)


This plug-in is automatically scroling through the different tabs opened in Google Chrome. Every tab is showing a page of my report. Before opening the next tab in Google Chrome, the plug-in automatically refreshes the page. This ensures the recent most recent data is showed.

 

I hope that this (https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/10861638-slideshow-in-full-screen...) idea will be launched soon. Because our reports are showed on a big screen.

 

Does this answer your question?

Highlighted
Advocate II
Advocate II

Re: SQL On-Prem with Enterprise Gateway refresh issue

Hi Bas,
Ill implement your solution right now and ill keep in touch with you for the result.
Thank you very much 🙂
Have a nice day,
DAN

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors