We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 6 | |
| 5 |