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

## createDimension variable

### createDimension variable

<b>Signature</b>

```typescript
createDimension: (name: string, columns: Field[]) => Dimension
```
<b>Import</b>

```typescript
import { createDimension } from '@grafana/data';
```
