DEB-4878 provide an option for dataview client to compare total in a custom way