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
How does one convert -for example- "September 16, 2019 8:00 AM" into "9/16/2019" without decomposing the text string into relevant constituent parts (months, days of month, year) then re-constituting and formatting?
Thanks for your input!
IG
Solved! Go to Solution.
Hi @igaca ,
Since the text has time inside, first conver it to DateTime and the extract the Date from this DateTime, for example if I you add this Custom Column:
Date.From(DateTime.From([Text Column]))
I'm extracting DateTime From text, and after that I'm extracting Date from this result in one line, this will return this:
Any question, just let me know.
Regards,
Gian Carlo Poggi
Hi @igaca ,
Since the text has time inside, first conver it to DateTime and the extract the Date from this DateTime, for example if I you add this Custom Column:
Date.From(DateTime.From([Text Column]))
I'm extracting DateTime From text, and after that I'm extracting Date from this result in one line, this will return this:
Any question, just let me know.
Regards,
Gian Carlo Poggi
Thank you, sir.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!