March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm trying to create a column in a table that is based on the value of two other columns. In both tables I have created a column that is just the two columns concatenated so as to make a composite key I can use for a Many:1 relationship. I have set up the relationship successfully and it is active as a Many:1, yet when I try to use RELATED in a new column for the Many table, it says that it either doesn't exist or has no relationship to any table in the context
NewTargets is the 1 table in the 1:Many, and the related by a column CompKey. I'm completely stumped as to why the RELATED function doesn't work here
Solved! Go to Solution.
Ok well I managed to fix my problem soon after posting this. For some reason I was under the impression that RELATED required a 1:many or Many:1 relationship, when it actually needs a 1:1 relationship. 1:Many relationships should be handles by RELATEDTABLE and used as input tables for expressions (in my case I used MAXX).
Ok well I managed to fix my problem soon after posting this. For some reason I was under the impression that RELATED required a 1:many or Many:1 relationship, when it actually needs a 1:1 relationship. 1:Many relationships should be handles by RELATEDTABLE and used as input tables for expressions (in my case I used MAXX).
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |