Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

PARALLELPERIOD SQL SSAS 2008

Posted on 2014-12-15
3
Medium Priority
?
140 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline

581 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