Status Color Filter
The Status Color Filter in the pop-up menu allows you to choose which parts to display in the BOM based on their assigned status.
You can choose to include/exclude all states or just some of them.
For how to activate the display of the Color States in the TreeView see here BOM Settings Dialog
For how to assign color status to elements, see here, for how to use the status in the BOM, see Config BOM, and for how to search for elements based on their status, see here.