nerdexam
Microsoft

70-448 · Question #195

You create a SQL Server 2008 Analysis Services (SSAS) solution. Your solution contains a time dimension named DimTime that contains a hierarchy named Yr-Qtr-Mth. You have a measure named Amount from…

The correct answer is C. ([Measures]. [Amount], [DimTime].[Yr-Qtr-Mth].PrevMember). PrevMember returns the previous member in the level that contains a specified member. Incorrect answer: FirstSibling returns the first child of the parent of a member. LastPeriods returns a set of members up to and including a specified member

Implement an Analysis Services Solution

Question

You create a SQL Server 2008 Analysis Services (SSAS) solution. Your solution contains a time dimension named DimTime that contains a hierarchy named Yr-Qtr-Mth. You have a measure named Amount from a measure group named Measures. You need to create a calculated member to display the Amount measure in the previous time period for the current level of the Yr-Qtr-Mth hierarchy. Which expression should you use?

Options

  • A([Measures]. [Amount], OPENINGPERIOD( [DimTime].[Yr-Qtr-Mth] .FirstSibling.Level))
  • B([Measures]. [Amount], LASTPERIODS( 0,[DimTime].[Yr-Qtr-Mth].PrevMember))
  • C([Measures]. [Amount], [DimTime].[Yr-Qtr-Mth].PrevMember)
  • D([Measures]. [Amount], [DimTime].[Yr-Qtr-Mth].FirstSibling)

How the community answered

(43 responses)
  • A
    7% (3)
  • B
    2% (1)
  • C
    77% (33)
  • D
    14% (6)

Explanation

PrevMember returns the previous member in the level that contains a specified member. Incorrect answer: FirstSibling returns the first child of the parent of a member. LastPeriods returns a set of members up to and including a specified member

Topics

#calculated members#MDX expressions#PrevMember#time intelligence

Community Discussion

No community discussion yet for this question.

Full 70-448 Practice