Maximum and Average on FIT

Yesterday on conference were talking about a sample to get a maximum and average for the heart rate sample, where can i find it or can someone tell how to do it please??