1

I am wondering how to go about returning number of unique contact added on a daily basis

    leads       callDates
    000125324   2020-04-01
    00059926437 2020-04-01
    00040129160 2020-04-01
    00041834922 2020-04-01
    00057585341 2020-04-01
...               ...        ...
    00055846603 2020-04-27
    00042104902 2020-04-27
    00049923128 2020-04-27
    00092871326 2020-04-27
    0003642000  2020-04-27

Assuming I have a list of leads that keeps growing on a daily basis and there is a possibility of lead duplication, how do I keep track of growth of only unique lead values in my list over time?

Expected Output

    callDate  leadsGrowth 
    2020-04-01      2
    2020-04-02      4
    2020-04-03      5
    2020-04-04      5

where leadsGrowth is the sum of unique leads from preceding/days plus any new leads added today.

Tito Lulu
  • 85
  • 6

0 Answers0