Forum Discussion

nh27's avatar
nh27
Helper III
4 years ago
Solved

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 advance

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

2 Replies

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

    • nh27's avatar
      nh27
      Helper III

      Thanks for the suggestion, this done the trick!

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

      Thanks once again