Forum Discussion

RickHantz's avatar
RickHantz
New Member
10 years ago
Solved

"How to prevent Power BI from converting text data?"

We have data with lots of product codes that get auto converted to dates or scientific notation. To prevent the conversion, we import the csv files as text to excel and save as xlsm. However, Power...
  • wonga's avatar
    wonga
    10 years ago

    RickHantz, try disabling the two highlighted items in below image:

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Otherwise, try the following:

     

    When you load data into Power BI Desktop instead of clicking "Load", click "Edit" instead (which opens the Query Editor) and remove all steps after the "Source" or "Navigation" step (depending on if it's Excel or CSV, since Excel can have multiple sheets ,"Navigation" would be required to select the appropriate sheet whereas CSV's are only one sheet). By doing this, you will retain the source data without any modifications being done by Power BI automatically.