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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Gilberto_Dutra
New Member

Como reconhecer dados da coluna formato em horas (hh:mm:ss) no power bi? Alguem pode me ajudar?

Como fazer a totalização de valores da coluna "Duração de Tempo (hh:mm:ss)" formatado em horas na planilha original do excel como "Categoria hora" do tipo (37:30:55), cujo dado foi importado desta forma para o Power Bi, pois me parece que o Power bi não reconhece este formato em horas (hh:mm:ss) deste tipo tipo: 37:30:55?

Obs: Valores contidos nas linhas desta coluna, podem ter um dado de tempo de duração superior a 24hs!

Se puderem, me respondam via e-mail, ao qual vejo com mais frequência: portaladm@hotmail.com

Exemplo Duvida.jpg

1 ACCEPTED SOLUTION
adudani
Super User
Super User

Hi @Gilberto_Dutra ,

 

convert the date time into duration using:
(([Hours]*3600)+([Minutes]*60)+[Secs])/86400

then you can sum up the duration.

kindly refer to this article:
https://www.excelcampus.com/powerquery/convert-text-to-time-values-power-query/#:~:text=Power%20Quer....

 

 

Appreciate a thumbs up if this is helpful.

Kindly accept this as the solution if your query is resolved.

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

View solution in original post

1 REPLY 1
adudani
Super User
Super User

Hi @Gilberto_Dutra ,

 

convert the date time into duration using:
(([Hours]*3600)+([Minutes]*60)+[Secs])/86400

then you can sum up the duration.

kindly refer to this article:
https://www.excelcampus.com/powerquery/convert-text-to-time-values-power-query/#:~:text=Power%20Quer....

 

 

Appreciate a thumbs up if this is helpful.

Kindly accept this as the solution if your query is resolved.

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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