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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
vickyp00004
New Member

Unable to publish dataset using public cloud data source

Hello,

I am very new to Power BI and still trying to evaluate if it is the solution I need. I have a sql server database in the cloud and I want to use Power BI to create reports that can be accessed by people in my organization. The connection was configured to use Direct Query (I want the reports to always be up to date). I am using the Power BI Pro Trial version and mainly just testing things out. I installed and set up the On-premises personal data gateway, though I don't think I need it since the source is in the cloud and publicly accessible (Not in a virtual network).

 

On Power BI Desktop everything works but when I publish it gives me this error:

power_bi_publish_error.png

In the dataset's settings I see this error:

power_bi_published_dataset_error.png

When I click "Recreate cloud data sources" the message just disappears and reappears.

When I try to look at the report I get this error:

image_2023-09-13_080803746.png

In Manage connections and gateways I have:

power_bi_connection.png

power_bi_connection_settings.png

I'm unsure as to why the option to switch from On-Premises to Cloud is greyed out.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vickyp00004 ,

For standard gateway, when you had finished install and configure, it will run in the local machine as a service, if the machine is always turn on, the gateway will running at all times.

vbinbinyumsft_0-1694767786966.png

For more details, you can read related document:  Install an on-premises data gateway | Microsoft Learn

 

Best regards,
Community Support Team_Binbin Yu
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
vickyp00004
New Member

I found the issue. It was the Direct Query setting on the Sql Server data source. I need the enterprise version of on-premises gateway. My question now is what can I do to keep the gateway running at all times.

Anonymous
Not applicable

Hi @vickyp00004 ,

For standard gateway, when you had finished install and configure, it will run in the local machine as a service, if the machine is always turn on, the gateway will running at all times.

vbinbinyumsft_0-1694767786966.png

For more details, you can read related document:  Install an on-premises data gateway | Microsoft Learn

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.