Forum Discussion
cdfisher89
9 years agoFrequent Visitor
Sum from related table
I am trying to sum values that are on other tables onto a master table, but I can't seem to get it to work. It is essentially a Sumif function, but I can't seem to get Calculate and or SUMX to wo...
- Anonymous9 years ago
Try:
AssignmentTable[Total Fee] = CALCULATE(SUM(Revenue[Fee]))
The calculate is weird and required.
Anonymous
9 years agoNot applicable
Can you show a picture of your model relationships -- this should have worked fine...
cdfisher89
9 years agoFrequent Visitor
Structure:
Relationships: The tables are connected via an Assignment Key field.
Formula: HHG = CALCULATE(SUM('Assignment Schedule Split'[Revenue (USD)])).
- The fields on the left of HHG are from the Assignment table.
- The formula is on the assignments table
- cdfisher899 years agoFrequent Visitor
I fixed it. You were right on the formula. The "key" field was slightly different, which caused all the issues.
Thanks!