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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jch
Microsoft Employee
Microsoft Employee

Can't determine relationship between fields

I have 2 tables:

1. Table readin contains a calculated field :

Actual Date = if(SEARCH("/",readin[Actual], 1, -1) > 1,DATEVALUE(readin[Actual]))
2. Table DimDate contains a date and associated categorical variables for charting. I also created this column:
DateKey = datevalue(DimDate[Date])

How come adding a relationship between these 2 fields throws the error Can't determine relationships between the fields?
 

jch_0-1623698388932.png

Thanks in advance

1 ACCEPTED SOLUTION
jch
Microsoft Employee
Microsoft Employee

I appreciate your help on this. The answer ended up being

 

In a one-to-many relationship, you can only filter the relationship by table like table2, but not vice versa.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @jch ,

 

Could you tell me if my post helps you a little? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

 

Or please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Best Regards,
Eyelyn Qin

jch
Microsoft Employee
Microsoft Employee

I appreciate your help on this. The answer ended up being

 

In a one-to-many relationship, you can only filter the relationship by table like table2, but not vice versa.

Anonymous
Not applicable

Hi @jch ,

 

You are trying to use two or more fields from tables that are not related. You need to remove the unrelated fields from the visual and then create a relationship between the tables. Once you have done this change, you can add the fields back to the visual.

 

Refer to: 

Create and manage relationships in Power BI Desktop 

https://community.powerbi.com/t5/Desktop/Error-Can-t-determine-relationship-between-fields/m-p/90848...

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

parry2k
Super User
Super User

@jch what @TomMartens  suggested, but why you are adding DateKey column in Calendar table? What is the type of both the columns? Is it date?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

TomMartens
Super User
Super User

Hey  @jch ,

 

create a pbix file that contains sample data, but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the xlsx as well.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors