Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
During an INSERT statement I´m always receiving this error
The column here is defined as nulllable and I even recreated the table multiple times to assure that.
The error also appears if I´m using ISNULL(column, 0) or if I just put a "0".
I also tried to comment this column out but then the error just came for the next column, and the next column and so on...
Solved! Go to Solution.
Hi @Anonymous
Thanks for your answer, unfortunately the column was neither primary key, foreign key or use in calculations.
Nethertheless I found a solution, or more like a workaround.
The columns in the Insert statement have been in a different order than the columns were ordered in the create table. So indeed, there were NULL values for a not null column, but it was not the one displayed in the error message, but the one that would have been in the same position in the table.
So for me that sounds like a bug.
Thx and KR Max
Hi @MaxBronder ,
I have checked with the internal team. There is no active bug for such a scenario currently.
But you could share your feedback on our feedback link which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)
Thank you.
Hi @Anonymous
Thanks for your answer, unfortunately the column was neither primary key, foreign key or use in calculations.
Nethertheless I found a solution, or more like a workaround.
The columns in the Insert statement have been in a different order than the columns were ordered in the create table. So indeed, there were NULL values for a not null column, but it was not the one displayed in the error message, but the one that would have been in the same position in the table.
So for me that sounds like a bug.
Thx and KR Max
Hi @MaxBronder ,
Thanks for the inputs. In the above comment , are you trying to say that the error message displayed in SSMS was different from the actual error?
@Anonymous yes exactly, the wrong column was mentioned in the error.
Hi @MaxBronder ,
Thanks for the information. Glad that your issue got resolved.
I will check with the internal team regarding the error in SSMS.
Appreciate your patience.
Hi @MaxBronder ,
I have checked with the internal team. There is no active bug for such a scenario currently.
But you could share your feedback on our feedback link which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)
Thank you.
Hi @MaxBronder ,
Glad that your issue got resolved. Please continue using Fabric Community for any help regarding your queries.
Hi @MaxBronder ,
Thanks for using Fabric Community.
As I understand you are trying to insert NULL values into a table, and you are facing error eventhough the column is nullable column. I tried to repro the scenario and was successful in inserting NULL values into my Warehouse table using SSMS. I have attached the screenshots for your reference.
1) Creating a table in Warehouse:
2)Inserting NULL values into the table using Warehouse T-sql :
3)NULL values inserted into the table successfully:
4)Trying to insert NULL columns using SSMS :
5)NULL columns inserted successfully:
There are a few reasons why you might get this error:
Hence check for the above reasons in your case and try inserting the rows again.
Hope this helps. Do let us know if you have any further issues.
Hi @MaxBronder ,
We haven’t heard from you on the last response and was just checking back to see if your issue has been resolved. Please let us know if you have any further issues.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
3 | |
2 | |
2 | |
2 | |
1 |