Add average values for the selected items and the selected time periods in 'Compare' feature