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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Itzarthi
Helper I
Helper I

Calculate sum FTE distinct user

Hey Guys!

 

I'm trying to calculate the FTE, but i dont know how to summarize it, because my employees have different contracts. In this example I want to see the summed value of 3,9 in a card in Power BI (Based on the last startdate). How can I realize that? 

unknown.png

 

I tried FTE's = calculate(SUM('Contracten V2'[FTE]), distinctcount('Contracten v2'[EMPLOYEEID])) but this don't work.

unknown.png

 

I hope you guys can help me out!

1 ACCEPTED SOLUTION

@Itzarthi , Try like

SUMX(values( Contracten[EMPLOYEEID]), calculate(max( 'Contracten V2'[FTE])))

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Itzarthi , You want like

calculate(SUMX(values('Contracten V2'[FTE]), distinctcount(Contracten[EMPLOYEEID])))

 

or

 

SUMX(values( Contracten[EMPLOYEEID]), calculate(sum( 'Contracten V2'[FTE])))

@

Itzarthi_0-1604393648005.png

 

@Itzarthi , Try like

SUMX(values( Contracten[EMPLOYEEID]), calculate(max( 'Contracten V2'[FTE])))

This is most helpful! I am getting a total sum of all FTE across each line item, is there a way to determine the actual FTE over months in years?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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