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

## getDimensionByName variable

### getDimensionByName variable

<b>Signature</b>

```typescript
getDimensionByName: (dimensions: KeyValue<Dimension<any>>, name: string) => Dimension<any>
```
<b>Import</b>

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