cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills 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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors