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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Return string after occurence of specific text

Afternoon All

 

I wonder if any kind person could perhaps suggets the relevant DAX I would need to add a calculated column.

 

I would like the DAX to search a field for the occurence of the word Asset and where that word occurs I would then like the next string of text/numbers returned before the next space occurs (bearing in mind there is likely a space between the word asset and the string I would then like to return).

 

I hope that makes sense!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

CONTAINSSTRING has the same function LIKE in SQL, so you in indetify the index of the colonunm, the next steps is using the index for return string 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

CONTAINSSTRING has the same function LIKE in SQL, so you in indetify the index of the colonunm, the next steps is using the index for return string 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.