dbTalk Databases Forums  

Different value in the "Total"

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


Discuss Different value in the "Total" in the microsoft.public.sqlserver.olap forum.



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

Default Different value in the "Total" - 01-13-2005 , 10:09 AM








Hey

I am just wondering whether it is possible to display a different value
in the Total value then the aggregation will produce.

Let me try to explane..

for example.. I have a Time dimension that has this layout

YEAR MONTH DAY
-All Time All Time Total

2004 Total
-2004 + June June Total
1
2
3
4
5
6
+ December

What I am wondering... is it possible to <B>not</B> show "June Total" as
the total of all days in June and rather show it as the last day of
June.. but still retain the sum value for the individual days.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Different value in the "Total" - 01-13-2005 , 09:53 PM






You can use custom rollup on the Time dimension:

http://msdn.microsoft.com/library/de.../en-us/olapdma
d/aglevels_344z.asp
Quote:
Custom Rollup Formulas and Custom Member Formulas

Custom rollup formulas and custom member formulas are expressions,
written in Multidimensional Expressions (MDX), that determine the cube
cell values associated with members. A custom rollup formula applies to
all the members (except calculated members) in a level. A custom member
formula applies to a single member.

Custom rollup formulas and custom member formulas are different from
calculated members. Custom rollup formulas and custom member formulas
apply to members that exist in dimension tables. In contrast, calculated
members are not stored in dimension tables. Calculated members provide
members in addition to those in the tables.

Custom rollup formulas and custom member formulas use similar kinds of
MDX expressions.

Both custom rollup formulas and custom member formulas override the
aggregate functions associated with measures.
...
Quote:

- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


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.