<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Any MDX Guru&#8217;s out there?</title>
	<atom:link href="http://blog.saasinct.com/2009/05/15/any-mdx-gurus-out-there/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.saasinct.com/2009/05/15/any-mdx-gurus-out-there/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=any-mdx-gurus-out-there</link>
	<description>::       Sharing with the world everything we discover about SAS.</description>
	<lastBuildDate>Wed, 14 Jul 2010 17:49:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Matthias Ender</title>
		<link>http://blog.saasinct.com/2009/05/15/any-mdx-gurus-out-there/comment-page-1/#comment-224</link>
		<dc:creator>Matthias Ender</dc:creator>
		<pubDate>Thu, 14 May 2009 21:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sasinct.com/2009/05/15/any-mdx-gurus-out-there/#comment-224</guid>
		<description>Hi,
  here is one way that might work:

create a calculated measure that checks which member of each of the non-allowed dimensions is part of the current cell. If it&#039;s not the All member, return a null:

IIF([Customer].currentmember IS [Customer].defaultmember
     AND
     [Period].currentmember IS [Period].defaultmember
     AND
     [Location].currentmember IS [Location].defaultmember
     ,
     [Measures].[Cost] / [Measures].[Quantity]
     ,
     NULL
    )

Matthias Ender
SAS OLAP Server</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  here is one way that might work:</p>
<p>create a calculated measure that checks which member of each of the non-allowed dimensions is part of the current cell. If it&#8217;s not the All member, return a null:</p>
<p>IIF([Customer].currentmember IS [Customer].defaultmember<br />
     AND<br />
     [Period].currentmember IS [Period].defaultmember<br />
     AND<br />
     [Location].currentmember IS [Location].defaultmember<br />
     ,<br />
     [Measures].[Cost] / [Measures].[Quantity]<br />
     ,<br />
     NULL<br />
    )</p>
<p>Matthias Ender<br />
SAS OLAP Server</p>
]]></content:encoded>
	</item>
</channel>
</rss>
