sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function createDimension

createDimension(json): Dimension

Creates a new Dimension instance from the given JSON object.

This function is used in the generated data model code to create dimensions for an input data source.

See also functions createDateDimension and createAttribute.

Parameters

ParameterTypeDescription
jsonanyJSON object representing the Dimension

Returns

Dimension

A new Dimension instance

Last Updated: