Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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))





Super User
Super User

Re: Filter by date help.

Hi @MarccelozZ 


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!
Level 8

Re: Filter by date help.

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!



Helpful resources


PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 223 members 4,778 guests
Please welcome our newest community members: