Forum Discussion

JWorthy's avatar
JWorthy
Icon for Advocate I rankAdvocate I
6 years ago
Solved

Formatting Postcodes

Hello,   I have a .csv of delivery information with postcodes that I need to format correctly before I import into Power BI.   Below are the different incorrect ways that postcode information can...
  • FrankAT's avatar
    6 years ago

    Hi,

    1. Open Power Query editor.
    2. Select column 'Postal Code_Incorrect (how i receive them)'.
    3. Change data typ to text.
    4. Tab Add Column > Column From Examples
    5. Enter in the first row the postal code A9 9AA, press Enter.
    6. Enter in the second row the postal code A99 9AA, press Enter.
    7. Ok.
    8. Tab Transform > Format > UPPERCASE.
    9. Done!

     

    Regards FrankAT