I created a Tabular model using VS 2013 (because later versions don't support BIDS helper (which we use for creating a folder structure organizing all measures and dimensions within the model)). After working on it for a while I noticed that I was missing a table, so I went back to go get it. The only mistake which I made was that I ended up creating a new data connection in the process. Short of dropping those tables and recreating them, is there a simple way for me to change the data source of that new table so that I can delete the redundant connection to my database?
Asked
Active
Viewed 8,493 times
3 Answers
1
A colleague shared the following link: http://jakubka.blogspot.com/2013/11/how-to-change-connection-string-for.html.
While changing the code in this way most certainly comes across as being hacky and is probably not the highly recommended way to do things; it worked! Took me less than 5 minutes to fix and it was as simple as described in the link...
Jakub K (author of the article), thanks, man!

Eli
- 2,538
- 1
- 25
- 36
1
I encountered this issue today. I have VS 2017 and co-worker showed me how to do this.
- Create New Data source in the Model(.bim file)
- Save and close .bim file
- Right click the .bim file and view code . This gives you an editable view.
- Edit the connection on all the tables you want changed, not the original connection.
- Save and exist .bim file
- Open .bim file and confirm change.

David Ott
- 11
- 2
-1
In this case I use Tabular Editor. There is a good article about it Tabular Editor Tricks - Convert to Legacy

Alex Zidcov
- 31
- 4