Forum Discussion
Need help with formula
I have 4 tables with relationships:
- UA: IdUnit, UnitName, IdUnitDependents and informations about Units
IdUnitDependents is lilke 1 < 239 < 938 where each number corresponds a hierarchy IdUnit
- Adressess : Units Adressess, City, ZipCode
- Employees: NameofEmployee, UA (Employee IdUnit)
- UnitsExpenses: Expenses with maintenance of buildings
Need to calculate:
- Number of Employees in each UA (Unit), including dependents (need to search number inside IdUnitDependents column) like need to know count of employess with code 239 in IdUnitDependents
- Sum of Expenses with maintenance calculated for Unit including depentens same as Employess - is necessary to Divide Total Expenses per Adress than divide per Employes in this adress and then multiply per Employees of Unit with dependents
I have this formula to calculate expenses:
Per Person:
Per Unit:
Thanks in advance.
2 Replies
- v-yanjiang-msft
Community Support
Hi AleMacedo ,
It's hard to reproduce your problem without a sample, could you please give an example to illustrate your problem?
Best Regards,
Community Support Team _ kalyj