cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amnadeem1991 Regular Visitor
Regular Visitor

Error "column contains blank values and this is not allowed anyone relationship...."

Hi All, I am getting an Error "column contains blank values and this is not allowed many-to-one relationship....".

I have been using the same backend excel files on Powerbi Desktop since long, but never got such error while refreshing the data. I just made some changes in one of the two backend files and tried to "Refresh" the pbix. But it fails with above error. Surprisingly, the error says : There are blank cells in a column "Order". (see attached image). But when I went into the backend files and check the column "Order", it does not have any blank cell. All cells have some value. Also, I checked PowerBi "Manage Relationships". There is no relation available. 

Any suggestions for this problem? ThanksERROR.png

3 REPLIES 3
Jessica_Seiya Established Member
Established Member

Re: Error "column contains blank values and this is not allowed anyone relationship...."

Did you go to Power Query Editor to check if the column Order in the Table "Data Spend" contains any blank value? Sometimes, the blank value coulod be hidden on the source file but when loading it into Power BI, you can find this blank value shown as null in Query Editor

Highlighted
amnadeem1991 Regular Visitor
Regular Visitor

Re: Error "column contains blank values and this is not allowed anyone relationship...."

Yes I checked. I could not see any unsusual value or blank cell there. Please suggest if you want me to check that by some specific method. (I am not that much expert) Smiley Happy
v-yulgu-msft Super Contributor
Super Contributor

Re: Error "column contains blank values and this is not allowed anyone relationship...."

Hi @amnadeem1991,

 

I have tested, if one column contains null value, it is still possible to establish a relationship based on this column. In your scenario, please go to relationship managements, check is there any automatically created relationship between very different queries pulling data from separate sources with similar column names. 

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 333 members 3,392 guests
Please welcome our newest community members: