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.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
105 | |
78 | |
68 | |
63 |
User | Count |
---|---|
148 | |
107 | |
106 | |
84 | |
70 |