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?
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...
You may refer to the post below.
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)
Check out new user group experience and if you are a leader please create your group!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Mark your calendars and join us for our next Power BI Dev Camp!