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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Suma el tiempo total por grupo

Hola, chicos

¿Podría mostrarme cómo resumir el tiempo total por nombre? (es decir: el tiempo total de mayo Asher debe ser 6h35m)

ntruong1994_0-1680754744509.png

Gracias por su ayuda

Saludos

NT

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@ntruong1994 ,

En tu caso probablemente habría hecho algo como esto:

tackytechtom_0-1680917825383.png

Y aquí el código M para la nueva columna:

Number.FromText ( 
Text.BeforeDelimiter([duration],"h")
) * 60
+ Number.FromText (
Text.BetweenDelimiters([duration], "h", "m" )
)

Usé una variación de esta publicación de blog que también tiene un poco más de explicaciones:
https://www.tackytech.blog/how-to-swiftly-take-over-power-query/#11_Calculate_duration_from_time_col...

Avísame si esto ayuda 🙂

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

Syndicate_Admin
Administrator
Administrator

@ntruong1994 ,

Sugeriría convertir la columna de tiempo en un formato que facilite a Power BI calcular una suma sobre ellos, es decir, minutos.

Avísame si esto ayuda 🙂

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors