Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everybody,
My finance dept has a payroll calendar, there are two columns, one is cut off date and the other one is actual pay date. If anyone joined the company before the cut off date then he/she will get paid on pay date or else the employee will have to wait till next pay date.
What would be a clever way to calculate the amount of salary that Finance has paid at any given pay date?
Any feedbacks would be greatly appreciated. Thank you!
Cut off Pay date
1/3/2020 1/15/2020
1/21/2020 1/31/2020
2/2/2020 2/13/2020
Solved! Go to Solution.
hi @kenneth0596
You could create these three measure for it.
Regards,
Lin
hi @kenneth0596
You may try this simple logic
Hi Lin,
Thank you for your response! May i ask you one more quesiton?
Let's say we have two employees, A and B. A starts on 12/31/2019 and B starts on 1/13/2020.
For the payroll period of 1/31/2020, A wouldve get the full payment and B would get paid less because he only works 8 days (1/21/2020 - 1/13/2020). How do we calculate the total # of days worked for each cycle?
hi @kenneth0596
You could create these three measure for it.
Regards,
Lin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |