Summing Employee Salaries in Org Chart in Lucidchart
I have an org chart with a field for salary. I'd like to write a formula that sums the salaries of subordinates under each manager. To do this I attempted making a custom data field "Salary" in each employee's shape and a custom field "Department Salary" in the manager's shape. In "Department Salary" this is the formula that I tried:
=SUM(DESCENDANTS(@"Salary"))
Seems logical right? But I get the result of 0.
Why is this happening?
Thanks in advance for any help!