cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nh27
Frequent Visitor

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. ""

View solution in original post

nh27
Frequent Visitor

Thanks for the suggestion, this done the trick!

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

Thanks once again

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!