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
Kenbersani
New Member

Updated to V 2.93.981 and my calculated column no longer works

I updated my version calculated column does not work, I go back and install the prior version and it works again. 

 

I have a Main table (MT) and Relationship table (RT) connected as a MT -many to RT - one connection. If I pull two columns to a table/matrix it makes the connection and provides the data with no issues. My calculated column on my MT is Age = if(related(RT[age]) = "1", "New", "Old"), this worked fine until I upgrated and now I have an error "the column 'RT[Age]' either dosen't exist or doesn't have a relationship to any table avaiable in the current context". 

 

This is a direct query and need a solution to make this work again. Thanks!

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Kenbersani ;

By description ,You could use this LOOKUPVALUE() replaces RELATED() as follows:

Age= IF(LOOKUPVALUE(RT[age],'RT'[relatecolumn],'MT'[relatecolumn])=1,"New","Old")

Or you could try to change the DQ mode to import to see if it works.

 

Best Regards,
Community Support Team_ Yalan Wu
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
v-yalanwu-msft
Community Support
Community Support

Hi, @Kenbersani ;

By description ,You could use this LOOKUPVALUE() replaces RELATED() as follows:

Age= IF(LOOKUPVALUE(RT[age],'RT'[relatecolumn],'MT'[relatecolumn])=1,"New","Old")

Or you could try to change the DQ mode to import to see if it works.

 

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HashamNiaz
Solution Sage
Solution Sage

Hi @Kenbersani !

 

Please reverify, when you upgrade to newer version, did the relationship lost or modified, you can try to create a relationship again & see if it works. There might be possible data issue which is ignored in previous version.

 

Also try to work with sample data and see if it works on newer version, you may post some sample data here if you want us to give it a try.

 

Regards,

Hasham

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.