[tableVis] allow configuring the way metrics are calculated for the metric vis