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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kintela
Helper II
Helper II

Unexpected error creating a relationship

Hi

When I try to create a realationship between this 2 tables

 

 

Captura.JPG

 

I get the error Object reference not set to an instance of an objeto

 

Any idea please?

 

Regards

 

4 REPLIES 4
adri_s
Frequent Visitor

I am having the same problem when trying to create relationships in the relationships tab with the latest update (2.43.4647.541). The error appears even when I delete relationships that I had already created using this method and try to recreate them, but I know this is not a problem with my datasets because I can create them without any issues using the Manage Relationships method.

 

 

 Edit: I have used the method suggested by @MrPowerBIPro and it worked, thanks. However, I still don't know why it doesn't work the other way around as it used to before.

Datatouille
Solution Sage
Solution Sage

Hi @kintela

 

I used to have this kind of error.

I suggest you download again the {last} version of Power BI Desktop! You should get rid of this error.

I have just downloaded the version of the Power BI desktop web that I assume is the last no?

 

Regards

Drag "ID" from Centros Table to "ID" in Candenas Table. 

please drop me a not if it doesn't work

Enemy of can't
www.mrpowerbi.pro

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.