Production capacity per month
Hi all,
How can I use the Time dimension in Anaplan to calculate my factory's production capacity for a given month, taking into account the different number of shifts worked on weekdays versus weekends? I want to calculate the production capacity as follows:
Production capacity = (Number of working days in the month * Number of shifts on weekdays) + (Number of working weekends in the month * Number of shifts on weekends) * Number of working hours per shift * Number of machines * TRS.
Thanks in advance.
Best Answer
-
Hi @SAtrane,
- If you keep the formula the same it will work i.e. NOT (WEEKDAY(Days) = 6 OR WEEKDAY(Days) = 7 OR Holidays) OR Worked On weekends because here we are including if the person has worked on weekends or not.
- I have made changes as per the French calender. Hope that helps
- You can do the same just by ticking the following line item: Worked On weekends It will get updated automatically as per the formula. Also, update the formula for the Number of working weekends in the month: IF Worked On weekends THEN 1 ELSE 0. The numbers will be updated.
Below is the module with Lineitem, format and formula Time scale is Day
Time_filter
Line Item
Format
Formula
Working Week Days
Boolean
NOT (WEEKDAY(Days) = 6 OR WEEKDAY(Days) = 7 OR Holidays) OR Worked On weekends
Worked On weekends
Boolean
Number of working weekends in the month
Number
IF Worked On weekends THEN 1 ELSE 0
Number of working days in the month
Number
IF Working Week Days THEN 1 ELSE 0
Days
Date
START()
WeekDay
Number
WEEKDAY(Days)
DAY
Text
IF WeekDay = 1 THEN "lundi" ELSE IF WeekDay = 2 THEN "mardi" ELSE IF WeekDay = 3 THEN "mercredi" ELSE IF WeekDay = 4 THEN "jeudi" ELSE IF WeekDay = 5 THEN "vendredi" ELSE IF WeekDay = 6 THEN "samedi" ELSE "dimanche"
Holidays
Boolean
Working Dates
Date
IF Working Week Days THEN Days ELSE BLANK
0
Answers
-
I would suggest using two different modules.
1. To input the required details with time summary as Day.
2. To Perform the calculation with time summary as Month.
In the first Module, No of Working Days in a Month, No. of working weekends in a Month can be calculated at the day level.
These values can then be brought to the second module at the monthly level and be used for Calculation. The no of modules may differ as well based on the approach taken.
0 -
hi @rishi8118
Thank you for responding, but could you provide more explanation? I didn't quite understand your previous answer.
0 -
Hi @rishi8118
I appreciate your previous answer, which was very helpful. However, I have a question and I would appreciate your assistance with it.
the number of weekend days in the month. However, I need to be able to choose whether or not to work on a particular weekend day. Therefore, I would like to modify the formula so that the number of working weekend days in the month only includes the weekends on which I am working can you plz help me with that?
thanks in advance.
0 -
Hi @rishi8118
Thank you for being so responsive, and for providing me with such pertinent answers, i i appreciate it.
0