Aracılığıyla paylaş


Ascendants (MDX)

Verir küme, üye kendisi de dahil olmak üzere, belirtilen bir üyenin ascendants.

Ascendants(Member_Expression)

Bağımsız değişkenler

  • Member_Expression
    Üye işlevi geçerli BIR çok boyutlu deyimler (MDX) ifade.

Remarks

The Ascendants işlev performs a post-order traversal of the hierarchy for the specified üye, and then returns all ascendant members related to the üye, including itself, in a küme. Tersine budur üst işlev belirli ascendant üye veya belirli bir düzeyde (üst, verir.

Örnekler

Aşağıdaki örnek, satıcı için siparişleri sayısı verir [Sales Territory].[Northwest] üye ve bu üyenin tüm ascendants Adventure Works küp.The Ascendants işlev constructs the küme that includes the [Sales Territory].[Northwest] üye and its ascendants for the ROWS eksen.

SELECT
   Measures.[Reseller Order Count] ON COLUMNS,
   Order(
      Ascendants(
         [Sales Territory].[Northwest]
      ),
      DESC
   ) ON ROWS
FROM
   [Adventure Works]

See Also

Reference