Forum Discussion
maurcoll
Helper IV
2 years agoadding leading zeros
Good Morning Is there a way to add leading zeros to an existing field to make it a five digit number but keeping it as type number. All of the solutions i have seen convert it to a text field but i...
- 2 years ago
In the power query editor, choose the custom column from add column tab
In the custom column formula, write the mentioned formula
Text.PadStart(Text.From([YourExistingField]), 5, "0")
It will not change the type to text.
nirali_arora
Resolver II
2 years agoIn the power query editor, choose the custom column from add column tab
In the custom column formula, write the mentioned formula
Text.PadStart(Text.From([YourExistingField]), 5, "0")
It will not change the type to text.