title: Calculate Number of Working Days based on a Month and Year Column - DAX
body: <p>I have a column like below for which I would want to extract the number of working days (excluding just weekends- Saturday and Sunday, holidays needs not be addressed).</p>
  
  <p>As of now I just want:</p>
  
  <pre><code>Required_Column = Total No of Days in that month - No of weekends in that month
  </code></pre>
  
  <hr>
  
  <pre><code>Month_Year
  01-2018
  02-2018
  03-2018
  ...
  ...
  01-2019
  02-2019
  </code></pre>
  
  <p>I am a newbie in Power query and DAX , i tried looking up various methods using DAX however, could not find any relevant lead.</p>
  
  <p>Expected Output:</p>
  
  <pre><code>Month_Year   Required_Column
  01-2018      23 (31-8)
  02-2018      20 (28-8)
  03-2018      22 (31-9)
  ...          ...
  ...          ...
  01-2019      23 (31-8)
  02-2019      20 (28-8)
  </code></pre>
  
  <p>Appreciate your help on this.</p>