Note: This question is part of a series of questions that use the same set of answer choices. An answer choice
may be correct for more than one question in the series.
You are developing a SQL Server Analysis Services (SSAS) cube.
The data warehouse has a table named FactStock thatis used to track movements of stock.
A column named MovementQuantity contains quantitiesof stock.
A positive quantity is used for input and negative quantity is used for output.
A column named MovementDate is related to the time dimension.
The quantity in stock, at a given point in time, can be evaluated as the sum of all MovementQuantity values at
that point in time.
You need to create a measure that calculates the quantity in stock value.
What should you do?
A.
Create several dimensions. Add each dimension to the cube.
B.
Add a measure that uses the DistinctCount aggregate function to an existing measure group.
C.
Create a dimension. Create regular relationships between the cube dimension and the measure group.
Configure the relationships to use different dimension attributes.
D.
Add a measure that uses the LastNonEmpty aggregate function. Use a regular relationship between the
time dimension and the measure group.
E.
Use the Business Intelligence Wizard to define dimension intelligence.
F.
Add a calculated measure based on an expression that counts members filtered by the Exists and
NonEmpty functions.
G.
Create a dimension. Then add a cube dimension andlink it several times to the measure group.
H.
Create a new named calculation in the data sourceview to calculate a rolling sum. Add a measure that uses
the Max aggregate function based on the named calculation.
I.
Create a dimension with one attribute hierarchy. Set the ValueColumn property, set the IsAggregatable
property to False, and then set the DefaultMember property. Configure the cube dimension so that it does
not have a relationship with the measure group. Adda calculated measure that uses the MemberValue
attribute property.
J.
Create a dimension with one attribute hierarchy. Set the IsAggregatable property to False and then set the
DefaultMember property. Use a many-to-many relationship to link the dimension to the measure group.
K.
Use role playing dimensions.
L. Create a dimension with one attribute hierarchy. Set the IsAggregatable property to False and then set the
DefaultMember property. Use a regular relationship between the dimension and measure group. M. Add a
measure group that has one measure that uses the DistinctCount aggregate function.
M. Add a hidden measure that uses the Sum aggregate function. Add a calculated measure aggregating the
measure along the time dimension.
N. Add a measure that uses the Count aggregate function to an existing measure group.
The answer is M: Add a hidden measure that uses the Sum aggregate function. Add a calculated measure aggregating the measure along the time dimension
+1