Filter defined elements for dimension in subset