# PivotDataSourceMeasureBuilder

## Methods

### Values(System.String\[])

Sets the hierarchical names of the measures to load. Use this overload for name-only entries; use the descriptor overload to configure a rendering type for each measure.

#### Parameters

##### values - `System.String[]`

The hierarchical measure names to load.

#### RETURNS

The [PivotDataSourceMeasureBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pivotdatasourcemeasurebuilder) object to support method chaining.

### Values(System.Action)

Configures each measure descriptor, including its hierarchical name and optional rendering type. The supported types are status and trend; when no type is set, the data cell template is used.

#### Parameters

##### addAction - System.Action<[PivotDataSourceMeasureDescriptorFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pivotdatasourcemeasuredescriptorfactory)>

Configures the measure descriptors to load.

#### RETURNS

The [PivotDataSourceMeasureBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pivotdatasourcemeasurebuilder) object to support method chaining.

### Axis(Kendo.Mvc.UI.PivotDataSourceMeasureAxis)

Sets whether measures are displayed on the rows or columns axis. The default is ; this setting applies when multiple measures are used.

#### Parameters

##### axis - [PivotDataSourceMeasureAxis](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/pivotdatasourcemeasureaxis)

The axis on which to display the measures.

#### RETURNS

The [PivotDataSourceMeasureBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pivotdatasourcemeasurebuilder) object to support method chaining.

### Add()

Adds a measure descriptor with a name and optional rendering type. The type can be status or trend to use the corresponding KPI template; when omitted, the data cell template is used.

#### RETURNS

The [PivotDataSourceMeasureBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pivotdatasourcemeasurebuilder) object to support method chaining.
