![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have one problem in writing an MDX Query. When I use the Aggregate function with a DISTINCT COUNT Measure, get the following error. -------------------------------------- Unable to open cellset Formula error - aggregations are not supported for the DISTINCT COUNT measure "Invoice Number" - in the Aggregate function ------------------------- My Query is given below: With Member [Geography].[Filter] As 'Aggregate({[Geography].[USA], [Geography].[India]})' Select {[Measures].[Invoice No]} On Columns, {[Customer].[Customer Name].Members} On Rows From Sales Where ([Geography].[Filter]) Please help in resolving this problem. Thanks in advance. Manoj |
#3
| |||
| |||
|
|
the aggregate function cannot be used against a Distinct count measure (standard measure) you have to create a calculated distinct count to do this. "Manoj" <Manoj (AT) discussions (DOT) microsoft.com> wrote in message news:C6FC46BC-A569-489A-BBC6-067596E4DF55 (AT) microsoft (DOT) com... Hello, I have one problem in writing an MDX Query. When I use the Aggregate function with a DISTINCT COUNT Measure, get the following error. -------------------------------------- Unable to open cellset Formula error - aggregations are not supported for the DISTINCT COUNT measure "Invoice Number" - in the Aggregate function ------------------------- My Query is given below: With Member [Geography].[Filter] As 'Aggregate({[Geography].[USA], [Geography].[India]})' Select {[Measures].[Invoice No]} On Columns, {[Customer].[Customer Name].Members} On Rows From Sales Where ([Geography].[Filter]) Please help in resolving this problem. Thanks in advance. Manoj |
![]() |
| Thread Tools | |
| Display Modes | |
| |