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.
Question
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)- A4% (1)
- B74% (17)
- C17% (4)
- D4% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.