Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vinod_d
Regular Visitor

Keep relationship on data refresh

Hi

Is there any way through which we can keep the manually created relationships even after the data refresh?

 

The format of data source we are using is excel.

We have successfully created the report structure for an excel file.

When we tried to import a new excel in the same format (same column headers), all the relationships that we manually created earlier are getting deleted.

 

Do anyone have any idea on how to accomplish this?

Thank you in advance.

 



4 REPLIES 4
Greg_Deckler
Super User
Super User

Turn off automatically detect relationships. Go to File | Options and settings and under Current File, Data Load uncheck all the relationship stuff.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I've tried doing that. It's not working.

Is the data changing in some way that would prevent these relationships? Like duplicates being added on the 1 side of a 1:n relationship for instance?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@KHorseman No duplicates are being added to any side of relationships. All relationships created are 1:1 and are created manually.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.