createTable method

This API is reliable and breaking changes are unlikely., 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

Introduced 2.1


Name Type Description
dimensions Array.<String|Object>

Dimensions to use.

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

measures Array.<String|Object>

Measures to use.

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

options Object


Options to set.


A QTable, which is initially empty but that eventually contains data. The table object is updated when selection state changes.


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


Did this information help you?

Can you tell us why it did not help you and how we can improve it?