Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello Guys,
I have established the joined between two tables based on commin field. but while taking related funtion ,it is showing error.
Can anyone please help me on this.
Error snapshot.
Connection.
Solved! Go to Solution.
Hi @Anonymous ,
As the error message mentioned, the context in your expression is ambiguous so that you cannot use it directly.
Note:
The RELATED function requires that a relationship exists between the current table and the table with related information. You specify the column that contains the data that you want, and the function follows an existing many-to-one relationship to fetch the value from the specified column in the related table.
In this case, the relationship between two tables is many-to-many so you can create a bridge table to change it to many-to-one relationship. Please refer: Many-to-many to many-to-one
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
As the error message mentioned, the context in your expression is ambiguous so that you cannot use it directly.
Note:
The RELATED function requires that a relationship exists between the current table and the table with related information. You specify the column that contains the data that you want, and the function follows an existing many-to-one relationship to fetch the value from the specified column in the related table.
In this case, the relationship between two tables is many-to-many so you can create a bridge table to change it to many-to-one relationship. Please refer: Many-to-many to many-to-one
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.