Forum Discussion
Relationship issue - We cannot create a relationship between
I built a summarizing table because my data set is not normalized and I need a particular field (BusinessUnit) to join several tables.
This business unit occurs in all 3 tables but is named differently in each (the definition itself is the same, just different names).
the summary:
BusinessUnit = Summarize('Table1', 'Table1'[YTMCU],"Gross",SUM('Table1'[Gross]))
The resultant table appears clean and as I expect, however when I try to relate it back to the original (and the other 2) I get an error.
"We cannot create a relationship between 'BusinessUnit '[YTMCU] and 'Table1'[YTMCU]. This could be because there is missing intermediate data to connect the two columns."
What does this error mean, does anyone have any guidance?
Reading a couple other posts I have discovered there were blanks in my original data.
Instead of summarizing I am going to copy my import remove all other columns, remove duplicates and remove blanks. [Thanks dejan]
I will return with my results.
2 Replies
- I_Like_PiResolver II
Reading a couple other posts I have discovered there were blanks in my original data.
Instead of summarizing I am going to copy my import remove all other columns, remove duplicates and remove blanks. [Thanks dejan]
I will return with my results.
- I_Like_PiResolver II
That worked. I think if i figured out a way to drop Nulls within the summarize command I may have been fine with that approach. (ANYONE?)
I did run into additional issues. I have another table (employees) that links the 3 main tables. When those relationships were established they were 2-way and my business unit table created ambiguity in those relationships. I changed then to single and was able make the business unit relationship.
I honestly dont know what the 2way vs single means, so I probably lost some function. (ANYONE?)
It did bring up some other issues, why are there nulls in a field that should contain a value so yeah!
I am calling this item closed but if anyone has insight on my 2 remaining soft queries please reply.