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
r4m4nxd
Regular Visitor

Direct Query report published but disconnected

Hi Everyone, I have a PBI report which I am using to show real time data, every minute, using page refresh on direct query.
However, it is only working on the desktop version, not on the Power BI Service.

Few things I did was-
1. Make a direct query connection for the table in report.
2. turned on page refresh, which worked on the Desktop version.

r4m4nxd_2-1722292906863.png

3. When I published the report on Power Bi Service, it showed report disconnected.

r4m4nxd_1-1722292893684.png

4. I have tried multiple solutions found online, none of them are working for me.
5. I have re-configured the gateway as well. But it still keeps showing There is no gateway to access the data source 'database name'.

r4m4nxd_4-1722293306557.png

 

 

r4m4nxd_0-1722292882214.png

This only happens if I have a direct query connection, as soon as I change that table to import connection, it is working all fine, automatically makes the database connection thru gateway.

I cannot find any solution for it to work further.

has anyone dealt with the same issue before?
It is out of my thinking scope now. Any help would be appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @r4m4nxd 

First, you need to check if you have a gateway

vyohuamsft_0-1722303055705.png

vyohuamsft_1-1722303088919.png

Find your semantic model and set it up. Once you're in the settings, select Gateway and Cloud connection

vyohuamsft_2-1722303118255.png

vyohuamsft_3-1722303236756.png

Select Add to gateway

vyohuamsft_7-1722304289652.png

Create a new connection.

 

vyohuamsft_6-1722304240616.png

 

Then Map to your connection, select apply.

vyohuamsft_5-1722304125874.png

 

If your refresh is normal, then the gateway connection is successful

vyohuamsft_8-1722304443136.png

 

You can learn more about the following link:

Add or remove a gateway data source - Power BI | Microsoft Learn

 

Create and share cloud data sources in the Power BI service - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

2 REPLIES 2
Anonymous
Not applicable

Hi, @r4m4nxd 

First, you need to check if you have a gateway

vyohuamsft_0-1722303055705.png

vyohuamsft_1-1722303088919.png

Find your semantic model and set it up. Once you're in the settings, select Gateway and Cloud connection

vyohuamsft_2-1722303118255.png

vyohuamsft_3-1722303236756.png

Select Add to gateway

vyohuamsft_7-1722304289652.png

Create a new connection.

 

vyohuamsft_6-1722304240616.png

 

Then Map to your connection, select apply.

vyohuamsft_5-1722304125874.png

 

If your refresh is normal, then the gateway connection is successful

vyohuamsft_8-1722304443136.png

 

You can learn more about the following link:

Add or remove a gateway data source - Power BI | Microsoft Learn

 

Create and share cloud data sources in the Power BI service - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

Thank you so much.

Although I already had a connection made for the same database in that gateway, I recreated another connection with same credentials and database name. It finally showed up in the drop down, and now the refreshes are running smoothly.

Thank you very much for detailed guidleines.

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.