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
Spriinter
Frequent Visitor

Report Refreshing Problem - SQL Server Database

My report was connected to a SQL database with "import" method. It extract data from a stored procedure with an "EXEC spXXXXXX" syntax. I have set a "Scheduled refresh" for 8 times per day.

However, when my computer was shut off and SQL Server Management Studio offline, my Power BI report cannot refresh and the scheduler would automatically turned off. In order to keep this report update, I have to keep the SQL Server Management Studio online every morning, somtime I refresh the dataset manually.

The error message said "Your data gateway (personal mode) is offline or couldn't be reached."

Any solution to this problem?

 

Spriinter_0-1657539726780.png

 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

It is not running Management Studio that is affecting this issue. The "problem" here is that to access an on-prem SQL Server the Power BI cloud service needs to connect through a data gateway. You must currently be running this gateway as a personal gateway on your machine. The way to get this to work when your machine is not switched on or connected is to setup another machine with a "standard" gateway. If you check the docs here On-premises data gateway - Power BI | Microsoft Docs  you can see that there are a few different options for setting up data gateways.

 

To get a standard gateway setup you will probably need to talk to your IT department as you will need a server to run it on and a Power BI Admin to configure it.

View solution in original post

2 REPLIES 2
d_gosbell
Super User
Super User

It is not running Management Studio that is affecting this issue. The "problem" here is that to access an on-prem SQL Server the Power BI cloud service needs to connect through a data gateway. You must currently be running this gateway as a personal gateway on your machine. The way to get this to work when your machine is not switched on or connected is to setup another machine with a "standard" gateway. If you check the docs here On-premises data gateway - Power BI | Microsoft Docs  you can see that there are a few different options for setting up data gateways.

 

To get a standard gateway setup you will probably need to talk to your IT department as you will need a server to run it on and a Power BI Admin to configure it.

Thank you so much for your answer! I'll look into that!

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.