Dax Calculation for Number of Days excluding weekends and holidays

You can use the formula here to determine weekdays versus weekends, then go from there:

Answer brilliantly stolen from @BrianJ’s reply on that post