Average Invoice value problem

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default Re: Average Invoice value problem

    Hi Jason

    Make calc_RoundTotal a conditional statement that only shows the round total
    if the record is not a credit note.

    Bridget Eley




    in article [email]5960d170dfaa31f8818edaab569a544c@news.1usenet.com[/email], JJ at
    [email]JJ@jj.com[/email] wrote on 22/7/03 5:25 PM:
    > I have a calc field in my invoices file of:
    > Average(Invoice::calc_RoundTotal)
    >
    > this gives me the avarage value of invoices for a particluar customer.
    >
    > The problem is it also takes into account credit notes when doing the
    > calc.
    >
    > How can I eradicate credit notes from the calculation?
    >
    > Thanks in advance
    >
    >
    > Jason
    >
    > --
    Bridget Eley Guest

  2. Similar Questions and Discussions

    1. Invoice entry
      As I wrote in summary , want to enter Invoice and have stock entered! I created tables like 1)Invoice 2)Supplier 3)Merchandise As I have Invoice...
    2. average days
      I have a db with two colums create_date and finish_date. What I would like to do is take the datediff of each row , add them togehter, then divide...
    3. average using lingo
      i need a huge hand with something i need to write a function to calculate the average of a sequence and return the result. however it should only...
    4. Invoice Structure?
      Hi Group Just trying to get some thoughts on the best / efficient way to handle this type of invoicing or some ways you may have handled this. ...
    5. invoice
      As I can create an invoice in Web matrix presenting/displaying subtotla and the taxes and the total of the invoice thanks
  3. #2

    Default Average Invoice value problem

    I have a calc field in my invoices file of:
    Average(Invoice::calc_RoundTotal)

    this gives me the avarage value of invoices for a particluar customer.

    The problem is it also takes into account credit notes when doing the
    calc.

    How can I eradicate credit notes from the calculation?

    Thanks in advance


    Jason

    --
    JJ Guest

  4. #3

    Default Re: Average Invoice value problem

    Create a second field of type calculation.

    myField = If(Invoice::calc_roundTotal > 0, Invoice::calc_roundTotal , "")

    Now average myField

    Matt Revenaugh

    ------

    On 7/22/03 12:25 AM, in article
    [email]5960d170dfaa31f8818edaab569a544c@news.1usenet.com[/email], "JJ" <JJ@jj.com> wrote:
    > I have a calc field in my invoices file of:
    > Average(Invoice::calc_RoundTotal)
    >
    > this gives me the avarage value of invoices for a particluar customer.
    >
    > The problem is it also takes into account credit notes when doing the
    > calc.
    >
    > How can I eradicate credit notes from the calculation?
    >
    > Thanks in advance
    >
    >
    > Jason
    >
    > --
    Matt Revenaugh Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139