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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!