Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter by date help.

Good morning, I would like some help with this filter that I can't filter by date. Example:



SortByColumns (Pesquisa1); Series; TextSearchBox1.Text; "Idade"; "Nome"); "Idade"; Se (SortDescending1; Decrescente; Crescente))





Dual Super User II
Dual Super User II

Hi @Anonymous 


If you want to search for the items in Date field and sort them, then you can use the below expression:
SortByColumns (Search(Series; TextSearchBox1.Text; "Data"); "Data"; If(SortDescending1; Descending; Ascending))
If this differs from what you are looking for, please share the logical implementation details, so that we may assist you better.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Impactful Individual
Impactful Individual

if, by filter by date you mean exclude results outside of a set range...


Populated a collection with various dates, below is  a picture of the two date pickers for the range, a gallery that just shows all, and the filtered gallery. Formula I used is in red. You should be able to use this to figure out yours. Good Luck! If it works mark this as a solution thanks!



Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

Helpful resources

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


Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,681)