Last Year and shifted dates

This is a discussion on Last Year and shifted dates within the sqlserver-olap forums in Data Warehousing category; Hi All, I'm trying to create LY calc members and while it would calculate properly when it comes to monthly level, daily level presents a problem. It would not be fare to compare, for example, 08/26/2008 to 08/26/2007, as there is a daily seasonality in sales (Tue vs. Sun). Is there a way to build a calc member that would show LY results for 08/28/2007, which represents a Tuesday, one year ago? I can populate a column LY_Date in the date dimension with the corresponding dates, but how would I incorporate that into ...

Go Back   Database Forum > Data Warehousing > sqlserver-olap

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-26-2008, 03:50 PM
Default Last Year and shifted dates

Hi All,

I'm trying to create LY calc members and while it would calculate properly
when it comes to monthly level, daily level presents a problem. It would not
be fare to compare, for example, 08/26/2008 to 08/26/2007, as there is a
daily seasonality in sales (Tue vs. Sun). Is there a way to build a calc
member that would show LY results for 08/28/2007, which represents a Tuesday,
one year ago?

I can populate a column LY_Date in the date dimension with the corresponding
dates, but how would I incorporate that into MDX? Or is there a better way
of doing this?

--
Thanks,

Pasha
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:39 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.