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 named MovementQuantity 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.
. Create a dimension. Then add a cube dimension and link it several times to the measure group.
. Create a dimension. Create regular relationships between the cube dimension and the measure group. Configure the relationships to use different dimension attributes.
. 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.
. 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.
. 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.
. 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.
. 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