Grid: Generic filters Vs column level filters

I had a case where there is a view and on that user can apply any filter. Once filter is applied > it affects all the tabs present in that view.

Is this approach right. Check this image enter image description here

Or should it be the reverse? Where filter has to be applied to each tab separately check this image.

enter image description here