i made a table like below to calculate the différence (Ecart) in km like that (firstsortedvalue (Kilométrage, -Date2)-firstsortedvalue (Kilométrage, Date2)
i would like to aggregate the Ecart for a special dimension but i can achieve this . (sum of the "Ecart" by "affectation")
for example i would find the total of km like that