Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 zero to just the 7 digit IDs in the query editor?
thanks in advance
Solved! Go to Solution.
@WJ876400 , use only one second is alternate
example
Text.PadStart(Text.From([Colum]),8,"0")
Hi @WJ876400 ,
Has your problem been solved by @amitchandak 's solution? If yes, please consider accept it as the solution to help the other members find it more quickly.
Best Regards,
Community Support Team _ kalyj
@WJ876400 , use only one second is alternate
example
Text.PadStart(Text.From([Colum]),8,"0")
@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/
https://gorilla.bi/power-query/add-leading-zeros/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
98 | |
80 | |
76 | |
66 |
User | Count |
---|---|
135 | |
109 | |
104 | |
83 | |
73 |