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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors