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 / Weekdays Date Picker
Power Apps
Answered

Weekdays Date Picker

(1) ShareShare
ReportReport
Posted on by 16

Any help to calculate weekdays only between 2 date using date picker? I don't want to include weekends.

Categories:
I have the same question (0)
  • iAM_BA Profile Picture
    145 on at

    Hi @NanaAqilla 

    You can use RoundDown function for this. In detail you can find out in following link. 


    https://devoworx.net/powerapps-business-days-between-two-dates/

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

    Hi @NanaAqilla ,

     

    Please try:

    With(
     {
     StartDate:Date(2023,4,5),
     EndDate:Date(2023,4,11)
     },
     Sum(
     ForAll(
     Sequence(DateDiff(StartDate,EndDate,TimeUnit.Days)+1,0,1),
     If(
     Weekday(DateAdd(StartDate,Value,TimeUnit.Days))=1 || Weekday(DateAdd(StartDate,Value,TimeUnit.Days))=7,
     {Count:0},
     {Count:1}
     )
     ),
     Count
     )
    )

     

    Best Regards,
    Bof

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 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard