Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Purging Unique records within 5 minutes of each other in a Time field

$
0
0

Hi

 

I have a dataset that includes a Date/Time field in the format yyyy-mm-dd hh:mm:ss   (e.g. 2017-09-12 15:12:00)

I need to purge 'unique' records, keeping only records that are not within five minutes of each other.

 

As an example, one record might have date/time 2017-09-11 23:59:00  and another record 2017-09-12 00:03:00

I don't care which record I retain, I'm trying to count unique events (unique defined as none other existing within five minutes)

 

Any help would be greatly appreciated!

Andy

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles