Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
wmostafa
Frequent Visitor

Refresh Error in Power BI Service

Dears,

 

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"

3 REPLIES 3
wmostafa
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,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.