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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm trying to convert 6-digit postal codes into 5-digits in edit queries. I'm having a couple of issues but the main one is how to remove the last character in a string of text data. Additionally, I'd like to remove spaces and convert all letters to upper case.
Solved! Go to Solution.
All these are available on the Transform tab in Edit Queries.
To keep only the first five characters of a text field:
To remove spaces:
To convert all letters to upper case:
All these are available on the Transform tab in Edit Queries.
To keep only the first five characters of a text field:
To remove spaces:
To convert all letters to upper case:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!