Solved

PARALLELPERIOD SQL SSAS 2008

Posted on 2014-12-15
3
99 Views
Last Modified: 2016-02-18
Which to following expression mean created under SQL SSAS 2008 calculation member ?

SUM(YTD(PARALLELPERIOD( [DIM DATE].[Year Group].[MONTH], 12,[DIM DATE].[Year Group].currentmember)),[Measures].[Amount])
0
Comment
Question by:AXISHK
  • 2
3 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40501512
What was the Amount year to date at the same point in time last year?
0
 

Author Comment

by:AXISHK
ID: 40503945
What does the 3 parameters represent in PARALLELPERIOD ?
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40505664
Let's call the three parameters A, B and C. In plain English, the PARALLELPERIOD does this following:

For this member (C), go back this many (B) time units (A).

So, in this example, for wherever we are (currentmember) in the Year Group hierarchy (C), go back 12 (B) months (A).

The syntax is therefore PARALLELPERIOD(A, B, C) - in this case, PARALLELPERIOD(months in the Year Group hierarchy, 12, the currentmember of the Year Group)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now