Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola Equipo,
Necesita ayuda para convertir el formato hh:mm:ss en el editor de consultas para la columna de duración del ciclo (estos valores se consideran segundos), Esta columna está en formato de texto
Solved! Go to Solution.
Hola @gshastri ,
Una manera fácil de resolver eso:
Duration.From([Orderid] / 86400)
Por favor, inténtelo.
Aiolos Zhao
Proud to be a Super User!
Hola @gshastri ,
Una manera fácil de resolver eso:
Duration.From([Orderid] / 86400)
Por favor, inténtelo.
Aiolos Zhao
Proud to be a Super User!
@gshastri, prueba así
Duration(Number.IntegerDivide(Number.FromText([Cycle:duration]),86400) ,Number.IntegerDivide(Number.Mod(Number.FromText([Cycle:duration]),86400),3600),
Number.IntegerDivide(Number.Mod(Number.Mod(Number.FromText([Cycle:duration]),86400),3600),60),
Number.Mod(Number.Mod(Number.Mod(Number.FromText([Cycle:duration]),86400),3600),60)
)
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@gshastri Bueno, si fuera DAX podrías hacerlo de esta manera: https://community.powerbi.com/t5/Quick-Measures-Gallery/Seconds-2-HHMMSS/m-p/195615#M18
Sin embargo, debería ser capaz de seguir una técnica similar en Power Query.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |