I have a MDX Query looking like this:
WITH
SET selection as ([Dates].[Year].&[2014],[Dates].[Month].&[1])
set testset as (selection, [ThroughputID].[ID].ALLMEMBERS)
MEMBER [Measures].[RowCount] AS COUNT (testset)
SELECT
selection ON 0,
[Measures].RowCount
ON 1
FROM (SELECT [Dates].[Y-H-Q-M].MEMBERS ON 0 FROM [Throughput])
RowCount gives 1182918
If I add ORDER to "testset" like below, RowCount gives 1, how come?
WITH
SET selection as ([Dates].[Year].&[2014],[Dates].[Month].&[1])
set testset as ORDER(selection, [ThroughputID].[ID].ALLMEMBERS)
MEMBER [Measures].[RowCount] AS COUNT (testset)
SELECT
selection ON 0,
[Measures].RowCount
ON 1
FROM (SELECT [Dates].[Y-H-Q-M].MEMBERS ON 0 FROM [Throughput])