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
santhiya
Helper I
Helper I

Schema Difference in Testing Environment and Production Environment

I am directly connecting with my Testing  database with import mode . I am having the following issues 

I am having few columns that in Testing database that are not in my production database. 
 I am having two tables which has a one to one Relationship due to some bug a key on other end of the table has duplicated value resulting one to Many Relationship but in Production the relationship is one to one 
In development everything works fine, but when I deploy to Production due schema change and relationship mismatch the refresh breaks
 
Do you have any solution to solve this kind of approach?
1 REPLY 1
lbendlin
Super User
Super User

Remove the extra columns from your "Testing database". You don't want to have these schema differences, especially not when they affect joins.

 

Consider adding primary keys so that the issue cannot occur at all.

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.