exam questions

Exam 70-466 All Questions

View all questions & answers for the 70-466 exam

Exam 70-466 topic 1 question 89 discussion

Actual exam question from Microsoft's 70-466
Question #: 89
Topic #: 1
[All 70-466 Questions]

DRAG DROP -
You are using Multidimensional Expressions (MDX) to query a SQL Server Analysis Services (SSAS) cube.
You need to compute the aggregate value of the 10 most-ordered produces in the Product Categories hierarchy. The Product level is the lowest in the hierarchy.
Which functions should you use to complete the MDX query? (To answer, drag the appropriate functions from the list of functions to the correct locations in the answer area.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Note:
* Example (order of TopCount and Aggregate):

WITH -

SET -
[Top25Customers] as
TopCount([Customers].[All Customers].Children, 25.0, [Measures].[Sales])
MEMBER [Customers].[All Customers].[Rest of Customers] as
Aggregate(Except([Customers].[All Customers].Children,[Top25Customers]))

SELECT -
NON EMPTY {CROSSJOIN([Markets].[All Markets].Children,{[Measures].Sales})}
ON COLUMNS,
Union([Top25Customers],{[Customers].[All Customers].[Rest of Customers]}) ON ROWS from [SteelWheelsSales]
* TopCount: Sorts a set in descending order and returns the specified number of elements with the highest values.
*Aggregate:
Returns a number that is calculated by aggregating over the cells returned by the set expression. If a numeric expression is not provided, this function aggregates each measure within the current query context by using the default aggregation operator that is specified for each measure. If a numeric expression is provided, this function first evaluates, and then sums, the numeric expression for each cell in the specified set.
* Example:
One can extract the leaf members of a parent child hierarchy by asking the descendants of the root member with the following expression:
Descendants([Organization].[Organizations].&[1], , LEAVES)
* Incorrect:
/ Not TopSUM: Returns, in order of decreasing rank, the top-most rows of a table whose cumulative total is at least a specified value.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
HenrikFFM
4 years, 5 months ago
it should be: aggreagte/topcount/descentants/leaves
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...