Create a table in Reporting Services.
[Row Header:]
Buy/Sell Date Qty. Price Net
[Row Details:]
Buy 12/12/2007 100 11.6 7.9
Sell 12/13/2007 99 11.8 7.8
[Tip: Date format-- under format put "MM/dd/yyyy" for data type datetime.]
[Row Footer: (this next part is using formulae that I would use to get it--)]
Total Buy: =Sum(IIf((Fields!BuySell.Value) = "Buy", Fields!Quantity.Value, 0))
Total Sell: =Sum(IIf((Fields!BuySell.Value) = "Sell", Fields!Quantity.Value, 0))
Total: =Sum(Fields!Quantity.Value)
[textbox name: txtTotalBuyNet]Total Buy Net: =Sum(IIf((Fields!BuySell.Value) = "Buy", Fields!Net.Value, 0))
[textbox name: txtTotalSellNet]Total Sell Net: =Sum(IIf((Fields!BuySell.Value) = "Sell", Fields!Net.Value, 0))
Total: =ReportItems!txtTotalBuyNet.Value - ReportItems!txtTotalSellNet.Value
----------------------------------------------------------------
I am not SURE that this would work as I just typing and not validating >.>.... but it should give you a good idea how to approach this report :)
Yay for figuring things out.
(@.@)