Forum Discussion
GCGradwell
10 years agoHelper I
Create a Calculated Column from Different Tables
Hi , I can’t work out how to create a calculated column using 2 columns from different tables in the formula. I’m trying to create a calculated column ‘Z’ using a simple formula: X – Y Co...
- 10 years ago
Based on my understanding, it depends on the relationship.
If 1:1, below formula should work.
calculated column = table1[X] - RELATED ( table2[Y] )
If 1:many, the following formula should work.
calculated column = oneTable[X] - CALCULATE ( SUM ( manyTable[Y] ), ALLEXCEPT ( manyTable, Table10[linkedCol] ) )
Eric_Zhang
10 years agoMicrosoft Employee
Based on my understanding, it depends on the relationship.
If 1:1, below formula should work.
calculated column = table1[X] - RELATED ( table2[Y] )
If 1:many, the following formula should work.
calculated column =
oneTable[X]
- CALCULATE ( SUM ( manyTable[Y] ), ALLEXCEPT ( manyTable, Table10[linkedCol] ) )Anonymous
3 years agoNot applicable
what is the Table 10 related to?