Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
phk_holship
Frequent Visitor

How do you get real-time data out of a local SQL server?

Hi.

 

We have all our data on a local SQL server. I have set up a PowerBI report that feeds off those data, but because they are local, the reports are only refreshed as long as my own PC is online, because it acts as a gateway.

 

What would be the right way to go about it, if we wanted a real time updating report, without the need of having PCs standing around in the office acting as gateways? I was thinking something like Azure SQL, maybe? But I am clueless about these things, hoping for some good advice.

 

Or maybe there is some smart service that can make copies/backups of our database to the cloud, and from there you could attach a powerBI flow.

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. First of all, if the source is a local SQL Server you must use a gateway. That means that even if you use Direct Query (querys to source with 15 mins cache, near real time) or Import Data, you must set up a Machine with the Gateway for refreshes. The best approach would be having a Machine or a Virtual Machine running 24x7 with the gateway installed in order to run refreshes or querys whenever you want.

Azure can let you create databases as services. If you are thinking about migrating the sources to the cloud, then you can avoid the gateway and just refresh Power Bi without any Gateway. The service is Azure SQL Database.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. First of all, if the source is a local SQL Server you must use a gateway. That means that even if you use Direct Query (querys to source with 15 mins cache, near real time) or Import Data, you must set up a Machine with the Gateway for refreshes. The best approach would be having a Machine or a Virtual Machine running 24x7 with the gateway installed in order to run refreshes or querys whenever you want.

Azure can let you create databases as services. If you are thinking about migrating the sources to the cloud, then you can avoid the gateway and just refresh Power Bi without any Gateway. The service is Azure SQL Database.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors