This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi, I am getting this error message when refresh in service. The duplicative value power bi shows is not even in my data and I know there are not duplicate values since I removed them in power query. Any ideas?
| : | Column 'Unique 2' in Table 'xxx' contains a duplicate value '<pii>XXXXX</pii>' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table. |
Also, double check the Unique 2 column doesn't contain null/blank values.
Regards
Phil
Proud to be a Super User!
Hi @PowerBI123456 , there were similar topics earlier, based on this link you should check relationships, it might happen that there were some relationships automatically created and should be removed.
https://community.powerbi.com/t5/Desktop/Get-quot-not-allowed-for-columns-on-the-one-side-of-a-many-...
You could also check relationship types (1:n, n:n...) and if there are any duplicates.
https://stackoverflow.com/questions/43748120/get-not-allowed-for-columns-on-the-one-side-of-a-many-t...
Hope this will be useful.
Regards,
Nemanja Andic
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |