Jun 21 2023 03:32 AM
Good morning,
I am running a refresh for power BI , however the refresh falls over with the following error.
Column 'Account' in Table 'Forecasting' contains a duplicate value 'BRC001' and this is not allowed for columns on one side of a many-to-relationship or for columns that are used as the primary key of a table.
I have run a smaller SQL and can see 2 lines for that account appear. how can i get SQL to combine the 2 values ?
I really appreciate your help
Jun 25 2023 10:40 PM
Hi @lpearce,
you can not just "force SQL Server" to combine those rows. There are too many questions, before you could have a fitting answer for your case. Nontheless I will try to give some hints:
All hints to take with a grain of salt. Ideally #2 is a valid option for you, and you've "just" used the wrong column in your relationship.