Skip to main content

Cube.create_parameter_hierarchy_from_members(name, members, *, data_type=None, index_measure_name=None)

Create a single-level hierarchy with the given members. It can be used as a parameter hierarchy in advanced analyzes.
  • Parameters:
    • name (str) – The name of hierarchy and its single level.
    • members (Sequence *[*Constant ]) – The members of the hierarchy.
    • data_type (DataType | None) – The type with which the members will be stored. Automatically inferred by default.
    • index_measure_name (str | None) – The name of the indexing measure to create for this hierarchy, if any.
  • Return type: None

Example