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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
TusharGaurav
Helper III
Helper III

Getting error Column in Table contains a duplicate value, during incremental refresh.

Hi Experts,

 

I am trying to apply incremental refresh in few of the tables having huge volume of data.

While refreshing the dataset, I am getting the below error:

Column 'Product_Key' in Table 'Product Dimension' contains a duplicate value '34343434' 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.

I have checked in database and there is no duplicate records in either of the table.

Can you please suggest what could be the reason for this error.

 

Thanks and Regards,

Tushar Gaurav

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Check your RangeStart and RangeEnd filter. Only one of these parameters can be inclusive, the other must be exclusive

 

RangeStart <= [partition date] < RangeEnd

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @TusharGaurav ,

 

Thanks to @lbendlin  for the reply, please allow me to provide another insight:

 

1.Power BI sometimes automatically creates relationships between queries used to drive data in reports. you can:


• Enter model view
• Verify that relationships are listed
• Evaluate the "from" and "to" relationships listed as active
• Remove any invalid From and To relationships between separate data sets

 

2.Power BI automatically trims trailing spaces, which may cause visually identical values to be viewed differently in the source database, please check and handle this situation in the database.

 

3. Here are some solutions similar to your problem, I hope they can be helpful to you.
Solved: Get "not allowed for columns on the one side of a ... - Microsoft Fabric Community
Solved: Getting "not allowed for columns on the one side o... - Microsoft Fabric Community

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Check your RangeStart and RangeEnd filter. Only one of these parameters can be inclusive, the other must be exclusive

 

RangeStart <= [partition date] < RangeEnd

even after doing that, I am getting the same error. Will it happen if that unique ID is present in archived data and got updated in a recent refresh 

@Praveen_Rangu please open a new thread and provide more details.

Thanks Ibendlin,

I was actually RangeStart <= [partition date] <=RangeEnd, which I modified as per your suggestion.

The dataset refreshed post the changes.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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