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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DanielHart
Frequent Visitor

Expression.Error: We cannot convert the value null to type Number

Hi All,

 

I am receiving the following error when trying to merge two tables:

 

Expression.Error: We cannot convert the value null to type Number.
Details:
Value=
Type=[Type]

 

There are no null values in either table (checked that thoroughly), and no conversion to Numbers. I have created a custom column in each table with exact data to merge on. The scenario for the merge is I have a table with datetime values and I am trying to merge a second table with datetime values. Doing a Left Outer join to only return the rows from the first table, and the matching rows from the second table.

 

This error is doing my head in, and can not figure out what is causing it. Can not find any other resources on the web with the same error when merging.

 

Any assistance would be greatly appreciated.

1 ACCEPTED SOLUTION
DanielHart
Frequent Visitor

Hi vanessafvg,

I have found the problem. Long story short, there was some bad data in a single json file I was parsing (out of a database of 20,000+ json files). Took a while to find it, but after filtering out that file, the problem is resolved. 

Thanks for looking at my question though. 

 

 

View solution in original post

3 REPLIES 3
DanielHart
Frequent Visitor

Hi vanessafvg,

I have found the problem. Long story short, there was some bad data in a single json file I was parsing (out of a database of 20,000+ json files). Took a while to find it, but after filtering out that file, the problem is resolved. 

Thanks for looking at my question though. 

 

 

Anonymous
Not applicable

Hi @DanielHart ,

 

Could you please kindly Accept your reply as the solution to make the thread closed since your issue has been resolved ? More people will benefit from it. 

 

Thanks in advanced!😀

 

Best Regards,
Eyelyn Qin

vanessafvg
Super User
Super User

are you able to share the data?   when you say you have checked thoroughly, how have you checked?  can you do a unique list from each column and share those values?

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.