I have a document library and I have multiple folders and sub folders. I have added many documents inside sub folder and I have field in that library called PO Number and I want to group those documents based on this PO Number. But when I try to do that top level folders are also getting grouped by this field. How can I mak it apply only to he documents inside sub folders. when I group by the documents it shouldn't apply to the top folders. is there a way to achieve this. please help


  • Not out of the box. You'll need to develop something custom.
    – jpollar
    Commented Jan 3, 2017 at 22:10

1 Answer 1


I agree with @jpollar, however depending on your solution you could create a view that filters to that particular folder, flatens the list, and groups by PO Number, that way even though technically it will be grouping the folders as well it wouldn't matter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.