Forum Discussion
dsmiech
Dec 30, 2020Copper Contributor
When downloading historical data from Yahoo Finance I am not able to convert text into numbers
Hello, I have an odd issue with the historical data of the company that I have downloaded from the Yahoo Finance. When I try to convert the data from text into decimal numbers using the query editi...
- Dec 30, 2020
dsmiech See attached. Changed data type using locale for UK that recognises the comma as a thousand separator.
Riny_van_Eekelen
Dec 30, 2020Platinum Contributor
dsmiech Try replacing comma's with nothing. Then Power Query should be able to recognise the values as numbers.
Can't test it right now as I'm not close a computer with PQ.🙂
- dsmiechDec 30, 2020Copper Contributor
Unfortunately, but after replacing commas with nothing Power Query is still not recognizing the values as numbers and when I try to convert them the errors still occur.
- Riny_van_EekelenDec 30, 2020Platinum Contributor
dsmiech After replacing, did you change the data type to a decimal number or a whole number?
- dsmiechDec 30, 2020Copper Contributor
I tried both.