Request for help with Extractions!

Hello everyone

If anyone can help me with extractions, I'd be very grateful. I'm trying to do something quite simple but tying myself up in knots!

I want to pull extractions for RFM analysis and would like to know which constituents have been to more than 100 performances over the last 12 months and have spent more than £600 on tickets in the last 12 months.

Anyone know how (if at all) I can make it pull for the last 12/6/3 months only?

I know I can use Tickets-Total Amount and Number of Unique Performances but these are ever, I think, and I don't know how to restrict the data to a time frame.

Thanks, Alison

Development Manager (IG), The Sage Gateshead (UK)

Parents
  • Former Member
    Former Member $organization

    Actually BETWEEN performance dates looks more promising as there are performance dates into the future.  Here’s a shot at tickets total amount:

     

     

    Select Distinct a.customer_no

     From t_customer a (NOLOCK)

     Where  IsNull(a.inactive, 1) = 1

     AND  Exists (select 1 from vs_tck_hist (NOLOCK) 

    Where vs_tck_hist.customer_no = a.customer_no and vs_tck_hist.performance_dt between '12/08/2008' and '12/08/2009'

    Having sum(tck_amt * num_seats) >=  600)

     

    From: Tessitura Development Forum [mailto:forums-development@tessituranetwork.com] On Behalf Of Alison Marley
    Sent: Thursday, December 10, 2009 1:07 PM
    To: Warren Evans
    Subject: [Tessitura Development Forum] Request for help with Extractions!

     

    Hello everyone

    If anyone can help me with extractions, I'd be very grateful. I'm trying to do something quite simple but tying myself up in knots!

    I want to pull extractions for RFM analysis and would like to know which constituents have been to more than 100 performances over the last 12 months and have spent more than £600 on tickets in the last 12 months.

    Anyone know how (if at all) I can make it pull for the last 12/6/3 months only?

    I know I can use Tickets-Total Amount and Number of Unique Performances but these are ever, I think, and I don't know how to restrict the data to a time frame.

    Thanks, Alison

    Development Manager (IG), The Sage Gateshead (UK)




    This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Development Forum. You may reply to this message to post to the Development forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

  • Hi Warren

    Sorry to take so long to reply to your posts but thank you very much. I have passed this information on to our IT team and it's been really useful.

    Thanks once again

    Alison

     

Reply Children
No Data