logo
search
SharePoint Document Issues

How to Filter SharePoint List Items by Category on Modern Pages

John WilsonJohn Wilson Sep 30, 2026 869 views

Question details

The user wants to display specific categories of items on separate modern SharePoint pages.

How to Filter SharePoint List Items by Category on a Modern Page
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Organizing and displaying categorized list items, such as videos, on specific modern SharePoint pages.
Observed behavior
The goal is to create distinct pages showing only list items belonging to a specific category using filtered views.
Before you start

Ensure you have the necessary edit permissions for the target SharePoint list and the modern pages where you intend to display the filtered items.

Solution 1Recommended

Create and Apply Filtered List Views on Modern Pages

Use this solution to create a custom view that only displays items matching a specific category, then embed that view onto a modern SharePoint page.

By configuring the 'Show items only when the following is true' setting within a list view, you can effectively segment your data by category and display it cleanly on modern site pages.

1
Create a Filtered View

Navigate to your SharePoint list, click the View options menu in the top right, and select 'Save view as' to create a new view named after your category (e.g., Category A).

2
Configure the Category Filter

Click the View options menu again and select 'Edit current view'. Scroll down to the Filter section, choose 'Show items only when the following is true', set the 'Category' column to be equal to your target value, and click OK to save.

3
Add the List Web Part

Navigate to the modern page where you want to display the list, click 'Edit' in the top right, click the '+' icon to add a new web part, and select the 'List' web part.

4
Select Your Target View

Click the pencil icon to edit the List web part properties. In the property pane, select the filtered view you just created from the View dropdown menu, apply the changes, and click 'Republish' to make the page live.

Create and Apply Filtered List Views on Modern Pages
View Switching on Modern Pages: Depending on the web part configuration, users might still be able to switch views using the command bar. To restrict this, you may need to hide the command bar in the web part properties.
Free Microsoft Office alternative

Looking for a seamless and lightweight Office suite?

While configuring SharePoint requires navigating the complex Microsoft ecosystem, WPS Office provides a free, streamlined, and lightweight alternative for your everyday document, spreadsheet, and presentation needs with excellent compatibility.

  1. 1. Download WPS Office: Visit the official WPS website and click the free download button.
  2. 2. Install the Software: Run the downloaded installer and follow the quick setup instructions.
  3. 3. Open Your Documents: Launch WPS Office and effortlessly open or edit any Microsoft Office format.
Free and lightweight office suite for everyday tasksHighly compatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar user interface requiring zero learning curveBuilt-in cloud storage integration for easy document collaboration
microsoft office alternative - wps office

Frequently Asked Questions

Why can users still change views on my modern SharePoint list page?

By default, the List web part on modern pages displays a command bar that allows users to switch between all available list views. Unless this command bar is hidden, users can freely navigate to unfiltered views.

How do I hide the command bar in a modern SharePoint list web part?

Edit your modern page and click the pencil icon to edit the List web part properties. In the right-hand panel, locate the toggle for 'Hide command bar' and turn it on, then republish your page.

Can I filter a SharePoint list by multiple categories simultaneously?

Yes. When editing your list view, you can use the 'AND' or 'OR' operators in the Filter section to include multiple categories, such as configuring the view to show items where Category equals 'A' OR Category equals 'B'.