dbTalk Databases Forums  

Creating a master detail report like this in MDX

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


Discuss Creating a master detail report like this in MDX in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
karenmiddleol@yahoo.com
 
Posts: n/a

Default Creating a master detail report like this in MDX - 07-01-2005 , 05:35 AM






I have a requirement to define a master detail report like the
following scenario:

We store sales by SalesReps in a cube at sales date level in the cube.

I need to now report in one report the sales as follows in this format:



SalesRep Fiscper ActualSales(Value) ActualSales(Qty)
for each of the above record I will have a number of following
records to display
Number DocumentNo Date ActualSales(Value) ActualSales(qty)


so an example is as follows:


Keith Charles 002.2005 $ 9800 2050 EA
1 981898999 03.02.2005 $5000 1000 EA
2 981234567 10.2.2005 $2000 500 EA
3 789209999 22.02.2005 $2800 550 EA


Bill Brown 002.2005 $12450 6200 EA
1 8989999989 08.02.2005 $9000 5000 EA
2 9898988178 18.02.2005 $3450 1200 EA


......

so I want a list of all sales reps as you can see showing the summary
sales value and qty for every rep in the first line to show summary and
the subsequent lines to show all details for that rep for that month
the actual line items.

How can I build a MDX query to do this.


Thanks in advance
Karen


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.