It is also possible to manage the deletion state of components by configuration in the assembly/
Create the different configurations
Then select all the parts (with the ctrl key) that you want to manage the deletion of or not, right-click and "Configure component", you will get a table with checkboxes to remove or not the co-posants by configuration.
To try in any case if you don't know. It also works for the dimensions for a room.