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 / HOW TO FILTER DATE RAN...
Power Apps
Answered

HOW TO FILTER DATE RANGE IN SHAREPOINT USING POWER APP

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Am trying to spool record from sharepoint using powerapp.

 

I have record from 2022 to 2023 on the same list.

 

I want powerapp to only display only records for 2023.

 

In Sharepoint: I have DATE column in this format 3/17/2023  (MM/DD/YYYY)

 

CUrrently, below is my code in powerapp, but this spool both 2022 & 2023

 

CountIf (
Signature,
STATUS.Value = "available"
)

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Anonymous,

     

    The filter below will only show records of 2023. I made some adjustments to make the query delegable: CountRows & Filter() instead of CountIf() and less than or equals & greater than to filter the date field. You will still get a delegation warning because CountRows is not delegable, since it cannot count over 2000 records. However, the inner Filter() function is delegable.

     

    CountRows(
     Filter(
     Signature,
     STATUS.Value = "available" &&
     (DateField >= Date(2023,1,1)&& DateField < Date(2024,1,1))
     )
    )

    Adjust the column & list name where necessary.

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @LaurensM 

     

    It worked!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard