Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Get "not allowed for columns on the one side of a many-to-one relationship" errors

$
0
0

I have a pbix file that successfully loaded data and everything worked.  The next day I tried refreshing it, and got this peculiar error:

 

Column ‘MAMUserPercent’ in Table ‘CapacityReport_ASUDeviceRatios’ contains a duplicate value ‘0.5’ 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 could not find any reason for the error, either in the table itself or in any references to the table.  Since I was out of ideas, I duplicated the table, changed all references to the new copy, and deleted the old one, and the refresh then failed with a similar error but on a different table:

 

Column ‘Total Device Check-ins Per Day’ in Table ‘CapacityReport_MonthlyCapacity’ contains blank values 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 repeated the process and the next refresh succeeded.  I'm worried that I will continue to hit this randomly when i refresh.  Any ideas on what's going on?


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>