Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.
All documentation
  • API Reference for older versions
  • drillUpCell

    drillUpCell(axisName: string, tuple: string[], measureName: string, memberName: string)

    [starting from version 2.9.6]

    Drills up a specific hierarchy level on the grid and charts.

    Parameters

    Parameter/TypeDescription
    axisName
    String
    The hierarchy level's axis: rows ("rows") or columns ("columns").
    tuple
    String[]
    If the hierarchy is nested in a node, specify unique names of field members that identify the node in the tuple. Otherwise, set this parameter to [].
    Live example
    measureName
    String
    Unique name of a measure for which the hierarchy level should be drilled up. Use this property when:
    • The slice has several measures.
    • The hierarchy is nested in measures.
    If the measureName is null, the hierarchy level will be drilled up for all measures in the slice.
    memberName
    String
    The name of the hierarchy level to drill up.

    Examples

    1) Drill up a specific hierarchy level:

    pivot.drillUpCell("columns", [], null, "2021");

    Live example

    2) Drill up a specific level of a nested hierarchy:

    pivot.drillUpCell("rows", ["blue"], null, "USA");

    Live example

    3) Drill up the second hierarchy level:

    pivot.drillUpCell("columns", [], null, "geography.[usa].[california]");

    Live example

    4) Drill up a specific hierarchy level for a specific measure:

    pivot.drillUpCell("rows", [], "Price", "USA");

    See also

    drillDownCell
    collapseAllData
    expandAllData