First you will need to create a table of dates. This will help you in this issue, and will enable you to use many other Time Intelligence Functions. You can create this manually or by using
CalendarDate | Month Key | Month Name | Quarter Name | Year
-----------------------------------------------------------
1/1/2014 | 1.00 | Jan | Q1 | 2014
1/2/2014 | 1.00 | Jan | Q1 | 2014
...
2/1/2014 | 2.00 | Feb | Q1 | 2014
....
8/1/2014 | 8.00 | Aug | Q3 | 2014
..
9/2/2014 | 9.00 | Sep | Q3 | 2014
..
12/16/2014 | 12.00 | Dec | Q4 | 2014
In your Dates Table can create a calculated column that determines if each day is a weekday. Call the column IsWeekday
=SWITCH(WEEKDAY([CalendarDate]),7,FALSE(),1,FALSE(),TRUE())
The SWITCH statement will return false if the day of week is the 7th or 1st day of the week (Saturday/Sunday)
Now in the table which contains your transactions you can create a new calculated column called Number Of Weekdays. This will
=CALCULATE(COUNTA(Dates[IsWeekday]),
DATESBETWEEN(Dates[CalendarDate],
TransactionTable[date1],
TransactionTable[date2]
)
)
Here are two articles that I recommend related to this approach.