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

# IDashboardAttributeFilterConfig

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Extended attribute filter config

**Signature:**

```typescript
export interface IDashboardAttributeFilterConfig 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [displayAsLabel?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterconfig/index.md#idashboardattributefilterconfigdisplayaslabel) |  | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | **_(ALPHA)_** _(Optional)_ Display form to use to show elements of attribute filter in UI. Used only for attribute filters with elements selection. For text filters (arbitrary, match) it is not used. |
| [localIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterconfig/index.md#idashboardattributefilterconfiglocalidentifier) |  | string | **_(ALPHA)_** Local identifier of the attribute filter to configure |
| [mode?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterconfig/index.md#idashboardattributefilterconfigmode) |  | [DashboardAttributeFilterConfigMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboardattributefilterconfigmode/index.md) | **_(ALPHA)_** _(Optional)_ Control visibility mode of the attribute filter |
| [selectionType?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterconfig/index.md#idashboardattributefilterconfigselectiontype) |  | [DashboardAttributeFilterSelectionType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboardattributefilterselectiontype/index.md) | **_(ALPHA)_** _(Optional)_ Controls which filter presentation modes are available to the user in Dashboard View mode. - "list" — only elements/list selection - "text" — only text-based filtering (arbitrary/match) - "listOrText" — both modes available, user can switch When not set, the default is derived from the current filter type: elements filters default to "list", text filters default to "text". |

## Property details

### IDashboardAttributeFilterConfig.displayAsLabel

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Display form to use to show elements of attribute filter in UI. Used only for attribute filters with elements selection. For text filters (arbitrary, match) it is not used.

**Signature:**

```typescript
displayAsLabel?: ObjRef;
```

### IDashboardAttributeFilterConfig.localIdentifier

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Local identifier of the attribute filter to configure

**Signature:**

```typescript
localIdentifier: string;
```

### IDashboardAttributeFilterConfig.mode

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Control visibility mode of the attribute filter

**Signature:**

```typescript
mode?: DashboardAttributeFilterConfigMode;
```

### IDashboardAttributeFilterConfig.selectionType

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Controls which filter presentation modes are available to the user in Dashboard View mode. - "list" — only elements/list selection - "text" — only text-based filtering (arbitrary/match) - "listOrText" — both modes available, user can switch

When not set, the default is derived from the current filter type: elements filters default to "list", text filters default to "text".

**Signature:**

```typescript
selectionType?: DashboardAttributeFilterSelectionType;
```
