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

MDX - Exclude Values from a calculation

$
0
0

Hi Everyone:

I would like to exclude a few different attributes of an item dimension. Any ideas?

SUM

(-{[Item].[Prod Family].&[6.E1]&[028],

[Item].[Prod Family].&[6.E1]&[020],

    [Item].[Main Prod Grp].&[6.E1]&[E38],

    [Item].[Prod Group].&[6.E1]&[H3B],

    [Item].[Prod Group].&[6.E1]&[H3C],

    [Item].[Prod Group].&[6.E1]&[H97],

    [Item].[Prod Group].&[6.E1]&[H56],

    [Item].[Prod Group].&[6.E1]&[H39],

    [Item].[Prod Group].&[6.E1]&[H49],

    [Item].[Prod Group].&[6.E1]&[H59],

    [Item].[Prod Group].&[6.E1]&[H5A],

    [Item].[Prod Group].&[6.E1]&[H5B]}

,[Measures].[Sales])




Viewing all articles
Browse latest Browse all 14337

Latest Images

Trending Articles



Latest Images

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