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

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

Reply
ajsingh
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 0Screenshot (152).png

3 ACCEPTED SOLUTIONS
v-qiuyu-msft
Community Support
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.

View solution in original post

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)

View solution in original post

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

 

 

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

View solution in original post

3 REPLIES 3
v-qiuyu-msft
Community Support
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.

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

 

 

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

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)

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.