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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.