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
gani_tpt
Regular Visitor

How to connect multiple Data Source (DSN) in one Report while configuring gateway

I am developing PBI report and it has connecting to two different databases.

I am trying to confidure this report with existing gateway.

for that, i have created two different DSN (every DSN has connecting with one database).

While configuring the report with the existing gateway," How to call the two(2) DSN with this report with existing gateway"

 

Now, i can configure only one DSN in the gateway. so, i am getting error in the report. Because, the report has connecting in two different database's.

How to solve this multiple DB's problem with the gateway and report...?

This is urgent.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @gani_tpt

 

I understand that you are encountering problems when you want to use a gateway to connect multiple data sources to a report.

 

Please try the following:

 

On the Power BI service, click on the gear icon in the top right and navigate to “Manage Gateways”.

 

If you already have a SQL Server setup, you should have a gateway cluster that could be named as the server. In the cluster, you can have multiple data sources.

 

For each database on the same machine, you need to add a data source, configure the settings appropriately (same name for the server, but different database name).

 

The most important part is that the naming that you do in the data source configuration has to match up exactly to what you have used in your connection string in Power BI Desktop.

 

Once you publish your Power BI report, in the Datasets settings, you will be able to see the list of data sources you have access to. You need to select the data sources that correspond to your report.

 

Once all required data sources have been set up and selected, click on apply to bind this dataset to the selected data source on the gateway.

 

You can view the link below for more details:

 

Solved: Gateway Service - Same SQL Server, multiple databa... - Microsoft Fabric Community

 

Regards,

Nono Chen

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

2 REPLIES 2
Anonymous
Not applicable

Hi @gani_tpt

 

I understand that you are encountering problems when you want to use a gateway to connect multiple data sources to a report.

 

Please try the following:

 

On the Power BI service, click on the gear icon in the top right and navigate to “Manage Gateways”.

 

If you already have a SQL Server setup, you should have a gateway cluster that could be named as the server. In the cluster, you can have multiple data sources.

 

For each database on the same machine, you need to add a data source, configure the settings appropriately (same name for the server, but different database name).

 

The most important part is that the naming that you do in the data source configuration has to match up exactly to what you have used in your connection string in Power BI Desktop.

 

Once you publish your Power BI report, in the Datasets settings, you will be able to see the list of data sources you have access to. You need to select the data sources that correspond to your report.

 

Once all required data sources have been set up and selected, click on apply to bind this dataset to the selected data source on the gateway.

 

You can view the link below for more details:

 

Solved: Gateway Service - Same SQL Server, multiple databa... - Microsoft Fabric Community

 

Regards,

Nono Chen

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

gani_tpt
Regular Visitor

Anyone can reply for this post...This is urgent.

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.