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
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.
Results from running "select * from $system.TMSCHEMA_data_sources" against the dataset using the XMLA endpoint.
Solved! Go to Solution.
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!
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!
Hi @Anonymous
I suggest removing the second data source firstly, and then new a data source with database "GDB"
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.