Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
KasiaSiekZabska
New Member

Calculating productivity per person

Hi, 

I have following problem: I want to calculate average productivity per employee. I need to differantiate that some them are working since 3months, some are working since 9months, some only 2 months. It's easy on employee level (by creating a separate table with calendar and aggregating orders per employee per month, then #orders / #active months), but I don't know how to tackle the same calculation on differante levels of aggregation. 

 

What I want to achieve is to have report, which compares average productivity per employee on BU level (or region, or sales channel etc.)

1. I can't do average from average

2. I need to keep #active months in my mind (and calculation)

3. I don't want to create X tables and do aggregation on each level (also because it would be impossible to keep #active months in the calculation)

 

My data structure is following:
Year | Month | Business unit | Region | Customer Type | Sales channel | Order channel | Manager | Employee | # Orders 

1 REPLY 1
AlexisOlson
Super User
Super User

You should be able to do this with a measure that summarizes at the appropriate granularity.

 

Try something like this:

Productivity Per Employee =
VAR _Summary_ =
    SUMMARIZE (
        Data,
        Data[Year],
        Data[Month],
        Data[Employee],
        "@Orders", SUM ( Data[# Orders] )
    )
VAR _Average =  AVERAGEX ( _Summary_, [@Orders] )
RETURN
    _Average

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.