Forum Discussion
huonghill
6 years agoMicrosoft Employee
Error - OLE DB or ODBC error: [Expression.Error] We cannot convert the value null to type Logical
Hi, I'm having the error mentioned in the post title. I do see null values in some columns (both number and text). However, when I replace null values with either 0 or "blank" or "none", PBI doesn'...
v-yingjl
6 years agoCommunity Support
Hi huonghill ,
Which data source you are using? I have tested it in my environment and it seems work fine when I replace values. Could you please share the power query code in advanced editor for further discussion?
Best Regards,
Yingjie Li
- v-yingjl6 years agoCommunity Support
Hi huonghill ,
Try like this in power query:
= Table.ReplaceValue( #"Changed Type","null","blank",Replacer.ReplaceValue,{"Column1","text"} )Remember that "null" and null are different in power query.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.