Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

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
Community Support

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.



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

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (9,437)