Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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:
Solved! Go to Solution.
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |