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

# ComputeRatioRule

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

Defines possible compute ratio sanitization rules.

**Signature:**

```typescript
export declare enum ComputeRatioRule 
```

## Enumeration Members

| Member | Value | Description |
| --- | --- | --- |
| ANY\_MEASURE | `2` | Compute ratio can be used on any measure |
| NEVER | `0` | Compute ratio must not be used in any measure |
| SINGLE\_MEASURE\_ONLY | `1` | Compute ratio can be used if there is just a single measure |
