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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

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 @Anonymous,

 

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.
Anonymous
Not applicable

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors