Forum Discussion
Anonymous
2 years agoNot applicable
Add a Leading Zero if Length = 1, else do nothing
Please assist me using Power Query to create a custom column to Add a Leading Zero if Length = 1, else do nothing.
- 2 years ago
Anonymous Add a custom column:
if Text.Length([Hours]) = 1 then "0" & [Hours] else [Hours]
Greg_Deckler
2 years agoCommunity Champion
Anonymous Add a custom column:
if Text.Length([Hours]) = 1 then "0" & [Hours] else [Hours]