This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello,
I want to calculate monthly productivity of each employee based on orders processed vs expected orders.
I tried different DAXs but without succcess. I'd like to achieve below result as I had it in excel before:
I prepared pbix with sample data so it would be easier for you to catch my thinking (LINK):
I'd appreciate any help!
Thanks and br,
Jarek
Solved! Go to Solution.
@Anonymous , Try measure like
Expected Order = CALCULATE(sum(Orders[Orders]), ALLEXCEPT(Team,Team[Team]), ALLEXCEPT('Calendar', 'Calendar'[CalMonth_No])) * divide(SUM(Workdays[workdays]) , CALCULATE(SUM(Workdays[workdays]), ALLEXCEPT(Team,Team[Team]), ALLEXCEPT('Calendar', 'Calendar'[CalMonth_No])))
productivity % = DIVIDE(sum(Orders[Orders]),[Expected Order])
file attached after signature
@Anonymous , Try measure like
Expected Order = CALCULATE(sum(Orders[Orders]), ALLEXCEPT(Team,Team[Team]), ALLEXCEPT('Calendar', 'Calendar'[CalMonth_No])) * divide(SUM(Workdays[workdays]) , CALCULATE(SUM(Workdays[workdays]), ALLEXCEPT(Team,Team[Team]), ALLEXCEPT('Calendar', 'Calendar'[CalMonth_No])))
productivity % = DIVIDE(sum(Orders[Orders]),[Expected Order])
file attached after signature
Wow! It was fast, your solution's working perfectly! Thanks! 🙂
@amitchandak , thanks for respons!
I'd like to see what is productivity of each employee by taking into consideration total number of orders entered by an employee vs expected number of total orders for an employee. For example:
Team A (John and Alice) entered 100 orders in one month. John entered 60 orders (worked 20 days) and Alice entered 40 orders (worked 15 days). In total they worked 35 days (John 57,14% and Alice 42,86%). As there were 100 orders in total for whole team it means that for John it was expected to process 57 orders during that month and for Alice it was 43 orders. However John processed 60 orders so his productivity was 105% and Alice processed 40 orders so her productivity was 93,33%. In excel it would look like that:
Expected number of orders is calculated by % of Team Workforce X Total orders and Productivity is calculated by # Orders / Expected #Orders.
Unfortunately I don't know how to translate it into DAX.
I hope it's clearer now.
BR,
Jarek
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 24 | |
| 24 | |
| 21 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 49 | |
| 26 | |
| 25 |