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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
nh27
Helper III
Helper III

CSV File not importing correctly

We are trying to import a CSV file into PowerBI with columns that contain financial figures (both positive and negative decimal numbers). However when we try to change this column to a Decimal or Fixed Decimal Number type we get errors saying it is unable to convert the negative values.

 

Have attached some screenshots of one line that you can see in the CSV file as a negative but in Power BI without changing anything it's formatted it with a gap.

 

Any ideas why it is doing this and how to get around this?

 

Thanks in advance1.PNG2.PNG

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Weird indeed.  before trying to convert the column do a "Replace Values"  and replace space " "  with an empty string. ""

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Weird indeed.  before trying to convert the column do a "Replace Values"  and replace space " "  with an empty string. ""

Thanks for the suggestion, this done the trick!

Still baffled why it's doing that but hey ho.

Thanks once again

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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