dbTalk Databases Forums  

Produce analysis based on groupings

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


Discuss Produce analysis based on groupings in the microsoft.public.sqlserver.olap forum.



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

Default Produce analysis based on groupings - 04-02-2004 , 02:51 PM






Hi

I'm working with our Marketing department, they want to group our customers
based on revenue, and produce analysis on the groupings, for example :-


GROUPING % OF TOTAL REVENUE REVENUE
AVERAGE GP%
TOP 10 Customers 10%
1 25
TOP 25 Customers 25%
3 15
TOP 50 Customers 50%
5 10
TOP 100 Customers 75%
7 14
ALL Customers 100%
10 16

I'm pretty new with Analysis services and MDX so I'm not quite sure where to
start with this request, can anybody give me any hints?

Probably for now (I'm guessing it would be easiest) the grouping would be
based on the revenue generated this year, but ideally it would be nice for
the grouping to be calculated based on the time period we are looking at.

I hope my questions makes sense, an example of an existing cube I have is

Dim - CUSTOMER
Dim - DATE (YEAR, QUARTER, MONTH)
Measure - REVENUE

Thanks














Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Produce analysis based on groupings - 04-02-2004 , 10:07 PM






Here's a calculated member that aggregates the top 10 customers:

Aggregate(TopCount(Customer.Customer.Members, 10, Measures.Revenue),
Measures.Revenue)

Calculations are built inside the cube editor.

public @ the domain below
www.tomchester.net

"Paul" <pe (AT) nospam (DOT) com> wrote

Quote:
Hi

I'm working with our Marketing department, they want to group our
customers
based on revenue, and produce analysis on the groupings, for example :-


GROUPING % OF TOTAL REVENUE REVENUE
AVERAGE GP%
TOP 10 Customers 10%
1 25
TOP 25 Customers 25%
3 15
TOP 50 Customers 50%
5 10
TOP 100 Customers 75%
7 14
ALL Customers 100%
10 16

I'm pretty new with Analysis services and MDX so I'm not quite sure where
to
start with this request, can anybody give me any hints?

Probably for now (I'm guessing it would be easiest) the grouping would be
based on the revenue generated this year, but ideally it would be nice for
the grouping to be calculated based on the time period we are looking at.

I hope my questions makes sense, an example of an existing cube I have is

Dim - CUSTOMER
Dim - DATE (YEAR, QUARTER, MONTH)
Measure - REVENUE

Thanks
















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.