If you select "All departments" for the statement (rather than specific departments individually), and then select "Skip inactive departments", then Departments marked as Inactive in Ledger will not be printed.
_________________________
Andrew Bates