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

Except clause not working

$
0
0

Hi,

I have written an mdx query which is below :-

  

Select 
([Measures].[Net Sales Dollars])
 ON COLUMNS , 
non empty{
  {
[Financial Location].[Location Segmentation].&[1 Premiere],
[Financial Location].[Location Segmentation].&[2 Grow],
[Financial Location].[Location Segmentation].&[3 Core]

*{[Financial Location].[Location Center Type Code].&[Lifestyle],[Financial Location].[Location Center Type Code].&[Mall]}
*(except([Date].[Hierarchy - Fiscal].[Fiscal Year].&[Year 2012],[Date].[Hierarchy - Fiscal].[Fiscal Week].&[2012]&[53]))
}on 1  FROM [EDW]

The output of this mdx is the values for the whole fiscal 2012 year but not for the year 2012-week 53.Did i go wrong somewhere? Can someone please help me with this?

Thanks.


Viewing all articles
Browse latest Browse all 14337

Trending Articles



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