Forum Discussion

chanakah's avatar
chanakah
Frequent Visitor
3 years ago
Solved

Measure for calculating work capacity

I have a Power BI report. In that I need to calculate the 'remaining work capacity' for each date as below.

1. I have a measure that gives 'total remaining work hours', say 500 hours.
2. I have another measure that gives 'max capacity' per day, say 16 hours
3. The 'remaining work capacity' for first 10 days will be equal to 'max capacity'. 16 hours in this case.
4. The 'remaining work capacity' for the next 10 days should be 90% of the 'max capacity'. That is 14.4 hours in this case.
5. The 'remaining work capacity' for the next 10 days should be 90% from the previous calculated 'remaining work capacity. 12.96 hours in this case.
6. Likewise, in each 10 days I need to reduce 10% from the previously calculated 'remaining work capacity'
7. 'remaining work capacity' should set to zero, when the summation of the 'remaining work capacity' reached 'total remaining work hours' (500 hours in this case).

Please guide me to create a measure for calculating 'remaining work capacity'. Thank you.

  • chanakah's avatar
    chanakah
    3 years ago

    Hi Anonymous ,

    Thank you for your sugestions. I was able to solve the issue using POWER function. Also here I am using GENERATESERIES function for getting total work hours calculated upto given date. 
    My measure logic is as below

    Best regards,

    Chanaka H

     

     

3 Replies