nerdexam
Microsoft

70-466 · Question #101

You need to create the AD Sales measure. Which aggregation function should you use?

The correct answer is D. AverageOfChildren. In SSAS, the AverageOfChildren aggregation function is used when a parent measure should display the average value of its direct child members.

Build an analysis services database

Question

You need to create the AD Sales measure. Which aggregation function should you use?

Options

  • ASum
  • BAverage
  • CByAccount
  • DAverageOfChildren

How the community answered

(22 responses)
  • A
    5% (1)
  • C
    5% (1)
  • D
    91% (20)

Why each option

In SSAS, the AverageOfChildren aggregation function is used when a parent measure should display the average value of its direct child members.

ASum

Sum would add all child values together, producing a total rather than an average, which misrepresents metrics like average daily sales at a parent level.

BAverage

Average computes the mean of all non-empty leaf-level cells rather than averaging only the direct children in the hierarchy, giving an incorrect result for parent-level browsing.

CByAccount

ByAccount uses the aggregation function defined on the Account dimension's Type attribute, which is unrelated to computing an average of child members for the AD Sales measure.

DAverageOfChildrenCorrect

AverageOfChildren is a semi-additive aggregation function in Analysis Services that calculates the average of a measure's child members rather than summing or averaging all leaf-level values. This is appropriate for 'AD' (Average of Daily) type measures such as AD Sales, where a monthly total should reflect the average of its daily children. Unlike Sum or Average, it respects the parent-child relationship in the time or other hierarchies involved.

Concept tested: SSAS semi-additive measure AverageOfChildren aggregation

Source: https://learn.microsoft.com/en-us/analysis-services/multidimensional-models/define-semiadditive-behavior

Topics

#measure aggregation#AverageOfChildren#account intelligence#SSAS multidimensional

Community Discussion

No community discussion yet for this question.

Full 70-466 Practice