Consider my following XtraReport
It generates following output when previewed.
Notice the sum of Total marks in the report footer i.e 125. My Question is: How will I calculate the sum of the only fields where result is p. Thus in this case sum of TotalMarks should be 75.
I found its solution by adding a calcultedfield and assigning
Iif([Result]='P',[TotalMarks],0 )
in expression editor.