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

SharePoint List Date Filtering not working for previous years

We have sharepoint list with last 3 years data and powerapp was built to filter data based on date.


Datepicker control is used to pick required data and filtering data based on that.


I am able to fetch current year records (2017), but previous year (2016,2015), not getting all records. 


Did anyone faced this sort of issue?

Community Support Team
Community Support Team

Re: SharePoint List Date Filtering not working for previous years

Hi Narula_Srinivas,


Could you show me the code you are using on your side?

To test this issue, I create an app based on SharePoint list. In the list, I also have three years data, and the gallery is filtered by a Date picker control.

The filter function I am using on my side is:

It works fine, the gallery will be filtered based on the date I selected, no matter it is previous year or current year.



Please show me more details to help reproduce this issue on my side.


By the way, please post PowerApps related issues on PowerApps forum, the reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: SharePoint List Date Filtering not working for previous years



Thanks for response. But I am loading filtered data  into collection and that collection is binided to gallery. Reason I have to filter data based on each business unit. So that I can avoid that roundtrips to server for each business unit. But below given formuale is not having any Business unit filtering, because with initial loading only  I am not getting all records based on date.




On button onSelect event, I am using below formula:

Collect(MainTemp,Filter(ActivityTemp,ActivityStartDate>= Date(Year(StartDatePicker.SelectedDate),Month(StartDatePicker.SelectedDate),Day(StartDatePicker.SelectedDate))))


Binding that MainTemp to Gallery.



BTW, do want me to post further this discussion in other forum or continue here?

Helpful resources


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

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


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (6,206)