Need to be able to calculate the total of column data in order to be used in reporting metrics

For the following table of records, I need to be able to calculate the total of the highlighted columns, (Bid Amount & Principle Balance) so that I can utilize that information to create a list of metrics listed below the Picture.

  • Balance Underwritten
    • Sum of Principle Balance
  • Balance Bid
    • Sum of Principal Balance (Where Bid Submitted? = Yes)
  • Balance Won
    • Sum of Principal Balance (where Bid Won? = Yes)
  • Bid to Underwritten %
    • Balance Bid divided by Balance Underwritten
  • Win to Bid %
    • Balance Won divided by Balance Bid
  • Win to Underwritten %
    • Balance Won divided by Balance Underwritten

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to cls5469

    The variable you are using to hold the grid data use that same variable in the sum function and for referencing the field to be used inside sum we use recordtype!recordName.fields.columnName
    Once you type recordtype! you will get the necessary fields.
    (The above solution is when you are using records to fetch data, in case using cdt use index function inside sum instead index(arraywithdata,"columnName",{})

Children