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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
foks
Frequent Visitor

Change SSAS data source connection string after publishing to Power BI Service

Hi,

 

I have Data Gateway installed on SSAS server with connection string database server: localhost, database: olap_cube. 

Unfortunately users are working with Power BI Desktop locally. They are using OLAP through web as connection string so they are connecting to server via https://olapserver...

If they will publish report/dataset there is error "There is no gateway to access the data source https://olapserver" because data source in gateway has local server name.  

 

Now I can't change that connection string in Power BI service nor manually or automatically so I have only two options. Both aren't perfect to me:

1) To publish report user has to log in to SSAS/Gateway server, install Power BI there, change connection string to servername and publish report. It's requires access to Gateway server...

2) I can add data source in PBI Gateway with connection string: https://. But from performance side it hasn't any sense for me because power bi gateway will be connecting through web to SSAS cube that is on the same server. It isn't efficient at all.  

 

Is there any other way to handle this? Maybe any API, Powershell script, gateway property that will change/map web address https:// to localhost server name? 

 

Best Regards,

Adam

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @foks 

Please add the datesource in manage gateway as below:

https://docs.microsoft.com/en-us/power-bi/service-gateway-enterprise-manage-ssas

 

Regards,

Lin

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors