Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Leski
Frequent Visitor

Import from CSV Decimal separator - changes to date

Hello

I have a problem with import from CSV. The decimal separator is a dot, but the import PQ will change some values to date. For exaple 11.44 is paź.44 (short month name and short year).

I know the problem is in polish regional setting but I coudent find right settings.

Can you help me please?

1 ACCEPTED SOLUTION
Leski
Frequent Visitor

I found an error in the csv file. All you had to do was open csv in excel and save, then csv converted some numbers into text "paź.44". Unfortunately . It is not conected with Power BI and regional setings. 

Thank you all for your advice and help, it will help in the future. 

View solution in original post

3 REPLIES 3
Leski
Frequent Visitor

I found an error in the csv file. All you had to do was open csv in excel and save, then csv converted some numbers into text "paź.44". Unfortunately . It is not conected with Power BI and regional setings. 

Thank you all for your advice and help, it will help in the future. 

v-alq-msft
Community Support
Community Support

Hi, @Leski 

 

I'd like to suggest you specify the culture for Table.TransformColumnTypes  function.

Table.TransformColumnTypes(table as table, typeTransformations as list, optional culture as nullable text) as table

 

You may try to add 'en-US' for the third parameter of the function as below.

= Table.TransformColumnTypes(Source,{{"Test", type number}},"en-US")

 

About the culture for each region, you may refer to the link .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

camargos88
Community Champion
Community Champion

Hi @Leski ,

 

Have you tried to remove the change type step and convert the column using locale ?

 

https://blog.crossjoin.co.uk/2015/05/25/working-with-international-date-and-number-formats-in-power-...



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors