Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Multiple Crossjoins

Author  Topic 

PashaF
Starting Member

1 Post

Posted - 2008-04-03 : 17:01:14
Hi All,

How would I build in MDX a set equivalent to the following WHERE clause in SQL:

WHERE
state in ('NY', 'CA')
and
NOT (state = 'CA' and Year = 2007)


Basically, I need NY and CA, but only those CA records that are not in 2007
year.

Thanks,

Pasha
   

- Advertisement -