This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I have a column with a list of data that I want to organize by certain cities.
So what I have right now is something similar to
NY59V9
NJ47W3
SF111A3
339TX
94CT28
As you can see my dataset is a mix of number/random alphabets+ two state abbrevation.
I would like to only extract those Abbreviation and create a new column but I just can't really figure out how.
NY
NJ
SF
TX
CT
Can anyone give me some advice?
Please let me know if you have any question.
Best,
KP
Solved! Go to Solution.
Use following formula in a custom column. Replace Data with your column name.
=Text.Start(Text.Select([Data], {"A".."Z"}),2)
Use following formula in a custom column. Replace Data with your column name.
=Text.Start(Text.Select([Data], {"A".."Z"}),2)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |