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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
hakimipous
Regular Visitor

Question about PowerQuery in Published Report

Hello,

 

I would like to create Reports that are automatically refreshed with data coming from a Microsoft SQL Server.

I've seen that the way to achieve that is using PowerQuery, which is only available in the Desktop version of Power BI.

 

If I create my reports using the Desktop version, and then publish them online, will the Reports still be automatically refreshed?

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @hakimipous ,

 

Documents for your reference.

What is an on-premises data gateway-

https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem.

Install an on-premises data gateway-

https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-install

Manage an on-premises data gateway-

https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-manage

Refresh data from an on-premises SQL Server database-

https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-sql-tutorial#connect-a-datase...

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

5 REPLIES 5
Anonymous
Not applicable

Hi @hakimipous ,

 

Documents for your reference.

What is an on-premises data gateway-

https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem.

Install an on-premises data gateway-

https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-install

Manage an on-premises data gateway-

https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-manage

Refresh data from an on-premises SQL Server database-

https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-sql-tutorial#connect-a-datase...

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

thanks everyone! 

I think you gave me enough material to indeed fix the issue 🙂

Anonymous
Not applicable

Hi @hakimipous ,

 

You can also Schedule the refresh in Power BI Service to get the latest data from the source - https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-scheduled-refresh

 

Best Regards,
- Pavan M.

Hi @Anonymous , thanks for replying

But you can't add a Microsoft SQL server as Dataset source, right?

 

PBIsource.png

 

 
 
 
nickyvv
Most Valuable Professional
Most Valuable Professional

@hakimipous,

 

What @Anonymous meant, was that after publishing the report from Desktop to the Service, you can set up a scheduled refresh as per the link provided. You would need:

  • a gateway installed for that,
  • and add the datasource as an entry to that gateway,
  • and add your user to the gateway entry so you can use it
  • in the dataset settings for scheduled refresh, make sure the gateway connection is correctly filled and applied


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

Blog: nickyvv.com | @NickyvV


Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Kudoed Authors