Forum Discussion
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%
- Anonymous6 years ago
Try this
New column= divide(old_column,100,0)
3 Replies
- AnonymousNot applicable
click on your column. and go to modelling tab and then change the format to percentage.
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.- DanielPasalicHelper 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.- AnonymousNot applicable
Try this
New column= divide(old_column,100,0)