Unix Technical Forum

Custom Rollup question

This is a discussion on Custom Rollup question within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> Hi, I am new to SQL Analysis Services. I created a simple cube in SQLAS 2005 and added a ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 07:06 PM
Greencountry
 
Posts: n/a
Default Custom Rollup question

Hi, I am new to SQL Analysis Services. I created a simple cube in
SQLAS 2005 and added a calculated member: Avg Daily Sale = Sale / 30

To better illustrate, the data is aggregated below:
Location A 2007 Cost Avg Daily
Cost
01 $40,000 $
1,333.33
02 $50,000 $
1,666.67
03 $90,000 $ 3,000.00
04 $55,000 $ 1,833.33
Total: $235,000.00 $ 7,833.33

The result for the TOTAL Avg Daily Cost Rollup is not correct. It
should have been the average of all the avg daily costs for 2007
above: $ 1958.33

Question. How can I create a custom rollup to represent the correct
calculation ?

Any help will be greatly appreciated!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com