> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAttributeFilterWithSelection

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/execution/filter/index.ts

Attribute filter with element selection - either positive (IN) or negative (NOT IN).

**Signature:**

```typescript
export type IAttributeFilterWithSelection = IPositiveAttributeFilter | INegativeAttributeFilter;
```
**References:** [IPositiveAttributeFilter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipositiveattributefilter/index.md), [INegativeAttributeFilter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.inegativeattributefilter/index.md)

## Remarks

This type represents attribute filters that work with attribute elements selection, as opposed to arbitrary and match filters which do not contain elements.
