Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Refresh Error in Power BI Service



Since long time I'm facing the below error in PBI service while it's going smoothly in the desktop app.

"Column '<pii>CUSTOMER_KEY</pii>' in Table '<pii>STG_SFC_VW_EBS_CUST_BT</pii>' contains a duplicate value '<pii>19273</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"

Frequent Visitor

Hi @amitchandak 


Actually i went through your suggested steps with no benifit. There is no dublication in the fields and the refreshing working fine on PBI file but in the PBI service is not refreshing ata all.

Hi @wmostafa ,


Are you using incremental refresh? If so, then the historical data may be duplicated with the data in the refresh range, which causes this error. And the same error may not exist in Desktop.
If not, please try deleting the dataset on Service and re-publishing it to see if it refreshes successfully.



If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Super User
Super User

@wmostafa , In the given table STG_SFC_VW_EBS_CUST_BT for the column CUSTOMER_KEY value 19273 is coming 2 times. Check data at source. Or try run refresh once again manually


Or open power bi file, refresh this table and check if you get this error

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors