Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Struggling with errors in relationships

Hello,

 

I'm trying to set up a 1:Many relationship from one table which is a list of unique employee IDs (no duplicates or empty) to another table which has lots of occurences of the employee ID. I try selecting the 1:Many relationship with my unique list at the top, but it says the cardinality you selected isnt valid. This doesnt many much sense as the data is unique and cleaned up. It will only accept Many:Many which I dont want to use. 

As a check, I tried removing duplicates in the unique table which didnt remove any rows. I then closed the transform view and applied changes and get the error "ole db or odbc error dataformat.error we couldn't convert to number" which makes no sense as the columns are formated as text, integers or decimals. No columns are formatted as dates or contain dates. 

 

Any suggestions? 

2 Replies

  • PaulDBrown's avatar
    PaulDBrown
    Icon for Community Champion rankCommunity Champion

    You may have blank rows, which produces this error. Try sorting the column to see if blank rows appear. If so, remove them.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hmm, I tried filtering the column and the error appears again in the query editor;

      DataFormat.Error: We couldn't convert to Number.
      Details:
      000AFC067F388A42791CAAC92B78F642

       

      I have to remove the sort from applied steps to get back to the data. 

       

      When I hover over the column it says 100% valid, 0% errors, 0% empty.