Implement data filter by attributes