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
Anonymous
Not applicable

Relationships between tables from different databases not working

HELP - Relationships are not working

 

I am pulling data from one databse and trying to join that with a table from another database.

 

It is not allowing me to create the links in the design mode!

 

None of the fields are allowing me to join.

 

I am running windows 10 64 bit November update.

 

Thanks

5 REPLIES 5
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

When you create a relationship, it will prompt both columns don't have distinct values. 

 

q5.PNG

 

You can create a table visual to show count of the activitydate column from Query1, count value 2 means there are duplicate values. Regarding the Calendar$ table, you can see there are more than one blank rows, also are duplicate rows. So it's expected that we can't create a relationship. You can see attached pbix file. 

 

In your scenario, you can go to query editor, use Remove Blank Rows to remove blank rows in Calendar$ table. After apply change, you should be able to create the relationship between activitydate and Date. 

 

Best Regards,
Qiuyun Yu

 

 

 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi,

 

I was not receivi ng that screen.  nothing was happening.

 

Thanks

Anonymous
Not applicable

Vicky_Song
Impactful Individual
Impactful Individual

 
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

Are you using the Power BI desktop installed from the Store? I have tested with Store version and normal version (downloaded from download site), we can create relationships for tables from different databases. 

 

would you please share detail steps for us to reproduce the issue? 

 

Note: Do mask sensitive data before uploading.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.