Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How do I reuse a gateway connection between my reports?

Right now, every time a we need to map some on-prem data to dataset (to our gateway in we have to create an entirely new connection in the gateway, even though there are something like 20 existing connections with the exact same credential and connection string.

When "mapping" it is simply not allowed to choose between existing connections. It clutters everything, and is very annoying , and a nightmare if say, the database credential is changed.



Super User
Super User

Hi. I haven't seen this before. However I think I can say something that might help. In order to make different Pbix files with same source take one source of the configured in the Gateway. All sources must be configured exactly with the same string. You can't miss a "," or anything. If you use a port in one and not another, then it's a different connection. If you use IP in one and alias in another it's a different connection.

Be sure that your Power Query code in the datasets are the same, SQL Server e.g:

Source = Sql.Database("[server instance]", "[database]")

You can check it in Power Bi Desktop under Data Sources settings. If you load a lot of tables from same source you should only see one source with the previous name.

If all files are like that, you should only configure the gateway source once. It might sounds like obvious but believe me when I say "check the files again".

I hope this helps,

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

Happy to help!

LaDataWeb Blog

Helpful resources

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Top Solution Authors
Top Kudoed Authors