How to add the field 'serie' in the Script, so that the data in the table appears on the same line?

How to add the field 'serie' in the Script, so that the data in the table appears on the same line?

@Gleydson Henrique Alencar Santos

Good Morning,

I’m sending some data received from my device to a pivot table, but I didn’t understand how to add the ‘serie’ field to my code. My data are on separate lines, I believe it is for this reason.