Hi @HaveF,
this is caused by the missing values in the total column, you need to select the Insert Missing as Null option so that the node does not skip rows with missing values:
The node description for this option explains this behavior in more detail:
If selected, missing values in the input table will be represented by null in the expression. It is your responsibility to check for null in this case (…). If unselected, a missing value in the relevant input cell will immediately produce a missing output cell (snippet not called).
@Gabriel Thanks for your help. I did not read the doc.
Although I suppose it is a strange and misleading behavior
Maybe the insert missing as null should be checked as default? Or some tips like snippet not called when meeting a missing value on the GUI would be great?