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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Auto Select IN/OUT fie...
Power Apps
Answered

Auto Select IN/OUT field based on Date time

(0) ShareShare
ReportReport
Posted on by 36
I am new to Power Apps, and I have created a canvas app connected to Office 365. I am working on a feature for missed fingerprint corrections (In and Out). I need functionality where, if a user selects a morning time, the Data Card should automatically set to IN, and if the user selects an evening time, it should automatically set to OUT. Can anyone provide a code solution for this?
 
Categories:
  • Yogesh Murugan Profile Picture
    451 Moderator on at
    Is the specific time for morning login between 8 AM and 10 AM, and for evening login between 5 PM and 7 PM?
  • WW-25090315-0 Profile Picture
    36 on at
     
    There is no specific time to login 
     
  • Verified answer
    WarrenBelz Profile Picture
    156,956 Most Valuable Professional on at
    The DefaultSelectedItems of the in/out Combo Box
    {
      Value:
      If( Value(YourHourDropdown.Selected.Value) > 11, "Out", "In" )
    }

     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn    Buy me a coffee

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard