Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi everyone!!!!
Please help me. Do you know formula to create "custom" column the same picture?
Thank you so much!!!!
Solved! Go to Solution.
pls try this
[
f = Text.Length([DATA]),
to= if f < 3 then Text.Repeat("0",3-f) & [DATA] else [DATA]
][to]pls try this
if List.ContainsAny({[site ID]},{"0".."9"})
then "0" & [site ID] else [site ID]
Hi, so do you know anyway convert to 3 characters for number???
ex: 1 to 001;
2 to 002;
10 to 010....
but if A2, P100, I205 still not change.
Thank you!!!
pls try this
[
f = Text.Length([DATA]),
to= if f < 3 then Text.Repeat("0",3-f) & [DATA] else [DATA]
][to]Your solution is perfect. It helped me solve the problem. Thank you so much!!!
thank you so much!!!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 51 | |
| 42 | |
| 29 | |
| 22 |
| User | Count |
|---|---|
| 142 | |
| 119 | |
| 56 | |
| 37 | |
| 32 |