Forum Discussion

hendraoui's avatar
hendraoui
Regular Visitor
3 years ago
Solved

Convert text to pourcentage

Hello everybody,

 

How to convert a value with type text in pourcent?

 

Thanks 🙂

  • We just had to replace the empty cells with null 😉

     

     

7 Replies

    • tamerj1's avatar
      tamerj1
      Community Champion

      hendraoui 

      I tried from my end and Power Query automatically converted the text to number without me even doing anything. Make sure to check if you have some cells that contain letters or  hidden special characters. You may also try Tranform - Trim and Trasform - Clean if you cannot see any visible character. 

    • FreemanZ's avatar
      FreemanZ
      Super User

      hi hendraoui 

       

      it looks like you have data from a specific locale, like Germany.

       

      try to

      1) right click the column, choose Change Type -> Using Locale, choose Decimal Number and English(Germany), and OK to close. 

       

      2) change it to percentage as usual. 

       

      • hendraoui's avatar
        hendraoui
        Regular Visitor

        We just had to replace the empty cells with null 😉

         

         

  • tamerj1's avatar
    tamerj1
    Community Champion

    hendraoui 

    Ah.. you want to use Power Query? Then just replace the "," with "." then change data type to %