Clay Icon

How to Deduplicate and Keep the Latest Record in a Table Sorted by Created Date

ยท
ยท

if I have duplicates, I can dedupe, and the first record on the table will be keep and the next ones deleted as duplicates If so, can I sort by createdDate desc, so I can keep the latest record instead?

  • Avatar of Clay Team
    Clay Team
    APP
    ยท
    ยท

    Hi Esteban, thanks for getting in touch! Yes, this will work

  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท

    how do I access to createdDate in formula? because I can't see it in Sort, so I believe I need to creata a formula field base on createdDate and then sort by that

  • Avatar of Esteban L.
    Esteban L.
    ยท
    ยท

    moment({{created_at}}).format('MM/DD/YYYY') ?

  • Avatar of Clay Team
    Clay Team
    APP
    ยท
    ยท

    You can add a column designed for this purpose