# PivotTableFieldCollapseStateTargetProperty

The target of a pivot table field collapse state.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const pivotTableFieldCollapseStateTargetProperty: quicksight.CfnAnalysis.PivotTableFieldCollapseStateTargetProperty = {
  fieldDataPathValues: [{
    dataPathType: {
      pivotTableDataPathType: 'pivotTableDataPathType',
    },
    fieldId: 'fieldId',
    fieldValue: 'fieldValue',
  }],
  fieldId: 'fieldId',
};
```

## Properties

- `fieldDataPathValues`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DataPathValueProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DataPathValueProperty.html)[] — The data path of the pivot table's header.

  Used to set the collapse state.

- `fieldId`: string — The field ID of the pivot table that the collapse state needs to be set to.
