The expression turns red and the result of the calculation is not displayed on the edit page but if we go to the analysis tab of the application then, as we can see on the screenshot here, the result is correctly displayed :
I believe the issue is trying to use the SUM operation with an interval data type. Could you click on “modifier”, select “Expression” under “Aggregation Functions” (Fonctions d’Agregation), and use something like SUM(INTERVAL_TO_SECONDS(end - start)).