Forum Discussion
Doknights
3 years agoFrequent Visitor
Time (minutes and seconds to seconds)
Hello All, I am attempting to build a call centre dashboard and I need some data in seconds in Power Query before I do my measures in Power BI desktop. The minutes and seconds are in one coloum ...
- Anonymous3 years ago
Hi Doknights ,
Try the following codes:
= Time.Second([Total Talk])+Time.Minute([Total Talk])*60+Time.Hour([Total Talk])*60*60It takes hours and minutes and converts them into seconds, adding the original seconds.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Doknights
3 years agoFrequent Visitor
Hey, Thanks but when I convert it to a decimal it is not working. Any way I can convert it to seconds in the current format?
Anonymous
3 years agoNot applicable
Hi Doknights ,
Try the following codes:
= Time.Second([Total Talk])+Time.Minute([Total Talk])*60+Time.Hour([Total Talk])*60*60
It takes hours and minutes and converts them into seconds, adding the original seconds.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.