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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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. 

 

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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