Skip to main content Skip to complementary content

SelectHyperCubeValues Method

Overloads

SelectHyperCubeValues(String, Int32, IEnumerable<Int32>, Boolean)

Selects some values in one dimension.

The values are identified by their element numbers.

The member Change returns the handles of the objects that are updated following the selections.

qSuccess is set to true if the selections are successful and is set to false in the following cases:

* The object contains some invalid fields (fields that are not in the data model).

* The selection applies to a locked field.

* A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

SelectHyperCubeValues(String, Int32, IEnumerable<Int32>, Boolean)

Selects some values in one dimension.

The values are identified by their element numbers.

The member Change returns the handles of the objects that are updated following the selections.

qSuccess is set to true if the selections are successful and is set to false in the following cases:

  • The object contains some invalid fields (fields that are not in the data model).
  • The selection applies to a locked field.
  • A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

Declaration

      bool SelectHyperCubeValues([QixName("qPath")] string path, [QixName("qDimNo")] int dimNo, [QixName("qValues")] IEnumerable<int> values, [QixName("qToggleMode")] bool toggleMode)
    

Parameters

Type Name Description
System.String path

Path to the definition of the object to be selected. For example, /qHyperCubeDef .

System.Int32 dimNo

Dimension number or index to select. Dimension numbers/index start from 0.

System.Collections.Generic.IEnumerable<System.Int32> values

Element numbers of the field to select. You can select multiple elements; the separator is the comma.

System.Boolean toggleMode

Set to true to toggle.

Returns

Type Description
System.Boolean

Remarks

This method applies to charts, tables and scatter plots.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!