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

Many 2 Many query

$
0
0

In the queries below is an example of a many to many relationship that uses NUMBER as the linking field.  When the attribute is used in combination with the [Measures] it is not doing the filter of the selected attribute.  Is this a side affect of the many 2 many relationship that you can't use the attributes in combination with the Measures?

CORRECT

select

(

[Measures].[CALC]

) on 0,

(

[ACCT].[NUMBER].[NUMBER].members

,[ACCT].[DOS].&[Mike]

) on 1

from

[CUBE]

INCORRECT

select

(

[Measures].[CALC]

,[ACCT].[DOS].&[Mike]

) on 0,

(

[ACCT].[NUMBER].[NUMBER].members

) on 1

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>