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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.