# Index

The following attributes belong to the **index** property:

| Attribute Name      | Purpose                                                                                                                               | Values                                                                           |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| **data-field**      | Defines the field to be used as the **item-data** or **item-key**.                                                                    | Any column field or function                                                     |
| **data-formula**    | Defines an open formula to be used as the **item-data** or **item-key**.                                                              | Formula Make sure that **data-field** is not defined, if this attribute is used. |
| **index-separator** | Defines the separator text that is used between page numbers in the **item-pages** field in the index sub report. It defaults to ",". | String; default is comma (,).                                                    |
| **condensed-style** | Defines whether or not a dash (-) is used between continuous page numbers; for example, `4,5,6,7` display as `4-7`.                   | Boolean; default is false.                                                       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pba-report-designer/10.2-report-designer/attributes-reference-cp-prd/index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
