Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

RELATED() doesnt work corectly

Hello, I have a problem to write correctly DAX formula.
I have two tables:

Table1 with fields [t1_a], [t1_b], [t1_c]
Table2 with fields [t2_a], [t2_b], [t2_c]

Between these two tables is a active many to many relationship ([t1_a]->[t2_a]).
If I want to show all fields from these two tables in a one table - its possible.
But I want to create in Table1 a new column, that contain value [t2_c] (related per relationship) from Table2 .
If I use RELATED() its doesnt work.

 

Column = RELATED(Table2[t2_c])

return: "The column 'Table2[t2_c]' either doesn't exist or doesn't have a relationship to any table available in the current context."

2 Replies