Forum Discussion
Anonymous
6 years agoNot applicable
OLE DB or ODBC error: [Expression.Error] We cannot convert the value "<>" to type Table..
Hello Experts, I am getting data from cosmos db into powerBI. I see some columns, e.g. Document.status having mixed type of data as shown below: Some rows show List, some has string values ...
- 6 years ago
Hi Anonymous ,
You can use try/otherwise.
In this case, this should work:
= Table.TransformColumns(#"last step",
{{"column", each try Combiner.CombineTextByDelimiter(";")(List.Transform( _ , each [value]))
otherwise null, type text}})
v-frfei-msft
Community Support
6 years agoHi Anonymous ,
You can use try/otherwise.
In this case, this should work:
= Table.TransformColumns(#"last step",
{{"column", each try Combiner.CombineTextByDelimiter(";")(List.Transform( _ , each [value]))
otherwise null, type text}})
- v-frfei-msft6 years ago
Community Support
Hi Anonymous ,
Has your issue been solved? If so kindly mark my answer as a solution to close the case. Thanks in advance. Any other question, feel free to let me know please.
- Anonymous5 years agoNot applicable
Hi v-frfei-msft. Would it be possible for you to include the complete code and proper syntax please? I a have a similar issue, but being a newbee to Power BI I am finding the code a little hard to follow. Thanks