Solved

PARALLELPERIOD SQL SSAS 2008

Posted on 2014-12-15
3
110 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Insert parts by customer 12 53
Sql Server group by 10 52
MS SQL / SQL Server Native Client -- how to prevent seeing other servers? 2 55
(sql serv16)ssis 2016 question/check 1 108
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.

730 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