Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have question, how I could create a new column using related expression. I used like this:
I checked - both tables has a relationship but I still can't create that column. I am getting this error:
How I could resolve this issue?
Hi @Analitika ,
The RELATED function cannot be used to fetch a column across a limited relationship.
You can try some DAX like the following:
columns =
CALCULATE(
MAX( 'result_table'[values] ),
FILTER(
'result_table',
[related_ID] = EARLIER( 'current_table'[related_ID] )
)
)
OR LOOKUPVALUE().
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Analitika , related work from on Many side from one side
A new column in table 1
You can try maxx(relatedtable(Table2), Table2[Column])
refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8