Quarterly reports based on Join Date (Membership Renewal Report)

SOLVED

Hi.

I have a request from a new Sales member of our team to show on their CRM dashboard when an existing member is up for renewal.
We renew a member every year (so yearly) - the month of their join date (aka startdate) is what triggers the invoice.

She also wishes to see it 3 months prior (quarterly) to the renewal date in order to send a quick reminder message to the member.

I'm hoping someone can direct me on how to create this report (search query) correctly.
I'm pulling on the Company Summary - I selected the necessary fields for the report.

However, I get confused on the search (join date field).

I'm not 100% sure what to use here - relative vs for any - and when I select for any, it wants to use a between.
I think I need to use relative - then choose quarter - but not sure about current vs next - I assume current is Jan though March - and next would be March through Jun.

Just curious if there is any "can" report I can use to create this for her.

Let me know if anyone has any other approach - maybe we should be using a different field to work this quarterly report better.

Thanks,
Stephane

Parents
  • +1
    verified answer

    Hi Stephane,
    Looks like you don't store a renewal date or renewal month, so using the relative date parameter for current month or quarter on the join date wont return what you need.

    I would create a derived column in a new view.

    This is just a quick example, probably not the most efficient, but I haven't enough coffee yet. It should see you on the way though.

    SELECT *, DATENAME(month, GETDATE()) AS 'Current Month Name', DATENAME(month, comp_c_yourjoinfield) AS 'Join Month Name', MONTH(GETDATE()) AS 'Current Month Number', MONTH(comp_c_yourjoinfield) AS 'Join Month Number' from vReportCompany Where MONTH(comp_c_yourjoinfield) =  MONTH(GETDATE()) OR MONTH(comp_c_yourjoinfield) = MONTH(GETDATE())+1 OR MONTH(comp_c_yourjoinfield) = MONTH(GETDATE())+2

    Regards,
    Sean

Reply
  • +1
    verified answer

    Hi Stephane,
    Looks like you don't store a renewal date or renewal month, so using the relative date parameter for current month or quarter on the join date wont return what you need.

    I would create a derived column in a new view.

    This is just a quick example, probably not the most efficient, but I haven't enough coffee yet. It should see you on the way though.

    SELECT *, DATENAME(month, GETDATE()) AS 'Current Month Name', DATENAME(month, comp_c_yourjoinfield) AS 'Join Month Name', MONTH(GETDATE()) AS 'Current Month Number', MONTH(comp_c_yourjoinfield) AS 'Join Month Number' from vReportCompany Where MONTH(comp_c_yourjoinfield) =  MONTH(GETDATE()) OR MONTH(comp_c_yourjoinfield) = MONTH(GETDATE())+1 OR MONTH(comp_c_yourjoinfield) = MONTH(GETDATE())+2

    Regards,
    Sean

Children
No Data