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 Apps / Display date between s...
Power Apps
Answered

Display date between start date and due date

(0) ShareShare
ReportReport
Posted on by 517

Hi,

how can I simply display all dates between start date and due date in power apps?

E.g:

Start date : 1 april 2022 ;

Due date : 5 april 2022 ;

Dates between : 1 april 2022 , 2 april 2022 , 3 april 2022 , 4 april 2022 , 5 april 2022 

 

Is it possible to make it with Filter(Source,...)

 

Best Regards.

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

    Assuming you have 2 Datepickers on your screen, filter as follows:

    Filter(Datasource,DateColumn>=startDate.SelectedDate && DateColumn <=EndDate.SelectedDate)

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

    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.

    Consider Checking My Youtube Channel

     

  • Verified answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @dkayt ,

     

    The below creates a collection (colDates) of dates:

     

    Clear(colDates);
    ForAll(
     Sequence(
     DateDiff(
     DateValue("01/04/2022"),
     DateValue("05/04/2022")
     ) + 1
     ),
     Collect(
     colDates,
     DateValue("01/04/2022") + (Value - 1)
     )
    )

     Of course you'll need to replace the static values.

  • dkayt Profile Picture
    517 on at

    Hi @eka24 

    Thanks for replying. I do not have Datepickers. I have a own maded calendar (something like Gallery into gallery).

    StartDate and DueDate (their format is Datum) are columns in a SharePoint List with dates.

    dkayt_0-1651236305021.png

    How can I write the Filter()?

  • dkayt Profile Picture
    517 on at

    Thank you @BCBuizer , this one works as expected.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard