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 / Only show Mondays on a...
Power Apps
Answered

Only show Mondays on a date picker?

(0) ShareShare
ReportReport
Posted on by 340

Hello

I was hoping someone could help me please. I have a date picker on a booking form that people use to choose a Monday.

Is there a way to remove all of the other days out of the picker please, and only show Mondays?

 

Thank you

 

 

Categories:
I have the same question (0)
  • Xeon0021 Profile Picture
    116 on at

    Hi,

    I don't think that the option exists yet but you can make it work like this:
    https://powerusers.microsoft.com/t5/Building-Power-Apps/Date-picker-allow-only-certain-days/td-p/52634

     

    If my answer was usefull please give it a thumps up and mark it as solution.

  • Chris-D Profile Picture
    1,246 on at

    There's no way to do this with the built in date picker unfortunately. 

     

    You could put this code in the OnChange property to set a variable which you can use to disable the submit if they didn't select a Monday:

    UpdateContext({ DateIsMonday: Weekday(Self.SelectedDate,StartOfWeek.Monday) = 1});
  • Verified answer
    Mike2500 Profile Picture
    1,247 Super User 2024 Season 1 on at

    Not what you asked, but one more option for allowing users to select a monday: you could use a formula to populate a dropdown with the next x Monday dates. 

  • Chris-D Profile Picture
    1,246 on at

    .... and here's the code for @Mike2500's suggestion, put this in your Dropdown.Items property to get the next 5 Monday's including today.

     

    With({
     NextMonday: DateAdd(Today(), (1 -Weekday( Today(), StartOfWeek.Monday)))
    },
     ForAll( 
     Sequence( 5, 0), 
     DateAdd( NextMonday, Value*7)
     )
    )

     

  • pricey79 Profile Picture
    340 on at

    Thank you everyone

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 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard