You are developing a SQL Server Analysis Services (SSAS) cube.
The data warehouse has a table named FactStock that is used to track movements of stock.
A column namedMovementQuantity contains quantities of stock. A positive quantity is used
for input and negative quantity is used for output. A column named Movement Date 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.
Use role playing dimensions.
B.
Use the Business Intelligence Wizard to define dimension intelligence.
C.
Add a measure that uses the Count aggregate function to an existing measure group.
D.
Add a measure that uses the DistinctCount aggregate function to an existing measure
group.
E.
Add a measure group that has one measure that uses the DistinctCount aggregate
function.
F.
Add a calculated measure based on an expression that counts members filtered by the
Exists and NonEmpty functions.
G.
Add a hidden measure that uses the Sum aggregate function. Add a calculated measure
aggregating the measure along the time dimension.
H.
Create several dimensions. Add each dimension to the cube.
I.
Create a dimension. Then add a cube dimension and link it several times to the measure
group.
J.
Create a dimension. Create regular relationships between the cube dimension and the
measure group. Configure the relationships to use different dimension attributes.
K.
Create a dimension with one attribute hierarchy. Set the IsAggrcgatable property to False
and then set the DefaultMember property. Use a regular relationship between the dimension
and measure group.
L.
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.
M.
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.
N.
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. Add a
calculated measure that uses the MemberValue attribute property.
O.
Create a new named calculation in the data source view to calculate a rolling sum. Add a
measure that uses the Max aggregate function based on the named calculation.
Answer G:
Add a hidden measure that uses the Sum aggregate function. Add a calculated measure aggregating the measure along the time dimension.
Answer is C
Why C?
G is correct if the calculated measure like sum([Base Measure]
,null:TimeDim.TimeHier.currentmember)
O is also should work.
O will work with lastnonenpty, so G is the only correct answer.
Final – G
I agree. Only G makes sense here