Skip to content

GenericMeasure

QIX methods for version 12.225.0.

ApplyPatches

Applies a patch to the properties of an object. Allows an update to some of the properties.
Applying a patch takes less time than resetting all the properties.

Required permissions: update

Parameters:

Name Type Mandatory Description
qPatches NxPatch Yes Array of patches.

No return values.

Approve

Adds the generic measure to the list of approved objects
This operation is possible only in Qlik Sense Enterprise.

Required permissions: approve

No parameters.

No return values.

GetInfo

Returns the type and identifier of the object.

No parameters.

Returns:

Name Type Description
qInfo NxInfo {"qId":"<identifier>","qType":"<type>"}

GetLayout

Evaluates a measure and displays its properties, including the dynamic properties.

No parameters.

Returns:

Name Type Description
qLayout GenericMeasureLayout Information on the object.

GetLinkedObjects

Lists the linked objects to a generic object, a dimension or a measure.

No parameters.

Returns:

Name Type Description
qItems array<NxLinkedObjectInfo> List of the linked objects.

GetMeasure

Returns the definition of a measure.

No parameters.

Returns:

Name Type Description
qMeasure NxLibraryMeasureDef Information about the measure.

GetProperties

Shows the properties of an object.
Returns the identifier and the definition of the measure.
If the member delta is set to true in the request object, only the delta is retrieved.
The following is always returned in the output:

No parameters.

Returns:

Name Type Description
qProp GenericMeasureProperties Information about the generic object.

Publish

Publishes a measure.

Required permissions: publish

No parameters.

No return values.

SetProperties

Sets some properties for a measure.

Required permissions: update

Parameters:

Name Type Mandatory Description
qProp GenericMeasureProperties Yes Information about the measure.

No return values.

UnApprove

Removes the generic measure from the list of approved objects
This operation is possible only in Qlik Sense Enterprise.

Required permissions: approve

No parameters.

No return values.

UnPublish

Unpublishes a measure.

Required permissions: publish

No parameters.

No return values.