Welcome to Forums Sign in | Join | Help | Forums
in Search


Arithmetic Operations - Dividing a field by another field

Last post 01-06-2009 5:26 PM by Tera Ellefson. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-06-2009 2:08 PM

    Arithmetic Operations - Dividing a field by another field

    I am building an appeal analysis report so that we can get all of the information contained on an appeal performance analysis report and an appeal summary on one page.

    Right now I am trying to calculate the response rate by dividing the count of gifts (a summary formula field) by the number of solicitations (a RE database field).  But it won't let me divide a field by another field and says a number is necessary.  Does it really only work if the "y" of (x / y) is an integer? 

    Has anyone been able to solve a similar problem?  Or does anyone know a way to convert a RE database field into a format that will allow me to use it in an arithmetic operation?

     Thanks!

  • 01-06-2009 2:27 PM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    Re: Arithmetic Operations - Dividing a field by another field

    Make sure that the number of solicitations is numeric.  BB will often export numeric fields as formatted text.  You can find out by opening up the field explorer and using the last button on the toolbar there to toggle the data type.

    If it's not numeric, you will need to convert it to numeric.

    Drew

    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 01-06-2009 5:26 PM In reply to

    Re: Arithmetic Operations - Dividing a field by another field

     You're right, it was actually a string!  I used ToNumber and it worked out fine.  Thanks!

Page 1 of 1 (3 items)