BOM according to active configuration

Is it in any way possible to get the BOM to adapt to the active (last saved) document? I know i can do this to the drawing views, but haven't found an option for the BOM

SolidworksDrawings And Detailing