Forum Discussion
Matching Columns in 2 Tables
- 6 years ago
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. It works propperly on my side. The pbix file is attached in the end.
Table1:
Table2:
There is a relationship between two tables.
Result:
You may also create a measure as below.
Meaning Measure = MAXX( FILTER( ALL(Table2), Table2[Code]=SELECTEDVALUE(Table1[Code]) ), [Meaning] )Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. It works propperly on my side. The pbix file is attached in the end.
Table1:
Table2:
There is a relationship between two tables.
Result:
You may also create a measure as below.
Meaning Measure =
MAXX(
FILTER(
ALL(Table2),
Table2[Code]=SELECTEDVALUE(Table1[Code])
),
[Meaning]
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you! The measure worked!