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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to change text to date format

Hi guys,

 

Power BI neewbie here ... and I am in need of some help. I have a dataset with a "month" column which has short month names (jan, feb, mar, apr, may etc...) ONLY as values. These are in Text format and I need to change them to date format. 

 

What is the best way to get this done? I can't seem to just change the type to date because it will give me errors...

 

Thx in advance for all help!! 

1 ACCEPTED SOLUTION

can you guess the year ?

month_as_date.png

I've created a calculated column which has a year hard coded, it combines the year with the text month name and transforms them into a date

Every time I answer a question I learn something
I'm a personal Power BI trainer 





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


View solution in original post

4 REPLIES 4
kentyler
Solution Sage
Solution Sage

Do you also have a column that tells what year you are in ?





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Anonymous
Not applicable

No unfortunately not.. I literally only have this column to work with...

can you guess the year ?

month_as_date.png

I've created a calculated column which has a year hard coded, it combines the year with the text month name and transforms them into a date

Every time I answer a question I learn something
I'm a personal Power BI trainer 





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Anonymous
Not applicable

Thx Ken,

This solution indeed works, however I can't guess the year... This dataset runs across two year periods... so hardcoding the year isn't an option.

 

I am however going to keep this in mind and see if I can tweak it to work 🙂

 

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.