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

# IEnabledGranularity

- 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/base/granularityRegistry.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).
> 

A granularity enabled on a custom fiscal calendar (mirrors the calendar's `enabledGranularities`).

**Signature:**

```typescript
export interface IEnabledGranularity 
```

## Remarks

Placeholder for the custom fiscal calendar work; consumed by the `custom` branch of [getGranularities()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.getgranularities/index.md).

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [granularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ienabledgranularity/index.md#ienabledgranularitygranularity) |  | [DateAttributeGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dateattributegranularity/index.md) | **_(ALPHA)_** |
| [order?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ienabledgranularity/index.md#ienabledgranularityorder) |  | number | **_(ALPHA)_** _(Optional)_ Calendar-defined drill-down order; falls back to the registry `order` when omitted. |
| [prefix?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ienabledgranularity/index.md#ienabledgranularityprefix) |  | string | **_(ALPHA)_** _(Optional)_ Localizable label prefix defined on the calendar (e.g. "FY", "FP"). |

## Property details

### IEnabledGranularity.granularity

> **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).
> 

**Signature:**

```typescript
granularity: DateAttributeGranularity;
```

### IEnabledGranularity.order

> **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).
> 

Calendar-defined drill-down order; falls back to the registry `order` when omitted.

**Signature:**

```typescript
order?: number;
```

### IEnabledGranularity.prefix

> **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).
> 

Localizable label prefix defined on the calendar (e.g. "FY", "FP").

**Signature:**

```typescript
prefix?: string;
```
