# createTable method

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

qlik.app.createTable(dimensions, measures, options)

Defines a hypercube for a table and is the entry point to the Table API. It creates a table object that wraps the hypercube.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | 2.1 |

## Parameters

### dimensions

Type: Array.&lt;String|Object&gt;

Dimensions to use.

Should, for each entry, be a field name or a NxDimension structure.

### measures

Type: Array.&lt;String|Object&gt;

Measures to use.

Should, for each entry, be an expression or a NxMeasure structure.

### options

Type: Object

Optional.

Options to set.

## Returns

A [QTable](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/TableAPI/QTable.htm), which is initially empty but that eventually contains data. The table object is updated when selection state changes.

## Example

```
var users = app.createTable(["FirstName", "LastName"], ["Count(Case Id)"],{rows:200});
```

## Learn more

* [Table API](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/TableAPI/qlik-table-interface.htm)
* [NxDimension in Engine API documentation](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxdimension.htm)
* [NxMeasure in Engine API documentation](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxmeasure.htm)