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
jwatt
Frequent Visitor

Table showing most recent employee record when slicer date is selected

Hello, 

 

My team has been trying to figure this one out for a while, but any solutions we find for similar situations don't quite work for this dataset. We're all a bit new to Power BI so perhaps (hoping!) there is an easy solution. 

 

We have a dataset including ID, Name, Eff_Date, Pay_Status, and FTE (and other fields we need to include for context, but those are the fields necessary for our analysis) for all current and historical employees. Each employee has several rows of data - any time someone's status, FTE, salary, etc change, there is a new record with a new effective date. There is a huge variation in dates since employee details change all throughout the year. 

 

Our goal is a table that will show the FTE totals and how many people are active vs on leave (Pay_Status) when any given date is selected. For example, if an employee had 3 records, 01-JAN-2023, 01-JAN-2024, and 01-JAN-2025 and the date 01-FEB-2024 was entered into the slicer, I would only want to see the 01-JAN-2024 record. It does of course need to do this for all employees so we can say, for instance, on 01-FEB-2024, we had 125 FTE, 10 on leave, 115 active and be able to filter to another timepoint to see the same information on that date. 

 

If when I add the Eff_Date to the table and change it to show Latest Eff_Date and choose a date on the slicer, it shows the latest record and still includes prior records where one of our key fields has changed. So for the scenario above, if the employee was 0.5 FTE on 01-JAN-2023 and became 1.0 FTE on 01-JAN-2024, it pulls both of those records still. I need only the latest record even if other key fields have changed. 

 

We have tried using other solutions but they all seem to include using fields that don't have an equivalent in our dataset or aren't trying to accomplish the exact same goal. 

 

If anyone could assist, we would be very appreciative! 🙂

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors