![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| With Set [CustSet] as |
#3
| |||
| |||
|
| with |
|
I am trying to create a row that contains the sum of all the values in my query. My query looks like this with //Columns set[main] as '{[Measures].[cGrossSales], [Measures].[cPYGrossSales]}' //lists all customers set [rowfilter] as 'FILTER({[Customer].[Chain].[lCustNbr].Members},not isempty( [Measures].[cGrossSales]))' select {[main]} on columns, {[rowfilter]} on rows FROM CusItmWk_Dev WHERE([Time_Partial].[All Time_Partial].[2006].[Qtr2 - 2006].[Period 05 - 2006].[Week 18 - 2006], [Customer].[Type].[sType].&[VHVW]) ------------ My result looks like this cGrossSales cPYGrossSales customer1 500 500 customer2 500 500 What I would like to do is Sum all of the customers values into a row like this the row header is not so important as the values)cGrossSales cPYGrossSales customer1 500 500 customer2 500 500 total 1000 1000 How can I accomplish this? I do not completely understand MDX yet, but I am trying very hard. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |