Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Buenas tardes a todos.
Estoy en mis inicios con esta gran herramienta y actualmente tengo un gran problema, he intentado algunas soluciones siguiendo videos tutoriales pero aun no logro dar con ello.
De ante mano está deciros que muchas gracias por leerme y por el apoyo que podais brindarme.
El problema es el siguiente:
Tengo 2 columnas de Tiempo, donde me indica fecha yhora, necesito extraer la duración entre ambas tablas.
Ejemplo:
Necesito obtener el tiempo que ha pasado desde el Inicio hasta el Fin.
Por una parte, no he podido hacer que me haga el calculo cuando es de 1 dia para otro. PRIMER PROBLEMA.
Por otra parte, lo que si he realizado es desgranar cada columna, separando la fecha de la hora, por ese lado va todo bien.
Me he dado cuenta que la hora me la muestra de la siguiente manera
, he intentado transformar el dato, etc, para eliminar el decimal en los segundos y que muestre el redondeo al alza de los segundo.
En mi caso y creo que me ayudaria mucho a obtener lo que deseo, seria unicamente hh:mm:ss sin esos decimales.
He intentado crear 3 columnas a partir del tiempo: hora / minuto / segundo ( llevando el valos de los segundos a la alza), perfecto, lo que queria.
El problema lo tengo, cuando nuevamente quiero unificar estas 3 columnas.
Intento crear una nueva columna personalizada, con el
obtengo la tabla pero me muestra el DIA
ya que se lo indico en la formula, pero al querer transformar nuevamente esta a DURACION me sigue mostrando lo mismo.
Perdonar si me he liado un poco, estoy hecho un lio.
Lo que necesito es obtener el tiempo de duracion entre una fecha y otra.
Muchas gracias por vuestra ayuda.
Un abrazo.
Solved! Go to Solution.
Yes, this is how the duration data type is presented: d.hh:mm:ss.
What do you want to do with this output? If you want to be able to make calculations with it later, it will need to either be in a Duration or Decimal data type, as these are both based on numbers in the background. If you want to display, for example, a duration of 2.00:18:55 as 48:18:55 then this will have to be created as Text data type, which you will no longer be able to make calculations with later.
Pete
Proud to be a Datanaut!
Buen dia,
Me gustaría externar mi problema, llevo 5 dias trabajando en un reporte de power bi y en este momento se me acaba de cerrar el programa y no lo puedo abrir segun este esta en formato de powerQuery, me dice que power bi no lo puede abrir y que necesita otro programa.
Adjunto una imagen.
Hi @Rodloeloco ,
To get the time between in Duration format, you can add this as a new custom column:
Duration.TotalMinutes([EndTime] - [StartTime]) / 1440
You can then convert this column to Duration data type.
Pete
Proud to be a Datanaut!
Hola @BA_Pete , gracias por responder.
He realizado lo que me dices, sin embargo me muestra aun el "DIA", y los segundos con los decimales
Lo seguire intentando.
Muchas gracias por la ayuda.
Yes, this is how the duration data type is presented: d.hh:mm:ss.
What do you want to do with this output? If you want to be able to make calculations with it later, it will need to either be in a Duration or Decimal data type, as these are both based on numbers in the background. If you want to display, for example, a duration of 2.00:18:55 as 48:18:55 then this will have to be created as Text data type, which you will no longer be able to make calculations with later.
Pete
Proud to be a Datanaut!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
39 | |
21 | |
20 | |
13 | |
13 |