Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

newbie's question mdx

$
0
0

I have two queries:

select 
{[Measures].[Title played amount]} on 0
,
nonemptycrossjoin(
tail([Date Dim].[Days].[Month Day],30).item(0):
tail([Date Dim].[Days].[Month Day],1).item(0),
[Date Dim].[Calendar].[All],
2
)
on 1
from
[My Cube]

and

select 
{[Measures].[Title played amount]} on 0
,[Date Dim].[Calendar].[All] on 1
from
[My Cube]
where
tail([Date Dim].[Days].[Month Day],30).item(0):
tail([Date Dim].[Days].[Month Day],1).item(0)

The second acts as if there was no where clause. Why do they return different results or what may be the reason of that situation?

Thx, in advance



Rafal






Viewing all articles
Browse latest Browse all 14337

Trending Articles



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