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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
DataSophomore
New Member

Column with multiple times per day, filter to only show the latest time per day.

Hi all,

 

If I have a table called "EntryTimes"

 

Within the table there are columns for "StaffMember" and then also "EntryDateTime".

 

The "EntryDateTime" column will have multiple entries for a staff member on the same day eg:

01/01/24 07:00:00
01/01/24 08:00:00
01/01/24 09:12:00

I would like to only see the latest entry per day per staff member.

Is there a measure or some DAX I can use to filter out earlier entry times per day, per staff member so I am only left with the latest entry time per day, per staff member?

 

Thanks

2 REPLIES 2
DataSophomore
New Member

Is it a measure I need?

I have multiple times per date and I just need to see the latest time per date so one entry for every single date, not just the latest date?

 

I assumed it would be some DAX to create a new table?

Hopefully that makes sense.

amitchandak
Super User
Super User

@DataSophomore , refer the measure

 

Last Status = var _max = maxx(filter(ALLSELECTED(Data), Data[Staff ID] = Max(Data[Staff ID])), Data[Date])
return
CALCULATE(max(Data[Status]), filter((Data) , Data[Date] =_max))

 

Refer blog
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0

https://amitchandak.medium.com/power-bi-get-the-sum-of-the-last-latest-value-of-a-category-f1c839ee8...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.