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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
aaande8
Frequent Visitor

Power Pivot Calculate Formula

Capture.PNGCapture2.PNG

 

Hello,

 

I am trying to calculate within the Total FTE  column so that it sums the FTE column of the Sheet1 table based on if the Request Completion Date is < the Date the FTE was hired. FTE stands for Full time Employeed. I want the Total FTE to display the number of employees we had at the time of the request. However I am getting the above error. Any sug

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Does this work?

=CALCULATE(SUM(sheet1[FTE]),FILTER(sheet1,sheet1[Date]<EARLIER('Temp Badge Requests'[Request Completion Date])))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Does this work?

=CALCULATE(SUM(sheet1[FTE]),FILTER(sheet1,sheet1[Date]<EARLIER('Temp Badge Requests'[Request Completion Date])))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Yeah this worked. Thanks so much!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
d_gosbell
Super User
Super User

This error is due to your filter condition, currently you have:

 

'Temp Badge Requests' < 'Temp Badge Requests'[Request Completion Date]

 

The item on the left of the < is a table reference (hence the error about multiple columns, this needs to be a column reference probably to some sort of Hire Date.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.