Input:

Output (somma dei dati con type "selected"):

it doesn't work!!!