<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Why not use the &amp;quot;where clause&amp;quot; for filters instead of &amp;quot;on pages&amp;quot;?</title><link>http://blogs.msdn.com/petereb/archive/2008/04/18/why-not-use-the-where-clause-for-filters-instead-of-on-pages.aspx</link><description>Short answer : In SP1 the PPS Planning add-in will use the where clause and life for MDX experts will be back to normal.* Long answer : Because of the extra properties needed for writeback. The CellSet returned by AdoMd.Net does not return member properties</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Why not use the "where clause" for filters instead of "on pages"?</title><link>http://blogs.msdn.com/petereb/archive/2008/04/18/why-not-use-the-where-clause-for-filters-instead-of-on-pages.aspx#8408564</link><pubDate>Fri, 18 Apr 2008 20:50:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8408564</guid><dc:creator>Alain</dc:creator><description>&lt;p&gt;Thanks for the post. &amp;nbsp;Do you have any other information on enhancements and/or fixes for SP1. &amp;nbsp;I am loiking at updating my Project Plan and would like to know what items we can expect.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;</description></item><item><title>re: Why not use the "where clause" for filters instead of "on pages"?</title><link>http://blogs.msdn.com/petereb/archive/2008/04/18/why-not-use-the-where-clause-for-filters-instead-of-on-pages.aspx#8408613</link><pubDate>Fri, 18 Apr 2008 21:05:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8408613</guid><dc:creator>Alan Whitehouse</dc:creator><description>&lt;p&gt;Good information.&lt;/p&gt;
&lt;p&gt;Peter, does there exist anywhere a comprehensive list all all the features/fixes in SP1? &amp;nbsp;I keep seeing different bits and pieces on different blogs but have not seen a full list.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>re: Why not use the "where clause" for filters instead of "on pages"?</title><link>http://blogs.msdn.com/petereb/archive/2008/04/18/why-not-use-the-where-clause-for-filters-instead-of-on-pages.aspx#8408651</link><pubDate>Fri, 18 Apr 2008 21:18:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8408651</guid><dc:creator>petereb</dc:creator><description>&lt;p&gt;On the add-in side it's mostly things related to rendering performance and bug fixes. (e.g. the rollup of all the hotfixes so far plus a couple more) So there really aren't new features per se, it's just that in addressing some perf. bottlenecks things like the on pages/where clause change which have other pleasant side effects. There is an official document that is pending will describe them but I don't think that can be published until the release date is firm, since that also means no more updates will happen. Depending on what the official news looks like I might have a few posts describing the new options or the improvements in more detail.&lt;/p&gt;
</description></item><item><title>re: Why not use the "where clause" for filters instead of "on pages"?</title><link>http://blogs.msdn.com/petereb/archive/2008/04/18/why-not-use-the-where-clause-for-filters-instead-of-on-pages.aspx#8409895</link><pubDate>Sat, 19 Apr 2008 10:04:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8409895</guid><dc:creator>ChrisWebb</dc:creator><description>&lt;p&gt;Could you expand on the comment you made that running an MDX query with three axes performs worse than one with two and a where clause? I've heard rumours of this for a while but never managed to find any details on when this happened or why it was happening.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chis&lt;/p&gt;
</description></item><item><title>re: Why not use the "where clause" for filters instead of "on pages"?</title><link>http://blogs.msdn.com/petereb/archive/2008/04/18/why-not-use-the-where-clause-for-filters-instead-of-on-pages.aspx#8410196</link><pubDate>Sat, 19 Apr 2008 17:46:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8410196</guid><dc:creator>petereb</dc:creator><description>&lt;p&gt;Sure I &amp;nbsp;actually just heard a better description from my boss about this yesterday (i didn't do the perf. investigation in this case). Specifically in our case we are generating a single position on the pages axis. So for us there is little functionality difference between pages and the where clause. But for AS they can't tell this from the query until after evaluating the query. (Maybe there is an obscure optimization they could do but the payoff doesn't seem big). We also looked at using the from select... sub cube but we had too many problems with calculated members especially in PC hierarchies.&lt;/p&gt;
&lt;p&gt;Anyway the where clause and the &amp;quot;from select....&amp;quot; sub cube are kinds of filtering of the cube that can be done before hand. They both let AS efficiently run the query over a subset of the data.&lt;/p&gt;
&lt;p&gt;On pages is more like a crossjoin, the cube cannot be scoped further, its just the query result that is scoped. So there's no advantage for AS.&lt;/p&gt;
&lt;p&gt;When I login to work again I can get the exact phrasing that was used to describe it to me if you want. But conceptually I think this description is enough. (Offhand I don't know the perf. numbers either)&lt;/p&gt;
&lt;p&gt;Since we just need metadata from the members selected in the where clause our 2nd query is very fast and essentially always serviced by the cache. It just makes our code a little more complex, but even ignoring a perf benefit, the convenience of using the where clause I think makes this worth it in the long run.&lt;/p&gt;
</description></item></channel></rss>