, , .
(1 ), .
1,
=SUM(Fields!Max_Number, "table1_Courses")
=RunningValue(Fields!Max_Number.Value,SUM,"table1_Courses" )
, , .
2,
=SUM(Fields!Max_Number.Value)/RowNumber("table1_Courses")
, Fields! Max_Number.Value, , SSRS05 , .
3, ReportItems
=Sum(ReportItems("course_max").Value)
=ReportItems("total_max").Value
, ReportItems / . . , MS ,
.
, , . . 200, 150 1- 50 , 1- Sum(ReportItems("course_max").Value) 150, 200.
4, .
Public Dim total_cmax As Integer = 0
Public Function sum_cmax(cmax As Integer) As Integer
total_cmax = total_cmax + cmax
Return cmax
End Function
Public Function get_cmax(obj As Object) As Integer
obj.Value = total_cmax
End Function
, MS! , , .
get_cmax sum_cmax, get_cmax, 0, get_cmax ( "sum_cmax" ) 0. , MS . , get_cmax , AND, .
, . , - . =ReportItems("total_max").Value, 0. , .
, .