title: Count Working Days MDX
body: <p>I would like to count the working days of a spesific time range and then find the Average Daily Dispatches.Currently the time range is at WHERE statement.
   I believe that I have include the date range in the 1st Member but I can't figure how to count the dates in a month range.
  Any suggestments?</p>
  
  <pre><code>WITH MEMBER [Measures].[Working Days] AS
  COUNT(Date.[Working Date].&amp;[1])--Doesn't work
  MEMBER [Measures].[Average Daily Dispatches] AS
  [Measures].[Total Dispatches]/[Measures].[Working Days]
  SELECT [Measures].[Average Daily Dispatches] ON 0
  FROM [cube]
  WHERE (
  [Date].[Month].&amp;[2015-01-01T00:00:00]:[Date].[Month].&amp;[2015-08-01T00:00:00]
  );
  </code></pre>