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 Apps
Answered

Filter function

(0) ShareShare
ReportReport
Posted on by 375

Hi, how do I filter the field created on in cds to today inside the canvas apps? 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Filter (Datasource,Text(CreatedOn,ShortDate,=Text(Today (),ShortDate)

     

    You can give more details about the Datasource if you still have issues

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • NurNina Profile Picture
    375 on at

    hi @eka24 ,right now, I have the gallery that I filter based on verification. and I have a field created on display inside the gallery. I want to filter the list of data to today's list,next to verify inside the filter below.

     

    Filter(Attendances,Verify='Verify (Attendances)'.No)

  • eka24 Profile Picture
    20,925 on at

    If want to add the date filter:

    Filter(Attendances,Verify='Verify (Attendances)'.No &&

    Text(CreatedOn,ShortDate,=Text(Today (),ShortDate))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • NurNina Profile Picture
    375 on at

    Hi @eka24 Ive tried but it says here the text function has invalid argument. 

     

    invalid.JPG

  • eka24 Profile Picture
    20,925 on at

    Please can you show the full formula. Your screen shot is not clear enough.

    Before that try;

    Filter(Attendances,Verify='Verify (Attendances)'.No &&

    Text(CreatedOn,ShortDate)=Text(Today (),ShortDate))

     

    Take a screenshot of the full formula is you have issues with the formula above

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    @eka24 and @NurNina 

     

    I would be curious to see why this wouldn't work: 

     

    Filter(Attendances,Verify='Verify (Attendances)'.No && DateValue(Text(CreatedOn)) = DateValue(Text(Today())))

     

    Let me know if this helps. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • NurNina Profile Picture
    375 on at

    hi @PowerAddict , @eka24 ive tried both formula, they work. However, they have delegation warning. In result, the gallery does not display all the items for today. Only 7 out of 11. 

    delegation1.JPG

     

    delegation2.JPG

  • eka24 Profile Picture
    20,925 on at

    Can you make the screenshot bigger to cover the complete formula. You are only showing a small portion

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @NurNina ,

     

    Try to use this code in Gallery.Items property, which is delegable.

    Filter(Accounts,'Created On'>Today(),'Created On'<DateAdd(Today(),1,Days))

     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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard