Hi @Sarmie and welcome back to the Quick Community!
I think to solve this problem, you will have to use a Level-Aware Calculation - Aggregation (LAC-A) function. With this approach, your formula will look something like this:
concat(
shift,
' has the highest downtime of ',
toString(round(sum({downtime_hours}, [{shift}]), 3)),
' hours'
)