@DzakyS ,
The ODATA query looks fine.... Remove the parenthesis and everything is fine.
Is Department a lookup/choice column ?
In approvers action (initalize/set array variable) do you use references to previous action (get items actions name )? Like:
outputs('PreviousAction')['body/value']
Because I didn't see it in your formula.