cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Frequent Visitor

## how to do sum of time column in power query

hi ,

i have one some data in seconds but have to perform sum on it and show it in hours and minutes , but the problem is after 24 hours it it again stating from 0

3 ACCEPTED SOLUTIONS
Community Support

Hi @ajsingh,

You can refer to @MarcelBeug's reply here

= #time(0,0,0)+ #duration(0,0,0,List.Sum(#"Changed Type"[Column1]))

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Champion

Possibly a better reference is here, where I explain that time values >= 24:00 are actually durations., not values of type time.

In the last post in the link I present an alternattive for durations >= 24:00.

Specializing in Power Query Formula Language (M)
Frequent Visitor

#duration(0,0,0,[column_name])

this is working fine for my case, thanks a lot for the help

3 REPLIES 3
Community Support

Hi @ajsingh,

You can refer to @MarcelBeug's reply here

= #time(0,0,0)+ #duration(0,0,0,List.Sum(#"Changed Type"[Column1]))

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

#duration(0,0,0,[column_name])

this is working fine for my case, thanks a lot for the help

Community Champion

Possibly a better reference is here, where I explain that time values >= 24:00 are actually durations., not values of type time.

In the last post in the link I present an alternattive for durations >= 24:00.

Specializing in Power Query Formula Language (M)

Announcements

#### New forum boards available in Real-Time Intelligence.

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

#### Power BI Monthly Update - May 2024

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

#### Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors