Hi All,
Solved! Go to Solution.
Not my most elegant answer, but this should be functional. Few steps here. Calculate the running days after first call for the same shop and same caller. I divide that number by 60 and take the ceiling so I can tell the first call after that 60 day period. Then another multi row tool that will analyze that field as well as new combinations of shop and user.
See example attached
Hi @jrabjohns
I think this workflow gives what you're looking for. The key here is to get the data sorted in the proper order.
Start by adding a Record ID so that you can put the data in the original order at the end of the process. Next, sort by shop, caller and day. A Multi-row tool, grouped by shop and caller, then generates a running StartDate until 60 days have elapsed, then changes to a new StartDate. The next Multi-row tool, also grouped by shop and caller, looks at the StartDate. If it's the same as the StartDate from the previous row, it's a Duplicate otherwise it's a Lead. Then, sort into the original order and cleanup the extra fields.
Results
Dan
Hi Dan,
This worked and solved my issue perfectly! Thank you so much for your workflow and solution.
James
Hi The_Dev_Kev_Env ,
Thank you for your prompt solution suggestion. This worked for the sample data but unfortunately when I applied this to the large data set it was calculating the number of days differently than the actual difference of the days but much appreciated!