# getPivotData method

Information noteSTABLE.   
  
This API is reliable and breaking changes are unlikely.

backendApi.getPivotData(qPages)

Gets pivot data from the Qlik associative engine for this object. Only works for hypercubes with qMode = P.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | 2.0 |

## Parameters

### qPages

Type: Array

An array of request page objects.

## Returns

A promise of pivot data pages.

Tip noteFor more information regarding a promise, see [The Promise API](https://code.angularjs.org/1.5.8/docs/api/ng/service/$q#the-promise-api).

## Examples

Example:

```
var requestPage = {
		qTop : 0,
		qLeft : 0,
		qWidth : 10,
		qHeight : count
	};

this.backendApi.getPivotData([requestPage]).then(function(dataPages) {
	....
});
```