Forum Discussion

tabuzahra's avatar
tabuzahra
Helper II
6 years ago
Solved

Count Weekdays Between Two Date Excluding Weekends

Dears,

Thank you for your usual support. Kindly, I would like to count the weekends between two dates.

 

The scenario is, I have projects creation date and there is some projects have initial baseline (in case the project has been baselined). In case there is a baseline, then I need to count the weekdays (without weekends) between (Initial Baseline & Creation date)

Otherwise, the measure should count the weekdays (without weekends) between (Today & Creation date)

 

Note: I have already a calender date and I have identified if the date is a weekend or not (1 if weekends and 0 is weekday)

 

This is a sample data

Project Name: Project X

Creation Date: 1/26/2020

Initial Baseline Date: Blank

 

2 Replies