
https://sharepointmaven.com/how-to-add-custom-metadata-columns-to-the-filters-pane-in-sharepoint-online/
Refer to step 5 of this webpage.
I'm not sure if it's already an existing feature, but I can't find it on google search.
Can add the [Pin Columns to the Filters Pane] function?