Solved

PARALLELPERIOD SQL SSAS 2008

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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