I would like to sum this resulting column up and get an INT for example.
CASE WHEN(
CALC_THROUGHPUT(FIRST_OCCURRENCEN'Sendung elektronisch angekündigt']
TO LAST_OCCURRENCER'In der Region des Empfängers angekommen'],
REMAP_TIMESTAMPS("Amzn_activity_table_xlsx_Tabelle1"."TIMESTAMP", MINUTES))
>
GLOBAL(
AVG(
CALC_THROUGHPUT(FIRST_OCCURRENCES'Sendung elektronisch angekündigt']
TO LAST_OCCURRENCE 'In der Region des Empfängers angekommen'],
REMAP_TIMESTAMPS("Amzn_activity_table_xlsx_Tabelle1"."TIMESTAMP", MINUTES))
)
*1.2)
) THEN 1 ELSE 0 END