I have broken out my estimated Man Weeks per month for a workforce planning chart. But I need to divide this by the total number of weeks in a month to give me my estimated man power needs as an average for the month.
I tried using the below formula in an added column in my Date Table but it was coming back with some as saying 6 weeks in a certain month. For my purposes I'm using if it is a Saturday as my weekly cut off. So for example the lsat day of February 2017 would be on the 25th and the month would only contain 4 weeks.
Solved! Go to Solution.
You will need to create a calendar table that calculates and flags the last day of each month based on your logic. Then you can create a formula that will calculate the date difference between the last day of month (actual) and the flagged last date of month (your logic). Subtract that difference from the total days in the month and divide by 4 (and sounds like round up will be needed to).
I will get back to you with an exact solution but try thinking about what I recommend and see if you can come up with something.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.