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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Extracting text after right-most delimeter

Hi!

I'm trying to extract text after the last "." in a string.

For example:
123.234.123 returns "123"

abc.44564563.ade returns "ade"

hsjs.92.345 returns "345"

For the purposes of my data, I need it to be a column (NOT made in power query!)

 

Any help appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi mk720x,

 

If you use the following formula, you should be able to accomplish what your looking for:

 
 
NewColumn = SUBSTITUTE(RIGHT('TableName'[ColumnWithFullString], SEARCH(".", 'TableName'[ColumnWithFullString])),".","")
 
Here is the screenshot of my example:
Extracting text after right most delimeter.PNG
 
Hope this helps!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi mk720x,

 

If you use the following formula, you should be able to accomplish what your looking for:

 
 
NewColumn = SUBSTITUTE(RIGHT('TableName'[ColumnWithFullString], SEARCH(".", 'TableName'[ColumnWithFullString])),".","")
 
Here is the screenshot of my example:
Extracting text after right most delimeter.PNG
 
Hope this helps!
amitchandak
Super User
Super User

Use the search and right functions. Some functions to refer

https://docs.microsoft.com/en-us/dax/search-function-dax

https://docs.microsoft.com/en-us/dax/right-function-dax

https://docs.microsoft.com/en-us/dax/substitute-function-dax

https://docs.microsoft.com/en-us/dax/mid-function-dax

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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