Ch 830: Ability to split reports by goal and by metric

The use of rand here could use an explanation.