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 / Filter a Gallery by da...
Power Apps
Answered

Filter a Gallery by date and ID

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need to filter a gallery based on date in my sql server table.

using a date picker.

 

the date in sql server look like 

2021-02-26 15:57:17.157

 

 

Filter('[dbo].[LogIn_and_LogOut_Daily]', NSC_ID_Racfid = time_racfid.Text && Daily_Logged_In = DatePicker1.SelectedDate)

 

 

this is not working ?

 

Dave

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    There are a number of reasons for the complicated interaction between SQL dates and PowerApps.  Please check this page in the documentation and see if one of the conditions applies. https://powerapps.microsoft.com/en-us/blog/working-with-datetime-values-in-sql/ 

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 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard