Alert Error on Dataset

kacy
kacy βšͺ️

Hey all, some of the alerts we set up are getting this error: 2 or more rows have duplicate values in columns designated to track unique rows

We have unique row values but they keep breaking giving the above error.

Any suggestions how to fix this?


Thanks!

Answers

  • GrantSmith
    GrantSmith Indiana πŸ”΄

    Hi @kacy

    How are you ingesting this data? Are you attempting to do an UPSERT?

    What it boils down to is that the column you're using to identify a row's uniqueness isn't unique. You'd need to reimport your data such that you don't have duplicate IDs if your keys are set to the column that denotes uniqueness. Alternatively you may need to designate additional columns as part of the upsert key / uniqueness indicator.

  • kacy
    kacy βšͺ️

    HI @GrantSmith Thank you. So the issue is we want to set up an alert on the dataset because you can add filters and specifics unlike from a card. But in our data we may have duplicate rows because its different products related to 1 opportunity so there would be three rows. When I try and add the unique columns I add the opp ID and product and it is still throwing the error.