Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

subqueries=2

$
0
0

Hi All,

I have the following question:

If I make an aggregated member in an MDX statements and use the subqueries=2 connection parameter, I get the correct result in SSAS 2008 but in 2008 R2 and 2012 just an empty result.

Do you have any explanation for that? hat is the difference between the subqueries=2 connection parameter in the different SSAS versions?

Thanks in advance!

Here is an example query:

with
  member [Dim].[Id].[NowCreatedMember] as
    Aggregate({[Dim].[Id].&[1], [Dim].[Id].&[2], [Dim].[Id].&[3], [Dim].[Id].&[4]})
  member [Measures].[Sales] as
    ([Measures].[EuropeanSales])
select
  non empty ({[Dim].[Id].[NowCreatedMember]}) on columns,
  {[Measures].[Sales]} on rows
from [Cube]



Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>