# GetHyperCubeData method

Retrieves the calculated data for a chart, a table, or a scatter plot. It is possible to retrieve specific pages of data.

Information note

This method works for a hypercube in DATA\_MODE\_STRAIGHT.

A data set is returned.

### Limitations on the number of cells

The maximum for the combined total number of cells across all pages is:

* 10,000 cells. If this limit is exceeded, a calc-pages-too-large error with code 7009 is returned.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qPath | Path to the definition of the object to be selected.<br>For example, */qHyperCubeDef* . | Yes | String |
| qPages | Array of pages to retrieve. | Yes | Array of [NxPage](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxpage.htm) |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qDataPages | A data set | Array of [NxDataPage](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxdatapage.htm) |

## See also

[Add attribute expressions to a measure](https://help.qlik.com/en-US/sense-developer/November2024/csh/engineapi/add-attribute-expressions-to-measure)

[Get the values of a chart, a table or a scatter plot](https://help.qlik.com/en-US/sense-developer/November2024/csh/engineapi/get-values-chart-table)