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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jzhao
Frequent Visitor

Issues with Filtering Tables in Power BI After Manual Relationship Setup

I'm facing a strange issue. I loaded data using a direct query with an imported relationship, and I can filter the table using the following code:

Filter(Direct Query Imported Relationship Table, related(lookup table[fiscal year]) > 2024).

However, when I set up the relationship manually, I can no longer filter the table with this code:

Filter(Manually Set Up Relationship Table, related(lookup table[fiscal year]) > 2024).

Power BI throws an error saying, "Column doesn't exist or doesn't have a relationship to any table available in the current context." Does anyone know why this is happening?

 

 

 

All Relationship are many to one, cross filter direction is single.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jzhao ,

 

As BeaBF  mentioned, check the model relationships between your tables.

You will get the error for the relationship shown below.

vtangjiemsft_0-1729058653261.pngvtangjiemsft_1-1729058664441.png

You need to change your model relationships to output properly with lookup table as one end table, see 

Using RELATED and RELATEDTABLE in DAX - SQLBI

Get a field value from a related table in Power BI: DAX RELATED Function Explained - RADACAD

 

vtangjiemsft_2-1729058970015.pngvtangjiemsft_3-1729058984394.png

 

Best Regards,

Neeko Tang

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

2 REPLIES 2
Anonymous
Not applicable

Hi @jzhao ,

 

As BeaBF  mentioned, check the model relationships between your tables.

You will get the error for the relationship shown below.

vtangjiemsft_0-1729058653261.pngvtangjiemsft_1-1729058664441.png

You need to change your model relationships to output properly with lookup table as one end table, see 

Using RELATED and RELATEDTABLE in DAX - SQLBI

Get a field value from a related table in Power BI: DAX RELATED Function Explained - RADACAD

 

vtangjiemsft_2-1729058970015.pngvtangjiemsft_3-1729058984394.png

 

Best Regards,

Neeko Tang

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

BeaBF
Super User
Super User

 

@jzhao Hi, can you paste the screen of the relationship? 

 

BBF

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.