web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need help with a filter
Power Apps
Unanswered

Need help with a filter

(0) ShareShare
ReportReport
Posted on by 206

Hi- I have a simple timesheet table.  ClockIN, Clockout, teammate, date.

 

I have a form with a data table that displays only people who clocked in today -if they forgot to clock out from another day, they need to talk to the manager.  This filter solved that fine...

 

Filter(tSheets, Text(ClockIn, DateTimeFormat.ShortDate) = Text(Today(), DateTimeFormat.ShortDate))

 

I am having trouble figuring out the syntax on how to add to that filter condition .  I  only want the data table to show people who have NOT clocked out.

 

ClockedOut is a date time field, standard, not friendly format.

 

Thanks for help on this 

 

Categories:
I have the same question (0)
  • MrAutomate Profile Picture
    206 on at

    sharepoint backend, sorry I forgot that piece..

  • MrAutomate Profile Picture
    206 on at

    attaching jpg also

  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @MrAutomate 

     

    You should be able to return people who have not clocked out by filtering on empty ClockedOut values.

    This is how the formula would look:

    Filter(tSheets,
     IsBlank(ClockOut)
    )
  • MrAutomate Profile Picture
    206 on at

    timl - thanks, that does work, but how do I use both filters.  So, imagine a user did not clock out yesterday, I have the original filter that prevents them from clocking out from a previous day.

     

    how do I use

     

    Filter(tSheets,
     IsBlank(ClockOut)
    )

    and 

     

    Filter(tSheets, Text(ClockIn, DateTimeFormat.ShortDate) = Text(Today(), DateTimeFormat.ShortDate))

     

    tnx!

  • MrAutomate Profile Picture
    206 on at

    got it :

     


    Filter(tSheets, Text(ClockIn, DateTimeFormat.ShortDate) = Text(Today(), DateTimeFormat.ShortDate),IsBlank(ClockOut))

     

     

    thanks !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard