Forum Discussion

DanielPasalic's avatar
DanielPasalic
Helper II
6 years ago
Solved

Percentage column

Hi
I need to create a percentage (%) column but all values should be divided with 100 before I can change Data Type (from a decimal number to percentage)

Anyone who can help me?

 

Decimal numbersShould be 98,58%

  • Anonymous's avatar
    Anonymous
    6 years ago

    Try this

     

    New column= divide(old_column,100,0)

3 Replies

    • DanielPasalic's avatar
      DanielPasalic
      Helper II

      Not so easy Anonymous 
      As I already mentioned, if I do what you recommend I get totally wrong percentage. 
      I have value 98,640 and if I just change to the percentage I get 9 8640,00% instead of 98,64%.
      Somehow I need to divide with 100 all raws in this column and after that, I can change to percentage. But I don't know-how. 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Try this

         

        New column= divide(old_column,100,0)