nerdexam
Microsoft

70-466 · Question #115

You are restructuring an existing cube. One of the measures in the cube is Amount. The Sum aggregation function is used for the Amount measure. The cube includes a dimension named Account and the…

The correct answer is B. Use SQL Server Data Tools to change the AggregateFunction property value of the Amount measure to ByAccount. Tests the ability to configure the ByAccount aggregation function in SSAS to correctly aggregate financial measures by account type classification while minimizing development effort.

Configure and maintain an analysis services database

Question

You are restructuring an existing cube. One of the measures in the cube is Amount. The Sum aggregation function is used for the Amount measure. The cube includes a dimension named Account and the dimension's Type property is set to Accounts. The Account dimension includes an account type attribute. You need to ensure that the Amount measure aggregates correctly according to the account type classification. Development effort must be minimized. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

Options

  • AAdd the ByAccount attribute to the account dimension.
  • BUse SQL Server Data Tools to change the AggregateFunction property value of the Amount measure to ByAccount.
  • CDevelop a .NET application that uses Analysis Management Objects (AMO) to change the existing AggregateFunction property value of the Amount measure to ByAccount and then use the application.
  • DDevelop a .NET application that uses Analysis Management Objects (AMO) to change the existing AggregateFunction property value of the Amount measure to FirstNonEmpty and then use the application.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    74% (17)
  • C
    17% (4)
  • D
    4% (1)

Why each option

Tests the ability to configure the ByAccount aggregation function in SSAS to correctly aggregate financial measures by account type classification while minimizing development effort.

AAdd the ByAccount attribute to the account dimension.

There is no built-in attribute named ByAccount that can be added to a dimension; ByAccount is a valid value for a measure's AggregateFunction property, not a dimension attribute.

BUse SQL Server Data Tools to change the AggregateFunction property value of the Amount measure to ByAccount.Correct

SQL Server Data Tools (SSDT) provides a property grid where the AggregateFunction property of any measure can be changed directly to ByAccount without writing any code. This setting instructs SSAS to use the account type classifications defined on the Accounts-typed dimension to determine correct aggregation behavior - for example summing revenue accounts but subtracting liability accounts - which satisfies the requirement with minimal development effort.

CDevelop a .NET application that uses Analysis Management Objects (AMO) to change the existing AggregateFunction property value of the Amount measure to ByAccount and then use the application.

Using AMO to set the AggregateFunction property to ByAccount achieves the same result as SSDT but requires developing and deploying a separate .NET application, which increases development effort unnecessarily.

DDevelop a .NET application that uses Analysis Management Objects (AMO) to change the existing AggregateFunction property value of the Amount measure to FirstNonEmpty and then use the application.

FirstNonEmpty aggregates by returning the first non-empty value along the time dimension and is used for semiadditive balance-style measures - it does not aggregate based on account type classification and would produce incorrect results for income statement accounts.

Concept tested: ByAccount semiadditive measure aggregation configuration in SSAS

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

Topics

#ByAccount aggregation#account dimension#AggregateFunction property#SSAS measures

Community Discussion

No community discussion yet for this question.

Full 70-466 Practice