Analysis of the number of purchases per constituent over the last 10 years

Hello all,

We are looking to do some further analysis of our existing constituents and their active buying over fiscal years. The question(s) we are trying to answer is along these lines:

How many patrons purchased 1-10 times in the last 10 fiscal years
How many patrons purchased 11-20 times in the last 10 fiscal years
How many patrons purchased 21-30 times in the last 10 fiscal years

If anyone has a formula for the above that they can pass along, I'd be most appreciative!

Thanks

Mike

Parents
  • Hi Michael,

    A pattern like this should do you...

    SUM ( [Constituent ID] , 
      IF (
        ( [# unique Order ID] , [Season Current Fiscal Year Offset between -10 and 0] ) >= 11
        ( [# unique Order ID] , [Season Current Fiscal Year Offset between -10 and 0] ) <= 20
      , 1
      , NULL
      )
    )

    Change the 0 to -1 in the FY Offset if you don't want to count the current FY, or change -10 to -9 if you want the 10 years to include this FY.

Reply
  • Hi Michael,

    A pattern like this should do you...

    SUM ( [Constituent ID] , 
      IF (
        ( [# unique Order ID] , [Season Current Fiscal Year Offset between -10 and 0] ) >= 11
        ( [# unique Order ID] , [Season Current Fiscal Year Offset between -10 and 0] ) <= 20
      , 1
      , NULL
      )
    )

    Change the 0 to -1 in the FY Offset if you don't want to count the current FY, or change -10 to -9 if you want the 10 years to include this FY.

Children