web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering by Sharepoin...
Power Apps
Unanswered

Filtering by Sharepoint Created Date Not Working in One App but Does Another

(0) ShareShare
ReportReport
Posted on by 4

App 1 (works properly)

bcanale_1-1696528734392.png

 

App 2 (comes back with 0):

 

bcanale_2-1696528772834.png

 

Note the data source (Sockets, Sockets_1) in the app is the same SharePoint list and the date pickers are pointing to the correct and identically configured fields). In the app where it is not working similar counts are being done on other SharePoint lists with created fields.  

 

Have tried using CountIf (shown above), as well as Countrows(Filter(... with the same results. Attempting to filter a gallery using the Sharepoint "created" column also does not work as expected.

 

Any suggestions would be greatly appreciated.

Categories:
  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    Hi @bcanale ,

    Technically it should work as Created is a Date/Time field and DateValue() should convert it - try this and you can also get rid of the Delegation warning (it only hides it though)

    With(
     {
     _Data:
     Filter(
     AddColumns(
     Sockets,
     "CreateDate",
     DateValue(Created)
     ),
     CreateDate = DatePicker1.SelectedDate
     )
     },
     CountRows(_Data)
    ) 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • bcanale Profile Picture
    4 on at

    Thanks a lot for the reply! Unfortunately, that also is not working and results in 0 when it should have records to count..

  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    @bcanale ,

    OK - getting a bit more specific

    With(
     {
     _Data:
     Filter(
     AddColumns(
     Sockets,
     "CreateDate",
     DateValue(
     Text(Created, "mm/dd/yyyy")
     )
     ),
     CreateDate = DatePicker1.SelectedDate
     )
     },
     CountRows(_Data)
    ) 

    Also I just ran it here on the text list and received the expected result

     

    WarrenBelz_0-1696541695590.png

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • bcanale Profile Picture
    4 on at

    Thanks so much for all your help. I found the issue and felt a little silly. I hadn't adjusted therow limit from the default 500 and all dates I was testing with were after tyhe 500th record.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard