how to solve getting duplicates from this join

Comments

4 comments

  • Joel Stewart

    Can you share the join criteria that you're using in Datameer? Perhaps a screenshot would be helpful to verify the logic and selection of the multiple matching criteria.

    2
    Comment actions Permalink
  • n

    I am joining by name using  inner join

    0
    Comment actions Permalink
  • n

    0
    Comment actions Permalink
  • Joel Stewart

    The join criteria needs to have two criteria, not just one. Specifically, the join should be conducted on the "name" and the "month/year". Since the "month/year" is not a current column in table A, this would need to be added before the join in Datameer can occur. 

    Joining on the two criteria, will eliminate the duplicate matches since they are currently matching every record where the name is the same and not considering the date relationship.

    1
    Comment actions Permalink

Please sign in to leave a comment.