![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
| | Profit | Store Sales | ------------+--------------+--------------------------+ Genders_123 | Customers_123| 339,610.90 | $565,238.13 | +---------------------------+--------------------------+ |
|
| Profit | Store Sales | --------------+---------+--------------+ Genders_123 | # VALUE | # VALUE | +--------------+---------+--------------+ Customer_123 | # VALUE | # VALUE | +--------------+---------+--------------+ |
#2
| |||
| |||
|
| With |
#3
| |||
| |||
|
|
Hi All, Have a look at the followind MDX (Yes, it works with FoodMar 2000 also) ------------------------- With Member Customers.[Customers_123] AS 'SUM ( { Customers.[Country].[Canada], Customers.[Country].[Mexico], Customers.[Country].[USA] } )' Member Gender.[Genders_123] AS 'SUM ( {Gender.[Gender].[F], Gender.[Gender].[M] } )' SELECT {{Measures.[Profit],Measures.[Store Sales]}} ON COLUMNS, {CrossJoin({Gender.[Genders_123]}, {Customers.[Customers_123]}) } ON ROWS FROM [Sales] CELL PROPERTIES [VALUE],[FORMATTED_VALUE],[CELL_ORDINAL] --------------------------- The Result is Like This :: (It will look good when seen with Fixed Character Width) +------------+--------------+--------------------------+ | | | Profit | Store Sales | |------------+--------------+--------------------------+ |Genders_123 | Customers_123| 339,610.90 | $565,238.13 | +---------------------------+--------------------------+ But i Want Result in this format : +--------------+---------+--------------+ | | Profit | Store Sales | |--------------+---------+--------------+ |Genders_123 | # VALUE | # VALUE | +--------------+---------+--------------+ |Customer_123 | # VALUE | # VALUE | +--------------+---------+--------------+ Any idea what i need alter with MDX or any other suggestion |
![]() |
| Thread Tools | |
| Display Modes | |
| |