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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Manage funky number formats importing csv file

Hi community,

 

i'm getting strange number formats like "10. Apr" when importing csv file. the number should be "10.04" and it works for some numbers in the same column like 28.05 or 12.00.

I tried different encoding codes (1252, 65000, 65001, 12000) while importing csv, but it hadn't worked.

 

I need only decimal formats in the column. Does somebody has any idea?

 

Thanks a lot 

4 REPLIES 4
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

When you import your CSV file, Power Query will try and 'guess' the data type based on the first X number of rows (specified in the CSV import dialog). This will create a 'Changed Types' step in your APPLIED STEPS list on the right in PQ. something like this:

BA_Pete_2-1659956936783.png

 

You can delete this step to revert your query to the raw data imported.

You can change/prevent this behaviour altogether by going to File > Options & Settings and adjusting the following:

 

To apply globally to all reports:

BA_Pete_0-1659956814990.png

 

To apply to only current report:

BA_Pete_1-1659956858489.png

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Anonymous
Not applicable

only one thing that helped was to change country settings on in windows settings to en-US

Anonymous
Not applicable

Hi Pete, 

thanks for your reply.

i already deleted the data type detection und have manually routine to manage necessery data types. To set the options globally didn't work. Do you know any other options applied when opening csv in excel? the wrong formats appears already when opening csv in excel. Only in text (Notepad) i get the right data.

 

Thanks

Ksenia

Hi @Anonymous ,

 

When you first import the CSV using Get Data, you actually specify the detection at that point. You should set the following option to 'Do not detect data types':

BA_Pete_0-1659960415932.png

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.