Forum Discussion
Anonymous
6 years agoNot applicable
how to sum duration?
I calculated the duration, then how to sum it, get total working hour? what data type the Duration column should be? thank you
2 Replies
- amitchandak
Super User
Anonymous , check if this can help
https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
- AnonymousNot applicable
Hi Anonymous ,
What's the format of the duration column? like hh.ms or hh:mm:ss? If the format is first one, then the data type of the duration column should be Decimal number. Otherwise, it should be Text type. You can refer the following documentions to get the sum of duration:
Power BI DATEDIFF only working days, hours and so on…
Best Regards
Rena