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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Ashish_Mathur
Super User
Super User

Extract data based on a pattern

Hi,

From a running text entry in a column, i would like to extract a pattern of XY/Z where X, Y and Z will always be numbers.  In cells where there is no XY/Z pattern the result be blank/null.  Please refer to data and the expected result in the attachment.

I am looking for a Power Query solution.

Thank you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

Hi @Ashish_Mathur 

I created a function to accomplish the task. I found one line that has two results so I combined at the end. Please check the attached Excel file.

Fowmy_0-1621932961267.png

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

Hi @Ashish_Mathur 

I created a function to accomplish the task. I found one line that has two results so I combined at the end. Please check the attached Excel file.

Fowmy_0-1621932961267.png

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thank you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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