cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Ramyzo Regular Visitor
Regular Visitor

How Power BI Desktop detect the relation between the tables

Greeting all ,

 

i have a question on the table relations in power BI , im following a tutorial on relations on power BI . i made some research and i notice that power bi use the type and the name to detect the relation , but in some cases power BI doesnt detect the relation automatically . that's why i want to know exaclty how power bi detect the relations 

 

and thanks in advance ! 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How Power BI Desktop detect the relation between the tables

hi, @Ramyzo 

It seems that Autodetect doesn't work for date field, other format works well.

 

Regards,

Lin

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

View solution in original post

5 REPLIES 5
Watsky Regular Visitor
Regular Visitor

Re: How Power BI Desktop detect the relation between the tables

Are you referring to the AutoDetection? If so:

 

Power BI Desktop looks at column names in the tables you are querying to determine if there are any potential relationships. If there are, those relationships are created automatically. If Power BI Desktop cannot determine with a high level of confidence there is a match, it does not automatically create the relationship. 

 

https://docs.microsoft.com/en-us/power-bi/desktop-create-and-manage-relationships

Ramyzo Regular Visitor
Regular Visitor

Re: How Power BI Desktop detect the relation between the tables

Yes the auto detection ! there is a clear relation between my table date and table Sales ! but power BI doesnt detect it automatically only when i fo it manually ! that's why im trying to figure it out how PBI detect these relation 

Watsky Regular Visitor
Regular Visitor

Re: How Power BI Desktop detect the relation between the tables

Are the two columns you are joining named the same? They should be named the same that includes case sensitivity.

Ramyzo Regular Visitor
Regular Visitor

Re: How Power BI Desktop detect the relation between the tables

Yep they have the same name and same type im 100% positive and still cant detect auto unless i add it manually 

Community Support Team
Community Support Team

Re: How Power BI Desktop detect the relation between the tables

hi, @Ramyzo 

It seems that Autodetect doesn't work for date field, other format works well.

 

Regards,

Lin

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

View solution in original post

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 65 members 1,234 guests
Please welcome our newest community members: