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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Mezmarianne
Helper I
Helper I

Blank values not allowed for columns on the one side of a many-to-one relationship

error messageerror message

 

I have a table with blank values in column 'Faktisk Lukkedato'. Those values are supposed to be blank. The table is not in a relationship to any other tables. It used to be on the many side of a One-to-Many relationship. Not the one side.

So the error indicates that PowerBI thinks the column is the primary key. It is not. I have a column with nice unique values that can be used as primary key.

How do I change primary key? Why does PowerBI think that this excact datetime column is the primary key? There are other datetime columns with no blank values.

 

no relationships to tableno relationships to table

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @Mezmarianne,

 

In Query Editor, is there only one table "Alle salgsmuligheder"? Please go to File-> Options and Settings -> Options, uncheck below settings: 

 

w4.PNG

 

Please try to run the latest Power BI desktop version. 

 

Best Regards,
Qiuyun Yu 

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

Those settings were already set to no.

And only one table "Alle salgsmuligheder".

ScreenHunter 473.png

I am having the same issue with one of my reports.  There are two queries, but only one is loaded to the report.  None of the "automatic" relationship options are enabled, and I get the same error trying to refresh the data.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.