dbTalk Databases Forums  

How to compare months between years ?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss How to compare months between years ? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
D.E.
 
Posts: n/a

Default How to compare months between years ? - 03-09-2006 , 07:37 AM






Hi,

I want to compare same months of different years (or even same quarters).
p.e. June 2004 vs June 2005 and show difference and %Change.
How this can be done for SQL Analysis server 2000 ?

Thank you
D.E.



Reply With Quote
  #2  
Old   
MC
 
Posts: n/a

Default Re: How to compare months between years ? - 03-09-2006 , 08:21 AM






Check the parallel periods function. You can use it to calculate measure
values a year ago based on the currentmember.

Something like:
([Measures].[Value], [Time].currentmember) --- value od measure in current
time
([Measures].[Value],ParallelPeriod([Time].[year],1,[Time].currentmember)) ---
a year ago


MC



"D.E." <dimitris (AT) add (DOT) gr> wrote

Quote:
Hi,

I want to compare same months of different years (or even same quarters).
p.e. June 2004 vs June 2005 and show difference and %Change.
How this can be done for SQL Analysis server 2000 ?

Thank you
D.E.




Reply With Quote
  #3  
Old   
D.E.
 
Posts: n/a

Default Re: How to compare months between years ? - 03-20-2006 , 05:05 AM



Thank you

"MC" <marko_culo#@#yahoo#.#com#> wrote

Quote:
Check the parallel periods function. You can use it to calculate measure
values a year ago based on the currentmember.

Something like:
([Measures].[Value], [Time].currentmember) --- value od measure in
current time
([Measures].[Value],ParallelPeriod([Time].[year],1,[Time].currentmember))
---
a year ago


MC



"D.E." <dimitris (AT) add (DOT) gr> wrote in message
news:%23QakE73QGHA.1728 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Hi,

I want to compare same months of different years (or even same quarters).
p.e. June 2004 vs June 2005 and show difference and %Change.
How this can be done for SQL Analysis server 2000 ?

Thank you
D.E.






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.