+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ReduceDataOptions"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## ReduceDataOptions interface

Options for how to turn DataFrames into an array of display values

<b>Signature</b>

```typescript
export interface ReduceDataOptions 
```
<b>Import</b>

```typescript
import { ReduceDataOptions } from '@grafana/data';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [calcs](#calcs-property) | <code>string[]</code> | When !values, pick one value for the whole field |
|  [fields](#fields-property) | <code>string</code> | Which fields to show. By default this is only numeric fields |
|  [limit](#limit-property) | <code>number</code> | if showing all values limit |
|  [values](#values-property) | <code>boolean</code> |  |

### calcs property

When !values, pick one value for the whole field

<b>Signature</b>

```typescript
calcs: string[];
```

### fields property

Which fields to show. By default this is only numeric fields

<b>Signature</b>

```typescript
fields?: string;
```

### limit property

if showing all values limit

<b>Signature</b>

```typescript
limit?: number;
```

### values property

<b>Signature</b>

```typescript
values?: boolean;
```
