Forum Discussion

simonxiaoss's avatar
simonxiaoss
Microsoft Employee
5 years ago
Solved

PowerBI: Number.ToText with padding on left?

I try to convert a column of number to text, with padding '0' on the left. How do I do?

FOr example:

Number:

90

9

123

 

I would like to convert it to a text with 6 chars:

"000090"

"000009"

"000123"