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

Published Power BI report using web service to get data from DMZ

Hi.  I have a published a dashboard on PowerBI.com using a static datasource, but now need to link the dashboard to a live SQL database curently on site.  Can anyone detail the steps to re:webservices or gateways that will be needed to get the report to reference a live datasource and not just the data that was uploaded with it when it was published please?

 

We have a server in the DMZ (de-militarised zone) that I can populate with data from internal databases - so it's not the data that is the problem - more about what I would need for a link between the published version and our DMZ server.

 

Thankyou.

1 ACCEPTED SOLUTION

Hi @SvenTexas,

 

It seems the issue is solved. Would you please mark the helpful reply as an answer?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun 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

5 REPLIES 5
v-qiuyu-msft
Community Support
Community Support

Hi @SvenTexas,

 

According to your description, you already published a report to the Power BI service. And you want to change the data source of this report from a static data source to a live SQL database, right?

 

As @ankitpatira mentioned, we need to modify the data source of the report in Power BI Desktop, then republish it to Power BI service.

 

As you are connecting to the SQL Server database which requires gateway to build connection, before publish the report, you can configure the SQL Server data source under on-premises data gateway firstly. Once publish is successful, the report is using this gateway automatically.

 

To configure the data source under on-premises data gateway, you can go to Gateways page, create a SQL Server data source with the same server and database name used in the report.

 

q2.PNG

 

Reference:
Manage your data source - SQL Server

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

 

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

Thankyou @v-qiuyu-msft - you are correct - that is exactly what I wanted to read.

 

Thankyou for your help.

 

 

Hi @SvenTexas,

 

It seems the issue is solved. Would you please mark the helpful reply as an answer?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ankitpatira
Community Champion
Community Champion

@SvenTexas The only way currently is to use pbix file within power bi desktop and via query editor change the source and save. Then republish to power bi service which will replace your published dataset with the new one. Ofcourse you will then need to setup gateway and depending on the mechanism you're using to data source such as directquery.

Thankyou @ankitpatira, what is involved in setting up the gateway? I guess our network guys would set that up - would there be anything that I would have to give them to help?

 

Thanks.

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.