[Show all top banners]
Back to: Computer/IT Refresh page to view new replies
 MS-SSAS MDX query
[VIEWED 3128 TIMES]
SAVE! for ease of future access.
Posted on 03-29-09 11:04 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

hi,
Can anybody tell me the mdx query to calculate the previous running 12 months and same period previous year (upto date level).
For same period previous year, I tried paralleperiod(([Time Dim].[Hierarchy Time].[Year],1,[Time Dim].[Hierarchy Time].currentmember), [Measures].[Sum of Sales])
It's not working properly. It gives me correct value for the year level and the date level but not for quarter or month level. My Hierarchy Time = Year, Quarter, Month, Date.
and for Previous running 12 months i don't know how to proceed. I want both as a calculated measure
If any body can guide me, I would be gratefull.
Thank you


 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 30 days
Recommended Popular Threads Controvertial Threads
MAGA #FAFO
TPS for Nepal likely to extend next week
I hope all the fake Nepali refugee get deported
If you got nothing to lose, fight tooth and nail explore every avenue
TPS for Venezuela is terminated, only 60 days extension for transition period
Embassy of Nepal might be able to help extend TPS for Nepal
Has anyone here successfully reinstated to F-1 status after a year-long gap following a drop from F-1?
Trump admin revokes 18 months TPS extension for Venezuelans
Nepal TPS , What Next???????
TPS Parents' Newborns to Lose U.S. Citizenship Rights
Immigration
TPS
Alert: Deported over Traffic Ticket
Has anyone entered US recently on TPS travel document or know of anyone who did?
नेपालको TPS र USAID यसकारण बन्द हुन जरुरि छ
Court Hearing Approval.
Bill Gates getting money from USAID!
BEWARE Naturalized Nepalese US citizens... I saw this ..
Trump was 100 right on DEI ??
Proposal: Parents' Immigration Status on US Birth Certificate
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters