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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Qzzz
New Member

SQL Server Conection on app.powerbi.com

I have created a power BI reports with data source from sql server in it and uploaded it to my workspace. I want to refresh the semantik model to get the data updated by clicking the refresh button but it shows me wrong 

Qzzz_0-1722629346452.png

So i take a look at the data souce setting it shows the sql connection is offline, how can i set it correctly ? My Sql Server is using windows authentication, but obviously i can not save the setting with the window authentication option

Qzzz_1-1722629561699.png

Qzzz_2-1722629606089.png

 

Local Gateway is online

Qzzz_3-1722629737637.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Qzzz 

I am glad to help you.

 

What connection are you using to connect to SQL Server, Import? or DirectQuery? 

 

There are two types of On-premises data gateway.

 

After looking at your pictures, I see that you are actually using a personal gateway, not a standard gateway as you mentioned in the other picture for online status? 

vfenlingmsft_0-1722843116821.png

 

 

Standard gateway: 

vfenlingmsft_1-1722843116822.png

 

Perhaps you could try logging into the personal gateway, then checking again that the personal gateway is online, and then testing again to see if it refreshes properly. 

vfenlingmsft_2-1722843220169.png

 

Here are some official documentations, hope they help: 

What is an on-premises data gateway? | Microsoft Learn 

Use a personal gateway in Power BI - Power BI | Microsoft Learn 

Manage a SQL Server data source - Power BI | Microsoft Learn 

 

I hope this option above will help you. If you still have problems, please contact us with your feedback and the steps you took. Please remember to hide your personal information! We will do our best to solve your problem! 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi, @Qzzz 

I am glad to help you.

 

What connection are you using to connect to SQL Server, Import? or DirectQuery? 

 

There are two types of On-premises data gateway.

 

After looking at your pictures, I see that you are actually using a personal gateway, not a standard gateway as you mentioned in the other picture for online status? 

vfenlingmsft_0-1722843116821.png

 

 

Standard gateway: 

vfenlingmsft_1-1722843116822.png

 

Perhaps you could try logging into the personal gateway, then checking again that the personal gateway is online, and then testing again to see if it refreshes properly. 

vfenlingmsft_2-1722843220169.png

 

Here are some official documentations, hope they help: 

What is an on-premises data gateway? | Microsoft Learn 

Use a personal gateway in Power BI - Power BI | Microsoft Learn 

Manage a SQL Server data source - Power BI | Microsoft Learn 

 

I hope this option above will help you. If you still have problems, please contact us with your feedback and the steps you took. Please remember to hide your personal information! We will do our best to solve your problem! 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

thanks for your reply!  After changing to personal gateway, the connection is online now !

Qzzz_0-1722886320243.png

One more question: Can i set my sql connection to a standard gateway if i am using a standard gateway ?It seems like it does not allow me to change it, the data source was generated automatically after i upload my power BI file.

Qzzz_1-1722886650641.png

 

GilbertQ
Super User
Super User

Hi @Qzzz 

 

Can you make sure that you have got the same details in the Gateway as in your SQL Server source?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi @GilbertQ ,

thanks for your reply. I found that i am not using the same gateway mode.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.