You could also put a formula on the Department's NewPageAfter that looks something like this:
Not OnLastRecord and ({table.branch_field} = next({table.branch_field})
You would also then put a NewPageAfter on the Branch footer with Not OnLastRecord in the formula.
The "Not OnLastRecord" prevents a blank page from appearing at the end of the report.
-Dell