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
jpt1228
Responsive Resident
Responsive Resident

Extract Date Cell from Each File to Create Date Column

Hello, I am trying to figure out how to extract the date which resides in a column with a sales quantity. Each month I receive a file that is in the same format with the exception that the date column changes to the most recent year and month. There is an example to the lower left. I need to transform the date into a date column. When I combine the files the first date carries down through the next dates so it looks like I only have 1 month of data. I could do a work around to add the date in the file name and then extract the date into a date column, but that involves me renaming the file each time I import.

 

I receive the data like the bottom Left and want it to look like bottom right any suggestions?

 

         
 ItemQty2018 - 4 ItemQtyDate 
 A22 A22018 - 4 
 B11 B12018 - 4 
 C44 C42018 - 4 
 ItemQty2018 - 5 A32018 - 5 
 A33 B22018 - 5 
 B22 C12018 - 5 
 C11     
         
1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @jpt1228,

 

Please check out the demo in the attachment. 

Extract_Date_Cell_from_Each_File_to_Create_Date_Column

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi @jpt1228,

 

Please check out the demo in the attachment. 

Extract_Date_Cell_from_Each_File_to_Create_Date_Column

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.