dt_aggregate_total
if (dt_aggregate_total(dtp, B_FALSE) != 0)
(void) dt_aggregate_total(dtp, B_TRUE);