No, you can not get Sales Analysis to calculate the Margin based on the Subtotals.
To get this calculation, you will need to use a report writer such as Quik Reports or Quik Reports for Windows.