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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
metcala
Helper III
Helper III

Sum of the employee average by category

Hi all

 

Any help on this would be very much appreciated....

 

I have the following data structure:

 

PeriodEmployee NumberAreaFTECategoryCost
1/1101Finance1.0A$100
1/1101Finance1.0B$50
1/1102Operations0.8A$75
1/1102Operations0.8B$30
1/1103Finance1.0A$150
1/1103Finance1.0B$75
...................

 

And I am looking to be able to create the following:

 

AreaFTECost
Finance2.0$375
Operations0.8$105

 

The FTE should be the sum of the average/first value for each employee for each area.

The cost should just be a sum of the total cost.

 

The cost is working absolutely fine but I am having some trouble with the measure required for the FTE.

 

This is what I have come up with so far....

 

 

SumFTE = CALCULATE(SUMX(DISTINCT(Table1[Employee Number]), FIRSTNONBLANK(Table1[FTE],0)))

 

 

Thanks in advance!

1 ACCEPTED SOLUTION
DimaMD
Solution Sage
Solution Sage

hI @metcala Try it 

_FTE = 
SUMX( 
    SUMMARIZE( 
        'Таблиця', 
        'Таблиця'[Area], 
        'Таблиця'[Employee Number], 
        'Таблиця'[FTE]
    ), 
        [FTE]
)

_Cost = 
SUMX( 
    SUMMARIZE( 
        'Таблиця', 
        'Таблиця'[Area], 
        'Таблиця'[Employee Number],
        'Таблиця'[Cost]
    ), 
    [Cost]
)


Screenshot_21.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

1 REPLY 1
DimaMD
Solution Sage
Solution Sage

hI @metcala Try it 

_FTE = 
SUMX( 
    SUMMARIZE( 
        'Таблиця', 
        'Таблиця'[Area], 
        'Таблиця'[Employee Number], 
        'Таблиця'[FTE]
    ), 
        [FTE]
)

_Cost = 
SUMX( 
    SUMMARIZE( 
        'Таблиця', 
        'Таблиця'[Area], 
        'Таблиця'[Employee Number],
        'Таблиця'[Cost]
    ), 
    [Cost]
)


Screenshot_21.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.