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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Data Gateway Mapping Inconsistent with Data Sources

I have a model that is maintained through the XMLA endpoint that contains two data sources both of which need to be mapped through a data gateway. After updating the server name of one of the data sources (via TMSL command), the data gateway connection still lists the previous server name for specifying the mapping. Is there a way to get the gateway mapping to reflect the new server name?

 

Here is a pic of the mapping (server names redacted), The first source (my-db-server) is correct. The second source uses "other-server", but should be using "my-db-server" as seen in second screenshot.

mytwospence_0-1626795334888.png

 

Results from running "select * from $system.TMSCHEMA_data_sources" against the dataset using the XMLA endpoint.

mytwospence_1-1626795549068.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply @v-xiaotang . The issue wasn't with the data gateway data source, but the data source in the model itself. Your response did make me think to try deleting the data source in the model with a drop tmsl command, and then run a create tmsl command. Before I was just doing a createOrReplace tmsl command, which apparently doesn't update the data gateway bindings. Thanks for the help!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply @v-xiaotang . The issue wasn't with the data gateway data source, but the data source in the model itself. Your response did make me think to try deleting the data source in the model with a drop tmsl command, and then run a create tmsl command. Before I was just doing a createOrReplace tmsl command, which apparently doesn't update the data gateway bindings. Thanks for the help!

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

I suggest removing the second data source firstly, and then new a data source with database "GDB"

vxiaotang_0-1626922082703.png

 

Best Regards,

Community Support Team _ Tang

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.