Only Hierarchy fields that are located in a table are supported in the widgets group by.
Only the field itself can be used to group by
If you want to remove some levels on the Hierarchy field from the view, you will need to use the filters in order to do so.