NETWORKDAYS DAX Function in Power BI

The NETWORKDAYS function in DAX is a powerful tool in Power BI designed to calculate the number of working days between two dates (both dates are inclusive). It automatically excludes weekends (Saturdays and Sundays) and can optionally exclude a specified list of holidays.

DAX Syntax NETWORKDAYS(start_date, end_date[, weekend, holidays])

The function has the following parameters:

Example: In the calendar Feb 2025.

NETWORKDAYS dax function in Power BI

Let’s create a measure with name “NETWORKDAYS Measure”.

DAX

NETWORKDAYS Measure = NETWORKDAYS (
      DATE ( 2025, 2, 10 ),
      DATE ( 2025, 2, 28 ),
      1,
      {
          DATE ( 2025, 2, 21 )
      }
  ) 

The output of the above dax code is shown below:

NETWORKDAYS dax function in Power BI