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
nagoor
Helper III
Helper III

Delimiter the text after the specific word in random place

Hello, Techie...

 

I want to delimiter the text after the specific word and add a new column to it. 

 

Example, 

From the below 2 examples I want to delimiter the text after "ThresholdName=" and add a new column with that. I don't know the exact place where the "ThresholdName=" will come so I can't give the range. 

 

Apple | ObjectName="Dural/Function Name=23_Dural2_AB, Local ID=2, Sin Name=23_Dural2_AB_JH_2, Function ID=245, Sin FDD TDD =SIN_FDD", ThresholdName=Drop Me | 202006

 

Apple | ObjectName="B2/Label=21_Dampier_EW_UYH_3, ID=23", ThresholdName=Pick Me | B2 | 

 

Give me the best solution to fix this problem.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @nagoor

 

What I would do in the Query Editor is to Duplicate your Source column.

Then Split the Column by delimeter and then select Custom as shown below

 

Email Pic.png

Which would then result in almost the data you need, but with the '| 202006" at the end

 

After which you split it again, this time by the other delimeter as shown below.

Email Pic.png

Which finally results in the following column.

 

Email Pic.png

And another alternative is to try the Columns from Examples, which could also possibly give you the result that you want, but always double check this as sometimes it can guess what you want incorrectly.

 

Email Pic.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @nagoor

 

What I would do in the Query Editor is to Duplicate your Source column.

Then Split the Column by delimeter and then select Custom as shown below

 

Email Pic.png

Which would then result in almost the data you need, but with the '| 202006" at the end

 

After which you split it again, this time by the other delimeter as shown below.

Email Pic.png

Which finally results in the following column.

 

Email Pic.png

And another alternative is to try the Columns from Examples, which could also possibly give you the result that you want, but always double check this as sometimes it can guess what you want incorrectly.

 

Email Pic.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks @GilbertQ it's Solved 

Awesome!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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