---
title: "Aspose::Cells::Pivot::PivotShowValuesSetting::GetBaseItemIndex method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.pivot/pivotshowvaluessetting/getbaseitemindex/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Pivot::PivotShowValuesSetting::GetBaseItemIndex method. Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use in C++."
---

## PivotShowValuesSetting::GetBaseItemIndex method


Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use.

```cpp
int32_t Aspose::Cells::Pivot::PivotShowValuesSetting::GetBaseItemIndex()
```

## Remarks


PivotShowValuesSetting.PreviousPivotItem (-1) for the preceding item, PivotShowValuesSetting.NextPivotItem (-2) for the succeeding item; non‑negative values denote the ordinal index of a specific pivot item. 
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotShowValuesSetting](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
