Forum Discussion
Showing the zero with two digit postcode
- 3 years ago
Hi MZCLN,
Can you please try the following in Power Query:
1. Make sure that the Zip Code COlumn is text
2. Add a column with the following formula:
if Text.Length([ZIP COdes]) = 1 then "0" & [ZIP COdes] else [ZIP COdes]
3. Result:
Please now use the new column for your visual.
Best regards
Michael
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your kudos.
Hi MZCLN,
Can you please try the following in Power Query:
1. Make sure that the Zip Code COlumn is text
2. Add a column with the following formula:
if Text.Length([ZIP COdes]) = 1 then "0" & [ZIP COdes] else [ZIP COdes]
3. Result:
Please now use the new column for your visual.
Best regards
Michael
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your kudos.
- MZCLN3 years agoRegular Visitor
It worked! Thank you very much, I´ve been on this for a while now! Thanks!
- Mikelytics3 years agoResident Rockstar
Awesome! Thank you for your feedback! 😊