Skip to main content
Microsoft Idea

Power BI

Needs Votes

While refreshing Data-source, it deletes the relationship between tables in PBI model

Vote (0) Share
's profile image

on 01 Apr 2019 18:50:21

After refreshing the data source in Pbix file, data model we observed that relationship between the tables was missing, and this caused of data exposing across multiple customers. To investigate more, thought was on the updates that have happened in Power desktop version, where there are some settings as mentioned below in Options menu in PBI Desktop which might be causing this behavior.
-> Import relationships from data sources
-> Update relationships when refreshing queries
-> Auto-detect new relationships after data is loaded

When talking to Microsoft team, they suggest to unchecked the first two above options which prevents the auto relationship updates.

A compromise was to consider a more direct dialog to the user to confirm if they really want to do this action, vs a beginning warning sentence surrounding the toggle.