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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Help to extract the date value from a series of texts.

Hello all,

 

I have a column "Reason for turn over" which values such as:

Termed on 10/21 due to attendance.

Termed on 10/23 due to Behavior.

and so on.

 

I need to find a calculated column to extract the date values(10/21 & 10/23) from the above values.

 

Thanks for your help!

1 ACCEPTED SOLUTION

Assuming the new file is the same format it will, yes.

View solution in original post

4 REPLIES 4
jdbuchanan71
Super User
Super User

Hello @Anonymous 

You can use the query editor and make a copy of your column, split it by non-digit to digit then the next column by digit to non-digit then combine the two columns and delete the extras.

GetDate.jpg

I have attached my sample .pbix for you to look at.

Anonymous
Not applicable

Thanks for your reply and it works.

 

I'm using Folder option under the Get data to import data into the report.

I'm looking to paste a new file in that folder and just Refresh the power bi report.

And each file has a reason column with date values.

 

Will your steps automatically separate the date values each time I paste a new file in that folder?

 

Thanks,

Anand

 

Assuming the new file is the same format it will, yes.

parry2k
Super User
Super User

@Anonymous you can easily achieve this in Power Query using text between delimiters

 

 go to advanced editor and follow these instructions

 

 


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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