70-466 · Question #147
You are designing a SQL Server Analysis Services (SSAS) cube for the sales department at your company. The sales department has the following requirements for the cube: Include a year-over-year…
The correct answer is D. PARALLELPERIOD(). The MDX PARALLELPERIOD function returns a member from a prior period at the same relative position in its level hierarchy, making it the correct choice for year-over-year and month-over-month calculations.
Question
- Include a year-over-year (YOY) calculation
- Include a month-over-month (MOM) calculation You need to ensure that the calculations are implemented in the cube. Which Multidimensional Expressions (MDX) function should you use?
Options
- AUNREGINTERCEPT()
- BLASTPERIODS()
- CTIMEINTELLIGENCE()
- DPARALLELPERIOD()
How the community answered
(43 responses)- A2% (1)
- B7% (3)
- C2% (1)
- D88% (38)
Why each option
The MDX PARALLELPERIOD function returns a member from a prior period at the same relative position in its level hierarchy, making it the correct choice for year-over-year and month-over-month calculations.
UNREGINTERCEPT is not a valid MDX function; it does not exist in the MDX specification and would cause a query error.
LASTPERIODS returns a set of consecutive members ending at a specified member and is used for rolling period totals, not for referencing a single parallel period for comparison.
TIMEINTELLIGENCE is not a native MDX function; it refers to a general feature concept in SSAS and is not a callable expression in MDX queries.
PARALLELPERIOD navigates up the time hierarchy to a specified ancestor level, then moves back a given number of periods, and returns the descendant at the same relative position as the original member. This behavior directly enables YOY comparisons (move back one year) and MOM comparisons (move back one month) by referencing the parallel member in the prior period. It is the standard MDX function used in SSAS cube calculations for period-over-period time intelligence.
Concept tested: MDX PARALLELPERIOD for period-over-period time calculations
Source: https://learn.microsoft.com/en-us/sql/mdx/parallelperiod-mdx
Topics
Community Discussion
No community discussion yet for this question.