I’m going to use the weighted average in the Pivot:
A: Note
B: Weight
It is to multiply the column A * B, to that result it is added.
After having that sum it is divided by the sum (B).
So when using functions in the pivot I did not find it to send two variables.
{dataField: ‘pmate’, ‘function’: ‘prom_ponderado’, text: ‘Mathematics’,