Forum Discussion
asebes
5 years agoFrequent Visitor
Change MMM-YY Format to a Date Format
Seems like this should be easy but can't quite get it. Have text in the following format that needs to be converted to a date format (last day of the month). Thank you! Current Format (MMM-YY) ...
- 5 years ago
asebes and to add to mahoneypat 's reponse, here is a DAX calculated column version:
EOM Date = EOMONTH("1-"&'Table'[Date Text],0)
ac-pbi
3 years agoFrequent Visitor
I wanted to do this in Power Query instead of DAX and creating a Custom Column with this formula worked for me (credit to ChatGPT for the assist):
=Date.FromText("01-"&[YourTextColumnHere])