• Sums in a Report

    Author
    Topic
    #465170

    Hi!

    I have a report that has control [timelysynchtooffice] which will have results of either “Timely Submission” or “Late Submission”. There is a corresponding control [sumoftotal] that gives the numeric result for each of the above. The report has a MATUser header and footer and MATDOC header. I need to be able to break out the Sum for “Timely Submission” and “Late Submission” not just the total sum for [sumoftotal]. I’ve tried a variety of conditional statements but so far nothing is going me what I need.

    Thanks,
    Leesha

    Viewing 1 reply thread
    Author
    Replies
    • #1194027

      To get the sum for “Timely Submission”:

      =-Sum(([timelysynchtooffice]=”Timely Submission”)*[sumoftotal])

      or

      =Sum(IIf([timelysynchtooffice]=”Timely Submission”,[sumoftotal],0))

      Similar for “Late Submission”.

    • #1194031

      Thanks! That is what I needed!! Now I can see why I was getting zeros.

      Leesha

    Viewing 1 reply thread
    Reply To: Sums in a Report

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: