I know that classic experience has this option where you can see the most viewed items inside a document library.

What is the equivalent of this feature inside modern experience document library?

We have thousands of files, and only a few of them are frequently used. Views and filtering are used but don’t really solve this problem.

Is there a way so the default of Document Library shows only the most used items and not thousands of other items that are rarely used?

Keeping in mind that I can’t know which items are mostly used due to the fact that our Sharepoint online has a of of users

1 Answer 1


You can add a Highlighted Content Webpart to a modern page. with these settings:


  • Source: this site
  • Type: Documents
  • Document Type: any

Filter and sort

  • Filter: leave blank
  • Sort by: Most viewed

enter image description here

If you need to target specific library only, you can use these settings:

  • Custom query


  • Source: This site
  • Query text (KQL): ContentTypeId:0x0101* path:"https://contoso.sharepoint.com/Shared Documents/*"
  • Sort by: Most viewed

enter image description here

  • I don't see anywhere this "•Custom query"
    – Ed1995
    Aug 29, 2019 at 7:29
  • Chances are your tenant doesn't have this update rolled out yet. Maybe you can check it in a week or so. Aug 29, 2019 at 12:09

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.