Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Cumulative calculation

I have these 2 tables that I attach.

A) Absences per employee, per month

B) Salary of each employee per month

Need:

1) Monthly cost of absence per employee = (gross + contributions of each month) / 30 days * number of days of absence that each employee has had in each month

2) Once this result has been obtained for each employee, for each month, add the monthly costs of each employee to reach the total costs due to the absence of the company. If possible, this calculation will accumulate as you filter per month.

I would appreciate suggestions. ejemplo.jpg

1 REPLY 1
TomMartens
Super User
Super User

Hey @nicoparedes ,

 

please create pbix that contains sample data but still reflects your data model (tables, relationships, calculated columns, and measures). Upload the pbix to onedrive, google drive, or dropbox. If you are using Excel to create the sample data instead o the manual input method share the xlsx as well.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.