Forum Discussion

razvanlb's avatar
razvanlb
New Member
4 years ago
Solved

Get data from excel problem

Hello,

I'm trying to get some data from an excel file but there are numbers in this format " 1664_1" which will not get imported. Is there a problem with underscore data not being imported? I tried changing in excel the format from General to Text but no success. Any thoughs? Thanks

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi razvanlb 

    I am glad you can slove your problem. Here is the offical blog about how to change data type in Power BI.

    There are two ways one is to change data type in Power Query Editor and another one is to use column tools in your report view.

    Power Query:

    Report View:

    For reference: Determine and specify a column’s data type

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • Solved, i had to modify data type in "Transform data" and not in Excel.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi razvanlb 

      I am glad you can slove your problem. Here is the offical blog about how to change data type in Power BI.

      There are two ways one is to change data type in Power Query Editor and another one is to use column tools in your report view.

      Power Query:

      Report View:

      For reference: Determine and specify a column’s data type

       

      Best Regards,
      Rico Zhou

       

      If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.