Forum Discussion

10656645's avatar
10656645
New Member
4 years ago
Solved

Refresh Error: Contains Duplicate Value

Hello PowerBI community, 

 

I am in need of help refreshing my daily sales report. I have categories for each item in the report and needed to change an items sales category in the excel file to match what accounting has in their reporting. When I went to refresh PowerBI with this change, I received an error stating that the table "Daily Sales" contains a duplicate value and this is not allowed. 

 

I attempted a few things. One being clearing the cache in the query editor (didnt work) and the other changing the relationships up which also didnt work. 

 

Does anyone know anything else I can try without having to change the sales category back to the wrong one in the excel file? 

 

Thank you!

  • 10656645's avatar
    10656645
    4 years ago

    Solution!!!

     

    I went into query editor and removed the index column with the duplicates then re-added a new index column with new numbers. 

     

3 Replies