Forum Discussion
nareshr89
Helper II
3 years agoWorking Day DAX with specific Logic
I want to calculate the working days which is provided at zero level, but at level 1 and above need the logic to be hardcorded based on different Levels.
Ex: AP - 20days, TN- 22days, KR - 21 days.
SI is level 1 which includes the above three regions. Calculation should be
(Level1) SI = (AP*1+TN*2+KR*2)/5
Similarly, JH-19days, BH-22days, PJ-23days
(Level1) NI = (JH*1+BH*1+PJ*2)/4
(Level2) I = (AP*1+TN*2+KR*2+JH*1+BH*1+PJ*2)/9
Any help on this topic.