dbTalk Databases Forums  

Calculate weekly trend for a YTD data

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


Discuss Calculate weekly trend for a YTD data in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
UnOhU
 
Posts: n/a

Default Calculate weekly trend for a YTD data - 03-17-2006 , 12:27 AM






Hi All,

I'm in process of designing a cube for a KPI that will show comparison
of values based on weeks e.g.
- Current Week
- Last Week
- Trend

The value for week to be calulated is %Accuracy i.e.
- Current Week = 90%
- Last Week = 93%
- Trend = -ve

The data i'm getting is count of accurate and non-accurate based on
Year to Date (YTD).

Can anyone tell me how to calculate the trend, rolling the YTD value
till the said week i.e. current and last? What to store in the time
dimension and how?

Yes I'm new to this!

Any help will be highly appreciated.


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.