Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Alihan_02
Contributor III
Contributor III

How to Convert Minutes in Hours

afteraftermy formula to change Sum(durationminutes) to my new field: Zeit Stunde:Minutenmy formula to change Sum(durationminutes) to my new field: Zeit Stunde:MinutenScreenshot 2024-03-26 094051.pngas you can see it did not change like i wanted, the original field is on the right and on the left the new one. the results in my new element are my missing. Can someone tell me what i did wrong?

Labels (3)
2 Solutions

Accepted Solutions
Fabiano_Martino_Intelco
Partner - Creator
Partner - Creator

Hi @Alihan_02 

since in the table you are using ad aggregation function, Sum(durationMinutes), I suggest you also use it in the formula.

Interval(Sum(durationMinutes)/24/60, 'hh:mm')

Regards

Fabiano

View solution in original post

Alihan_02
Contributor III
Contributor III
Author

2 Replies
Fabiano_Martino_Intelco
Partner - Creator
Partner - Creator

Hi @Alihan_02 

since in the table you are using ad aggregation function, Sum(durationMinutes), I suggest you also use it in the formula.

Interval(Sum(durationMinutes)/24/60, 'hh:mm')

Regards

Fabiano

Alihan_02
Contributor III
Contributor III
Author

Danke