Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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) Desired Output
Dec-19 12/31/19
Jan-20 1/31/20
Feb-20 2/28/20
Solved! Go to Solution.
@asebes and to add to @mahoneypat 's reponse, here is a DAX calculated column version:
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
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])
@asebes and to add to @mahoneypat 's reponse, here is a DAX calculated column version:
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
You can add a custom column in the query editor with this formula to get your desired result.
= Date.EndOfMonth(Date.From([Current Format]))
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |