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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
duncfair
Advocate II
Advocate II

Refresh error message demonstrably wrong - how to fix?

Data source error: Column '0-30%' in Table 'vw_TargetTool_Hist_2021' contains a duplicate value '<pii>68</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. Table: vw_TargetTool_Hist_2021.
Cluster URI: WABI-US-NORTH-CENTRAL-E-PRIMARY-redirect.analysis.windows.net
Activity ID: c49ccf6d-4deb-4fa7-a581-7f3ab15e9f36
Request ID: 4b196b8c-e85c-607a-1b59-779c3b9f419a
Time: 2021-02-15 14:08:00Z

 

Only 7 rows in this view (7 fiscal weeks) so far this year. There are no duplicates. The value '68' only occurs a single time, so it's not even a duplicate value within the column.

1 ACCEPTED SOLUTION
timg
Solution Sage
Solution Sage

Hi duncfair,

Could you check if the relationship cardinality between this table and other tables is set correctly? If these are not set correctly it could also cause a duplicate error, so perhaps that's the culprit.

Regards,

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
timg
Solution Sage
Solution Sage

Hi duncfair,

Could you check if the relationship cardinality between this table and other tables is set correctly? If these are not set correctly it could also cause a duplicate error, so perhaps that's the culprit.

Regards,

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi Tim,

 

Thanks! I was not the original creator of this report (I'm the backend data guy) and the issue was an auto-created relationship that didn't make any sense. Changing that resolved the error.

 

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.