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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
afkl99
Frequent Visitor

Text to custom date

Hi, 

I have a text column in the form: MMM.YY (ie Jun.2017, Jul.2017...)

 

And Im trying to convert it to a date in the form MMM YY (preferably as June 2017)

Any ideas? 

Thanks! 

1 ACCEPTED SOLUTION
fhill
Resident Rockstar
Resident Rockstar

I just entered 'Jun.2017' and 'Jul.2017' into Query Editor, and I was able to right click my column and change type to Date.  Now that's it's a date, I can change the Date Formatting under Modeling to MMMM yyyy.

 

If this doesn't work on your end, can we get screen shots of your data?

FOrrest




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




View solution in original post

2 REPLIES 2
fhill
Resident Rockstar
Resident Rockstar

I just entered 'Jun.2017' and 'Jul.2017' into Query Editor, and I was able to right click my column and change type to Date.  Now that's it's a date, I can change the Date Formatting under Modeling to MMMM yyyy.

 

If this doesn't work on your end, can we get screen shots of your data?

FOrrest




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




afkl99
Frequent Visitor

Thanks for the quick reply! 

 

I used an R script to import my data so I just changed my script and it now works perfectly 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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