![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I have the following query: select {[Measures].[No of Clients], [Measures].[Cash], [Measures].[Bonds], [Measures].[Mutual Funds], [Measures].[Total Assets], [Measures].[Total Liabilities]} on columns, non empty ({[Primary SalesRep].[primary Sales Rep].members}) on rows from RPT2X where ([Time].[Apr 2003], [Company].[New York] ) I need to sort by [Total Assets], so I need to use the ORDER. I made my query look as follows: select {[Measures].[No of Clients], [Measures].[Cash], [Measures].[Bonds], [Measures].[Mutual Funds], [Measures].[Total Assets], [Measures].[Total Liabilities]} on columns, non empty (ORDER({[Primary SalesRep].[primary Sales Rep].members}, [Measure].[Total Assets], DESC)) on rows from RPT2X where ([Time].[Apr 2003], [Company].[New York] ) But, I'm getting an error on [Total Assets] in the ORDER statement. Will it not let me use a dimension in ORDER on Rows that I specified in Columns? |
#2
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |