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
PBI_newuser
Post Prodigy
Post Prodigy

DAX: how to extract text after delimiter

Hi, how to create column to extract text after delimiter.

Data: 

8/12

2/1

3/4

Expected output:

12

1

4

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@PBI_newuser , In power query

new column Text.AfterDelimiter([Column], "/")

 

https://docs.microsoft.com/en-us/powerquery-m/text-afterdelimiter

 

in DAX

new column = right([Column], len([column]) - search("/",[Column],,0))

View solution in original post

2 REPLIES 2
LaRy
New Member

Hi, is it possible to extract columns from a situation like the one below?

 

Data: 

Numer nadania: 647400836356416129470819, Kod: INP_P1_PACZKOMATY, Identyfikator zamowienia: 55bf2550-a549-11ee-bda1-4bfbe848971d, Szczegy: Allegro Paczkomaty InPost; Order value = 459.00 PLN - w ramach Uslugi Allegro Smart

 

Numer nadania: 647400836307410122074978, Kod: INP_P1_PACZKOMATY, Identyfikator zamowienia: db2d1120-a54e-11ee-9699-ad9dc553161c, Szczegy: Allegro Paczkomaty InPost; Order value = 439.00 PLN - w ramach Uslugi Allegro Smart

 

Numer nadania: 647400446360467126849155, Kod: INP_P1_PACZKOMATY, Identyfikator zamowienia: 509d7fe0-a049-11ee-8480-632edde38ac0, Szczegy: Allegro Paczkomaty InPost; Order value = 51.57 PLN - w ramach Uslugi Allegro Smart

 

Expected output:

 

55bf2550-a549-11ee-bda1-4bfbe848971d

db2d1120-a54e-11ee-9699-ad9dc553161c

509d7fe0-a049-11ee-8480-632edde38ac0

 

thank you

amitchandak
Super User
Super User

@PBI_newuser , In power query

new column Text.AfterDelimiter([Column], "/")

 

https://docs.microsoft.com/en-us/powerquery-m/text-afterdelimiter

 

in DAX

new column = right([Column], len([column]) - search("/",[Column],,0))

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.