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
avgopal
Frequent Visitor

Create calculation in a table based on column from another tbale

Hi, 

 

I have two tables Table A and Table B which are joined by ID and have a many to one realtionship  between A and B. 

 

I need to create a calculated column in Table A based on some columns from Table B. I tried using the RELATED function which is giving me the below error, even though there is a relationship:

The column 'Table B[X]' either doesn't exist or doesn't have a relationship to any table available in the current context.

 

Any assistance appreciated.

3 REPLIES 3
avgopal
Frequent Visitor

I tried that, but it was not working as expected.

You shouldn't. 

 

Please provide a sample PBIX that illustrates the issue.

lbendlin
Super User
Super User

Did you maybe set the filter direction from A to B?

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.