Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ODk74oyNe8j7saNUeTMsev
Power Apps - Building Power Apps
Unanswered

Date picker with multiple dates

Like (0) ShareShare
ReportReport
Posted on 14 Jul 2023 03:03:32 by

I am trying to create a PTO form that allows users to select a range of dates and/or have the option to select multiple nonconsecutive dates from a calendar. Is there any way to do this?

Categories:
  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on 18 Jul 2023 at 14:03:21
    Re: Date picker with multiple dates

    Thank you so much @EddieE , you are very kind to share this 🙂

  • EddieE Profile Picture
    4,641 Super User 2025 Season 1 on 18 Jul 2023 at 05:08:52
    Re: Date picker with multiple dates

    @Anonymous_Hippo 

    Here is the app with the calendar component. I left the Booking screen in it so you can see how it works.

     

    The component itself still has a lot of the legacy items that I haven't removed because this screen never went into production - management decided they didn't want it.

     

    Let me know if you get stuck using it.

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on 14 Jul 2023 at 14:19:24
    Re: Date picker with multiple dates

    Thank you so much @EddieE 

     

    You can enable export and import components. This will enable you to directly allow exportation of componenets 😎

    Anonymous_Hippo_1-1689344238017.png

     

     

     

    Anonymous_Hippo_0-1689344207238.png

     

    __PRESENT

  • EddieE Profile Picture
    4,641 Super User 2025 Season 1 on 14 Jul 2023 at 05:47:21
    Re: Date picker with multiple dates

    @Anonymous_Hippo 

    Happy to share but not sure how/if I can just export the component itself. Is there a way to do this with an in app component without exporting the app as well?

     

    Also, my component is just a bare bones calendar and I use Output properties (Start Date, End Date) and show those in labels underneath the component, ie

     

    EddieE_0-1689313541778.png

     

    I could just clean up the app and drop the zip file here if that helps?

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on 14 Jul 2023 at 04:27:14
    Re: Date picker with multiple dates

    I believe this component should help https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Date-Range-Calendar-for-Power-Apps/ba-p/1881012

     

    @EddieE  if you get time could you share your component, it looks nice with the count of the number of days

  • EddieE Profile Picture
    4,641 Super User 2025 Season 1 on 14 Jul 2023 at 04:13:10
    Re: Date picker with multiple dates

    @Egan25 

    Do you mean something like this?

    EddieE_0-1689307905796.png

     

    I've used a calendar component to handle this. I've forgotten where I got the component from, sorry but from memory I found a basic one then had to spend some time adjusting it to suit my needs.

     

    So, yes, you can do it - if this is what you want?

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started