# SortbyYValue Property

## Overloads

| [SortbyYValue](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHyperCubeDef.SortbyYValue.htm#Qlik_Engine_IHyperCubeDef_SortbyYValue) |  | To enable the sorting by ascending or descending order in the values of a measure.<br><br>This property applies to pivot tables and stacked pivot tables.<br><br>In the case of a pivot table, the measure or pseudo dimension should be defined as a top dimension. The sorting is restricted to the values of the first measure in a pivot table.<br><br>JSON property name: qSortbyYValue |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHyperCubeDef.SortbyYValue.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHyperCubeDef.SortbyYValue.htm)

## SortbyYValue

To enable the sorting by ascending or descending order in the values of a measure.

This property applies to pivot tables and stacked pivot tables.

In the case of a pivot table, the measure or pseudo dimension should be defined as a top dimension. The sorting is restricted to the values of the first measure in a pivot table.

JSON property name: qSortbyYValue

### Declaration

```

          char SortbyYValue { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.Char |  |