This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi fellows, I hope you can help me.
I have the following tables:
As you can see both contain the "Document" column and are related as follows:
I want to extract from the table "DM" the value "DX Date" and place it in the table "BD DTC", but when I try I get the following error: The column 'DM[DATE DX]' does not exist or has no relation to the tables available in the current context.
Any idea what might be going on?
Solved! Go to Solution.
Hi @Syndicate_Admin ,
RELATED works only for side 1 of the relationship, for side many you need to use RELATEDTABLE or LOOKUPVALUE.
Column = LASTNONBLANK(SELECTCOLUMNS(RELATEDTABLE('DM'),"DX",'DM[DATE DX]'),TRUE())
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Syndicate_Admin ,
RELATED works only for side 1 of the relationship, for side many you need to use RELATEDTABLE or LOOKUPVALUE.
Column = LASTNONBLANK(SELECTCOLUMNS(RELATEDTABLE('DM'),"DX",'DM[DATE DX]'),TRUE())
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |