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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors