Filter data based on severity