Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 36 | |
| 18 | |
| 14 |