cancel
Showing results for 
Search instead for 
Did you mean: 
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))



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

1 REPLY 1
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))



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors