cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DAVIDPOWELL
Post Prodigy
Post Prodigy

Filter a Gallery by date and ID

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

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

Hi @DAVIDPOWELL 

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/ 

View solution in original post

1 REPLY 1
Drrickryp
Super User II
Super User II

Hi @DAVIDPOWELL 

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/ 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (169)