cancel
Showing results for 
Search instead for 
Did you mean: 
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!


I’ll be speaking at #MySummitNA this year.
Check out all the sessions, including mine here: https://hubs.ly/H0SXmgH0
I hope to see you in Houston October 12-15 #MySummitNA

Proud to be a Super User helping 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!


I’ll be speaking at #MySummitNA this year.
Check out all the sessions, including mine here: https://hubs.ly/H0SXmgH0
I hope to see you in Houston October 12-15 #MySummitNA

Proud to be a Super User helping give back to the community!
Thank You!




View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!