cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yaniv-amar
New Member

Is it possible to rename tables in Live Connection mode?

Hi,

 

When I rename a table in my tabular model and clicking Refresh in Power BI Desktop, the visual can't find the table and shows an error. Is there a way to update the .pbit to match the updated model?

6 REPLIES 6
a-b
Regular Visitor

I did it with this ugly hack.
1) Rename the .pbix file to .zip
2) Unzip it
3) Open the \DiagramLayout file with Notepad++ and replace old table name with new table name. Do the same with the Report\Layout file
4) Zip the folder back and rename to .pbix
5) Try to open the file. If you got message that the file is corrupted, try to open it on another machine. It sould work. This unexplained behavior described here https://community.powerbi.com/t5/Desktop/Programmatically-set-data-colors-by-unzipping-pbix-and-modi...

lachicazul
Frequent Visitor

Did you find a way?

 

Same issue here 😐

yaniv-amar
New Member

Hello,

 

This is still an issue. Any help would be appreciated

v-chuncz-msft
Community Support
Community Support

@yaniv-amar,

 

You may refer to the post below.

https://community.powerbi.com/t5/Desktop/Is-it-possible-to-rename-a-table-in-database-when-connectio...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Well, seriously: in case of Live Connections (to Power BI datasets/AAS/Tabular),

is it not possible to rename a table (data model) without breaking all the visuals referring to it???

Thanks @v-chuncz-msft, but it refers to Direct Query mode and my .pbit is in Live Connection mode where the Query Editor is not available (Edit Queries button is grayed out)

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors