Forum Discussion
Anonymous
8 years agoNot applicable
Add value from a related table to a sum
I have a gauge showing sum of hours from [Project]Hours. To this sum, however, I'd like to add the value from related [Employee]InitValue but can't figure out how to create that calculation. ...
- 8 years ago
Hi Anonymous,
While you may not be able to use RELATED function on the one side of the many to one relationship, I believe you can do something like
MY MEASURE = SUM ( 'Project'[Hours] ) + SUM ( 'Employee'[InitValue] )
danextian
Super User
8 years agoHi Anonymous,
While you may not be able to use RELATED function on the one side of the many to one relationship, I believe you can do something like
MY MEASURE = SUM ( 'Project'[Hours] ) + SUM ( 'Employee'[InitValue] )
Anonymous
8 years agoNot applicable
You are absolutely right, Dan. I did try that earlier, but with the noobie mistake of not noticing datatype of InitValue had defaulted to text. Worked fine after changing to decimal.
Thanks a lot!
/Wis/