
## SetRankBy function

Specifies the index of data field for AutoShow ranking.Represents auto show field index. -1 means PivotField itself.It should be the index of the data fields.

```go

func (instance *PivotFieldTop10AutoShowSettings) SetRankBy(value int32)  error

```

## Remarks


## See Also

* Class [PivotFieldTop10AutoShowSettings](../)
* Library [Aspose.Cells for Go](../../)
