BOM to only show unhidden components

Is there a way to set up a drawing BOM to only list unhidden components?  In other words, a BOM that will only list visible components in a given display state?

SolidworksDrawings And Detailing