Forum Discussion
WJ876400
4 years agoHelper IV
Leading zero
Hi I have a list of ID numbers and some of them are missing a leading zero, the ID number should be 8 digits long the IDs that need a leading zero are only 7 digits long. How do I add a leading z...
- 4 years ago
amitchandak
4 years agoSuper User
WJ876400 , In power query
Text.PadStart(Text.From([Colum]),8,"0")
Text.PadStart([Colum],8,"0")
DAX
format([Column], "00000000")
https://www.fourmoo.com/2015/03/25/power-query-adding-leading-zero-to-number-eg-month-number/