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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Community Champion
Community Champion

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.