How is your data actually structured? Are you using a dimension with one measure or are you using measure values? A Tableau Packaged Workbook would be excellent.
Depending on the structure, I'd look at creating a new Time dimension along the lines of;
If [Category] = 'Total' then DATETRUNC('hour',[Time]) else [Time] end