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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Change text data type to date data type

Hi,

I have fiscal Period column and I want to convert in to “Date” format.When  tried to change data type to “date” format It has created very weired number.

I do not have any DATE column in my dataset.

Thanks

community.jpg

1 ACCEPTED SOLUTION

In Power Query, change the column type to Text.

Add a column like this

Text.Combine({[Fiscal Period], "01"})

That just adds 01 to the end of the data.

Change the new column type to Date

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous 

 

What is the error you are getting?

 

You can try this after converting it to date:

select the format of your date from this dropdown:

 

Capture9.PNG

 

let me know if this works.

 

Thanks,

Tejaswi

Anonymous
Not applicable

Hi,

When i have chaged Data Type to Date,I am getting below weird numbers,

community12.jpg

In Power Query, change the column type to Text.

Add a column like this

Text.Combine({[Fiscal Period], "01"})

That just adds 01 to the end of the data.

Change the new column type to Date

Anonymous
Not applicable

Thank you so much ...

Anonymous
Not applicable

Hi,

One more information i want to convert it to YYYYMM.Thanks

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.

Top Solution Authors