cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

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) 🙂
Microsoft v-yulgu-msft
Microsoft

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
Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors