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

Extract date from Text and plot as date column in table

Hi

I've got some data in text format with a date range attached. I've just made a date column and want to populate it with the above date range.

Please assist me with this. Attached snap.

Saibalmet_0-1667347116250.png

 

I am using custom column to create date in power query with = #date( Year, Month, Day) to poulate entire colume with unique date.

Thanks

Saibal

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous ,

Do you want to convert [Booking ID] to date format, what is the conversion format between them.

I converted according to the previous "7 Digit Julian Date conversion", the date is not between 2022.7.1-2022.9.30.

Date.AddDays(#date(Number.RoundDown([Booking ID]/1000),1,1),Number.Mod([Booking ID],1000)-1)

vyangliumsft_0-1667356795685.png

 

Best Regards,

Liu Yang

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

Anonymous
Not applicable

Hi Liu Yang,

I want to exctract Date from header text "Booking Stay report Between: 1-Jul-22 to 30-Sep-22.to want to plot in two column start date and end date.

 

I am using custom column to create date in power query with = #date( Year, Month, Day) to poulate entire colume with unique date.

 

Thanks

Saibal

amitchandak
Super User
Super User

@Anonymous , Is the date not there in any of the rows below, it is there in the header?

 

Anonymous
Not applicable

Hi Amit,

Yes Date range mentioned in the header text. I want to exctract Date from header text "Booking Stay report Between: 1-Jul-22 to 30-Sep-22.to want to plot in two column start date and end date.

Thanks

Saibal

 

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.

Top Solution Authors