cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
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))

 

 

 

 

2 REPLIES 2
yashag2255
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!
TheRobRush
Super User
Super User

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!

 

CaptureDate.PNG

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

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PWREduCon768x460.png

Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

Top Solution Authors
Top Kudoed Authors
Users online (3,210)