Jeroen
Jeroen

Reputation: 63729

Prevent loss of decimal separator when importing CSV in PowerBI

I was creating a repro for a different PowerBI question, and crafted this example (UTF-8) CSV in Notepad:

IssueDate,Total,Location
2017-01-02,29.50,Detroit
2017-01-03,11.50,Boston
2017-01-04,13.50,Atlanta
2017-01-05,13.50,Detroit

When I load this into PowerBI as an external datasource I see:

Here's a screenshot:

Same info as above, where "Total" is listed without commas

And after I finish:

Modeling overview with same data

The problem: my decimal separators have gone!

I've tried many different solutions:

None of this helps.

I'm almost afraid to ask... but does my Windows region ("Dutch") have an influence here? And if so: how can I go around that? Because the data might be refreshed and/or the report might be edited by others that have other regional settings on their PC.

How do you get PowerBI to respect the decimal separator in CSV numeric values?

Upvotes: 13

Views: 25352

Answers (2)

user12451225
user12451225

Reputation: 21

Show the Legacy Import for text files in

Options -> Data

Run the Legacy Import in

Data -> Get Data -> Legacy Wizards

Upvotes: 2

user5226582
user5226582

Reputation: 1986

You could try changing locale setting in Options -> Current File -> Regional Settings -> Locale.

This setting is per report, so other users should be able to work with this report afterwards, regardless of their locale.

enter image description here

Upvotes: 16

Related Questions