Forum Discussion
Power BI Issue: Cannot change "Key column"
Ok, still not working. Something in PBI Desktop is "sticking" on an old relationship, even though it's been deleted. Data will not refresh. "Column 'ID' in Table 'SITE_BR_view' 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. (ID (2501))." But this relationship is long gone. I hate to have to rebuild this entire report because of this bug.
Ok, latest hack: went in to Transform Data, DELETED the [ID] column that was causing this "ghost" relationship, and that allowed me to refresh the data and republish the report. Not only should I not have to do this, but I have little confidence that this will persist or permanantly solve the issue.