Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

Error de conversión de fecha y hora

Hola

Tengo datos de encuesta que tienen un DateTime en formato de texto. Cuando cambié el tipo a Date/DateTime, produjo errores. ¿Alguien puede ayudarme a solucionar este problema?

Gracias por su ayuda.

DateTime.jpg

3 REPLIES 3
parry2k
Super User
Super User

@tedr28 la columna contiene información de zona horaria, primero cambie el tipo a fecha y hora y, a continuación, en el siguiente paso, cámbielo a fecha o fecha/hora en función de su necesidad.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

¡Gracias! Funcionó 🙂

amitchandak
Super User
Super User

@tedr28 , pruebe la función DateTimeZone.FromText

https://docs.microsoft.com/en-us/powerquery-m/datetimezone-fromtext

No he probado esto

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors