Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone
I'm downloading as .csv the data from a power BI model. But some data is formated with decimals in '.' and other data as ','
Wondering why this would happen and how to fix it.
Thank you.
Hi @juangomez ,
The CSV format of the power Bi desktop export is correct, but UTF 8 and "," are used as separators.
If you encounter a problem that opening a file directly in Excel does not produce the expected results, it is due to the list separator setting on your computer.
To change settings: control panel / regional and language / advanced settings / list separator
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello
Thank you for your answer.
I'm checking the downloaded file in notepad.
It downloads some numbers as text, although the measure is defined as decimal and calculates from decimal defined columns.
It appears that the columns with commas in them are text and the one with decimals is numeric.
maybe some columns are formatted as String in Modeling ribbon or have a date type = text in Power query editor?
Hi @az38
'GS Scen 1', 'kg Scen 1' and 'NR Scen 1' are measures from this data imported from excel as decimal.
The measures are also formated as decimal numbers. I have no problem using them as numbers in Power BI (sum, average, etc.)
Thanks for your help.
@juangomez that is how it is formatted in Power Query. When you export, it comes from the DAX modeling side. How are they formatted there? You can change formats there and that may be where the different formatting is coming from
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |