Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Harvey85
Helper I
Helper I

Extract Value from Field

Hi, I have a question. I have a field called Season where I need to keep the text before the numbers at the end (2123, 2223, etc., in the future new numbers of these characteristics may appear, always with 4 numbers at the end).

 

And the expected output is in the second column. How can I get it? Thank you!!

 

SeasonExpected Output
Abc 2123Abc
Def 2123Def
Abc 2223Abc
Def 2223Def
Abc 2 2123Abc 2
Def 2 2223Def 2
Ghi 1 2324Ghi 1
Ghi 2 2425Ghi 2

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

There are lots of ways in power query to do this.

Example-> Split Column by delimiter (using 'space' as far right as possible)

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

There are lots of ways in power query to do this.

Example-> Split Column by delimiter (using 'space' as far right as possible)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors