[AI-225] & [AI-361] AttributeFilters (DONE) - pivotqueries