Forum Discussion
avickery
9 years agoNew Member
Date Relationships with Google analytics
Im trying to create a relationship between a csv file and a google analytics account. I have a column in each data table labeled month of year. The data in my csv file appears as a num 1, 2, 3 etc....
v-huizhn-msft
9 years agoMicrosoft Employee
Hi avickery,
In order to create a relationship in between these two columns in Power BI, at least one side of the relationship must be tied to a column that is unique in the table. Please verify a column in one side is unique. There is no many to many relation in Power BI model.
If there are multiple values in columns, you can remove the multiple as follows.
Please click the table, right click-> Power Query Editor, select the column including the values and right click->Remove Duplicates highlighted in yellow. Click Apply and Close, you will get the column having unique values. Finally, you can create relationship between the columns.
If you have any otherproblem, please let me know.
Best Regards,
Angelia