Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
My column contains data in the form of pure numbers - 2658270185 and in the form of alphabet,numeric form - CR35309277
The type of the column is changed to text still it would give me below error:
DataFormatError: We couldnt convert to Number
Details:
CR35309277
Solved! Go to Solution.
I found the solution. While loading the data, query loads it as an integer , so even if you later convert the type to "text" it still throws the error.
I went in advacned query editor for the first step and changed the type for"integer.64" to "text" by typing it manually.
and then it worked!
Hi @Krushal ,
Did you change it to TEXT thru Desktop or thru Power query editor?
Try changing it thru Query editor. Sometimes it gives an error if we do from Desktop.
You can give a try in your case.
Thanks,
Tejaswi
@Anonymous wrote:
Hi @Krushal ,
when I am trying to do it usign your example I don't see any issue.
May be I am missing some steps. or will have to look at your dataset.
Thanks,
Tejaswi
@Anonymous My data set is huge, but contains numbers and alphabets +numbers.
I tried it again, it gave me the same error.
Hi @Krushal ,
I am unable to recreate your issue.
Is your data source an excel spreadsheet? or it is coming live from any DB?
if Excel, then may be this post helps you.
Thanks,
Tejaswi
I found the solution. While loading the data, query loads it as an integer , so even if you later convert the type to "text" it still throws the error.
I went in advacned query editor for the first step and changed the type for"integer.64" to "text" by typing it manually.
and then it worked!
User | Count |
---|---|
124 | |
108 | |
99 | |
62 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |