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 / Exclude weekends and h...
Power Apps
Unanswered

Exclude weekends and holidays on calendar

(0) ShareShare
ReportReport
Posted on by 21

In my leave request app, I have a request screen which correctly calculates the days requested excluding weekends and company holidays. I've added a calendar to view approved requests, but need exclude the 'circle' being visible on weekends and company holidays. How can I achieve this please?

Screenshot_20230223_113358.pngScreenshot_20230223_113742.png

Categories:
  • Woxax Profile Picture
    on at

    Hi, 

     

    weekday() returns day number from date ,for example monday=0. Based on that you should be able to hide circle if day number equals number representation of saturday/sunday

     

  • FG33 Profile Picture
    21 on at

    @Woxax - thanks for your suggestion, I'd wondered the same but can't get the formula right - any ideas?

  • Woxax Profile Picture
    on at

    HI, sorry, didnt see your reply 

     

    just change YourDate to date prvided by galllery item and it will work

    !(Weekday(YourDate,StartOfWeek.Monday) in [6,7])

     

    BR

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard