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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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