<?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: Diving deep and the different dialects of MDX</title>
	<atom:link href="http://www.panorama.com/blog/2007/05/diving-deep-and-the-different-dialects-of-mdx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.panorama.com/blog/2007/05/diving-deep-and-the-different-dialects-of-mdx/</link>
	<description>Making businesses better - not just better informed</description>
	<lastBuildDate>Tue, 09 Aug 2011 17:51:29 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Malaya Das</title>
		<link>http://www.panorama.com/blog/2007/05/diving-deep-and-the-different-dialects-of-mdx/comment-page-1/#comment-4698</link>
		<dc:creator>Malaya Das</dc:creator>
		<pubDate>Fri, 12 Jun 2009 09:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.panorama.com/blog/?p=55#comment-4698</guid>
		<description>Great solution...Even better from Oz..</description>
		<content:encoded><![CDATA[<p>Great solution&#8230;Even better from Oz..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Stern</title>
		<link>http://www.panorama.com/blog/2007/05/diving-deep-and-the-different-dialects-of-mdx/comment-page-1/#comment-26</link>
		<dc:creator>Jonathan Stern</dc:creator>
		<pubDate>Thu, 15 Nov 2007 21:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.panorama.com/blog/?p=55#comment-26</guid>
		<description>This is a great example of the rules of MDX. Having worked with both AS and BW mdx sets (not very similar, other than the name) I find these tips extremely useful. Keep the information coming!</description>
		<content:encoded><![CDATA[<p>This is a great example of the rules of MDX. Having worked with both AS and BW mdx sets (not very similar, other than the name) I find these tips extremely useful. Keep the information coming!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oz</title>
		<link>http://www.panorama.com/blog/2007/05/diving-deep-and-the-different-dialects-of-mdx/comment-page-1/#comment-14</link>
		<dc:creator>Oz</dc:creator>
		<pubDate>Tue, 12 Jun 2007 09:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.panorama.com/blog/?p=55#comment-14</guid>
		<description>Thanks, Mosha, for paying attention to this special case.
Indeed whoever wants to see duplicate data for some reason, should add the &quot;ALL&quot; flag (which I didn&#039;t mention in order to simplify the rules of the game).
Anyway, it&#039;s an honor to have a Grand Master like you in our blog!</description>
		<content:encoded><![CDATA[<p>Thanks, Mosha, for paying attention to this special case.<br />
Indeed whoever wants to see duplicate data for some reason, should add the &#8220;ALL&#8221; flag (which I didn&#8217;t mention in order to simplify the rules of the game).<br />
Anyway, it&#8217;s an honor to have a Grand Master like you in our blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mosha</title>
		<link>http://www.panorama.com/blog/2007/05/diving-deep-and-the-different-dialects-of-mdx/comment-page-1/#comment-11</link>
		<dc:creator>Mosha</dc:creator>
		<pubDate>Fri, 08 Jun 2007 05:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.panorama.com/blog/?p=55#comment-11</guid>
		<description>This is an interesting riddle given all the constraints. Unfortunatelly, your solution is not a correct one ! It does seem like your trick worked, but you missed one important detail from the definition of the Generate function. Ever since first spec of MDX came out, it always said, that the Generate function by default removes duplicates from the set. Therefore, if either [True Set] or [False Set] had duplicates, your solution will give wrong results. The correct one should add the ALL flag to the Generate function as following:

{
Generate (Filter ( { [Measures].CurrentMember }, Condition), [True Set], ALL)
,
Generate (Filter ( { [Measures].CurrentMember }, NOT Condition), [False Set], ALL)
}

P.S. When you play chess with GrandMaster, you just might lose :)

P.P.S. Also your comment around StrToSet solution that &quot;Besides, what if the sets are huge? Conversion might be time &amp; memory consuming.&quot; is not accurate. Since you are passing the names of the sets to StrToSet function, it doesn&#039;t matter whether the sets themselves are huge or not. SSAS will quickly resolve the sets by name and there won&#039;t be any additional time or memory spent.</description>
		<content:encoded><![CDATA[<p>This is an interesting riddle given all the constraints. Unfortunatelly, your solution is not a correct one ! It does seem like your trick worked, but you missed one important detail from the definition of the Generate function. Ever since first spec of MDX came out, it always said, that the Generate function by default removes duplicates from the set. Therefore, if either [True Set] or [False Set] had duplicates, your solution will give wrong results. The correct one should add the ALL flag to the Generate function as following:</p>
<p>{<br />
Generate (Filter ( { [Measures].CurrentMember }, Condition), [True Set], ALL)<br />
,<br />
Generate (Filter ( { [Measures].CurrentMember }, NOT Condition), [False Set], ALL)<br />
}</p>
<p>P.S. When you play chess with GrandMaster, you just might lose <img src='http://www.panorama.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>P.P.S. Also your comment around StrToSet solution that &#8220;Besides, what if the sets are huge? Conversion might be time &amp; memory consuming.&#8221; is not accurate. Since you are passing the names of the sets to StrToSet function, it doesn&#8217;t matter whether the sets themselves are huge or not. SSAS will quickly resolve the sets by name and there won&#8217;t be any additional time or memory spent.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

