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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,882)