Forum Discussion

nareshr89's avatar
nareshr89
Icon for Helper II rankHelper II
3 years ago

Working 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.