Forum Discussion

D3K's avatar
D3K
Advocate II
2 years ago
Solved

Keep data format during import to Power Query

Hello everyone! Researched a 1000 of materials, but didn't find an answer. Hope someone knows the answer here I've got an Excel file (.xlsx) with a columns which contains 2 types of values: $ a...
  • Ritaf1983's avatar
    2 years ago

    Hi D3K 
    You can import the signs of $ and percent only if in Excel you will modify the data type to text...but this is not an efficient way to work with formats because in Power BI it will be text too

     

    The right way to work is to import the format as is and modify the data type from Power BI itself

    The steps are :

    In power query :

     

     

    Table view : 

    PBIX and Excel that I imported are attached, you can use them to follow my steps.

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