Forum Discussion
Decimal separator after CSV import
Hi Luca,
Two options if you use Power Query
1) In ribbon Data->Get Data->Query Options->Regional settings change the locale on French(France).
and importing CSV file use Tab as delimiter
2) Without above import as it is, remove automatic Change Type step if appears, select columns shall be converted to numbers, and from right click menu use Change Type->Using locale. Select French as the locale of origin and Decimal number as the type to convert.
- Jean-Charles_MSep 08, 2023Copper Contributor
Hi Sergei, your solution works well, except for data including a currency sign. How can I fix these data during the import ?
thanks
JC
- SergeiBaklanSep 08, 2023Diamond Contributor
In Power Query editor select such column(s), Transform->Replace Values. In Value to Find $ in Replace With nothing, Ok. Select column again, click on icon on icon on the left of header (most probably ABC), apply Currency data type from drop-down menu.
- andersoonasdJan 22, 2019Copper Contributor
Thank you this works. But is it possible to change so that the query options are always set to a chosen language? No matter what language I choose as the Excels default language in the Excel option, the query option still has English(USA) as a default.
- SergeiBaklanJan 22, 2019Diamond Contributor
You may set PQ default locale only for current workbook
- andersoonasdJan 22, 2019Copper ContributorOk, thank you for the clarification
- GregmacJan 13, 2019Copper Contributor
Greetings would appreciate some help. New laptop with windows 10 & office 365. Unable to download csv. files to excel & separate info to columns with comma of the csv format. Region settings English South Africa. Region, Format, Additional Settings - list separator is a comma & even resetting, double OK button & reboot doesn't change the format.