When fields are added to pivot table Values area, the default summary funtion is Sum or Count. Later, you can change to other functions.
www.contextures.com