[Show all top banners]

forcontact

More by forcontact
What people are reading
Subscribers
:: Subscribe
Back to: Computer/IT Refresh page to view new replies
 MS-SSAS MDX query
[VIEWED 2646 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 200 days
Recommended Popular Threads Controvertial Threads
ChatSansar.com Naya Nepal Chat
TPS Re-registration case still pending ..
Toilet paper or water?
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
Sajha Poll: Who is your favorite Nepali actress?
Problems of Nepalese students in US
ढ्याउ गर्दा दसैँको खसी गनाउच
nrn citizenship
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
TPS EAD auto extended to June 2025 or just TPS?
whats wrong living with your parents ?
Ajay Kumar Dev sentenced to 378 yrs
Travelling to Nepal - TPS AP- PASSPORT
Mamta kafle bhatt is still missing
Why Americans reverse park?
TPS advance parole Travel document i-131, Class of Admission ?
TPS Work Permit/How long your took?
Now Trump is a convicted criminal .
Nepali Passport Renewal
मन भित्र को पत्रै पत्र!
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