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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Filter DataTable based...
Power Pages
Unanswered

Filter DataTable based on sharepoint (date funcion Today())

(0) ShareShare
ReportReport
Posted on by

How can I filter a data table by date of the day in powerapps? I want to see only the data entered on the current day of a list in sharepoint

 

Captura.PNG

 
Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @Anonymous 

     

    Do you mean you want to filter the data table based on the day of Today? Please try this:

     

    Filter('SP list','Date Column'>=Today() && 'Date Column'<=Today())

     

    Snipaste_2020-02-26_14-06-40.png

    However, since Actual Date values are not delegable for SharePoint in PowerApps, there should be some delegation warnings on the formula.

    If your SharePoint list is less than 2000 records, you can ignore these warnings.

    If your SharePoint list is more than 2000 records, one way is to create a Text column in your SharePoint list to convert the Date to Text, e.g. "m/d/yyy" format, then filter the list based on 'Date2Text' column which is delegable.

     

    Filter('SP list',Date2Text=Text(Today(),DateTimeFormat.ShortDate))

     

    You also can refer to this thread: https://powerusers.microsoft.com/t5/Building-Power-Apps/filter-a-column-by-todays-date/td-p/252420 

    Hope this helps.

    Sik

      

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard