cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Filter Browse Gallery using Textbox, sort and date range

Hi,

 

I am trying to use search function on my browse gallery with Sharepoint list as datasource.

In addition to search box i want to sort data by date and further filter the result using the date range.

 

Am unable to get the results and would seek help for the correct formula to use. Please refer the attached image as representation.

 

4 REPLIES 4
Community Support
Community Support

Hi @Del_Ind ,

 

Please try with this:

SortByColumns(Filter(Search('SP list',TextInput1.Text,"ColumnName"),DateColumn1>=DatePicker1.SelectedDate && DateColumn2<=DatePicker2.SelectedDate),"DateColumn1")

 

Notice: the search function and Date column are all not delegable for sharepoint, so you can only retrieve 500 rows records (the maximum threshold is 2000).

Hope this helps.

Sik

You can use startswith function;

 

Sort(Filter(Datasource,Starts with(ColumnName4Search,Search box.Text)),DateColumn1>=DatePicker1.SelectedDate && DateColumn2<=DatePicker2.SelectedDate), DateColumn)

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Frequent Visitor

Hi All,

 

Thanks for your replies.. i haven't applied your suggestions.

Will surely comment back as i work on it.. 

 

I currently ran into another problem after i opened my app after couple of days... putting this in another post for your help.

That is fine

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,175)