<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Introducing CUBESET() and CUBERANKEDMEMBER()</title>
	<atom:link href="http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/</link>
	<description>Thoughts on PowerPivot, SharePoint BI, and the occasional movie quote</description>
	<lastBuildDate>Fri, 30 Jul 2010 14:40:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: JA</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-1059</link>
		<dc:creator>JA</dc:creator>
		<pubDate>Wed, 31 Mar 2010 10:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-1059</guid>
		<description>Brilliant post and a brillian comment geb - I was having the same problem.</description>
		<content:encoded><![CDATA[<p>Brilliant post and a brillian comment geb &#8211; I was having the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: powerpivotpro</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-690</link>
		<dc:creator>powerpivotpro</dc:creator>
		<pubDate>Fri, 12 Feb 2010 01:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-690</guid>
		<description>Geb/Colin/Dany - interested in posting your mods/workarounds?

If you don&#039;t want to write a full post, you can just upload the workbook and then we just post a few highlights and a link to the file.

I&#039;ve started a Samples library here:

http://powerpivotfaq.com/PowerPivot%20Samples/Forms/AllItems.aspx 

Whatcha think?</description>
		<content:encoded><![CDATA[<p>Geb/Colin/Dany &#8211; interested in posting your mods/workarounds?</p>
<p>If you don&#8217;t want to write a full post, you can just upload the workbook and then we just post a few highlights and a link to the file.</p>
<p>I&#8217;ve started a Samples library here:</p>
<p><a href="http://powerpivotfaq.com/PowerPivot%20Samples/Forms/AllItems.aspx" rel="nofollow">http://powerpivotfaq.com/PowerPivot%20Samples/Forms/AllItems.aspx</a> </p>
<p>Whatcha think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geb</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-613</link>
		<dc:creator>geb</dc:creator>
		<pubDate>Fri, 05 Feb 2010 15:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-613</guid>
		<description>I think I found what I was looking for, maybe I phrased my question incorrectly.

Changing the cubemember tuple in the last argument in the cubeset only changes the top sort, (very useful in its own right), what I was looking for was how to limit the returning members of the cubeset based on a parameter in a different cell.

If I choose a team in the tuple, the teams player will come out first, but player on other teams will still be in the cubeset.

This below is what I came up with after playing around. The cubeset now switches dynamically to list the players on team specified in cell e7, in ranked order of their rushing yards.

CUBEMEMBER(&quot;sandbox&quot;,&quot;[team].[&quot; &amp;E7&amp;&quot;]&quot;,+e7)  (e7 is a cell where you pick a team from a validation list/drop down box/slicer)

=CUBESET(&quot;sandbox&quot;, &quot;([team].[&quot; &amp; $e$7 &amp;&quot;]*[CleanPlayers].[FullName].children)&quot;,$e$7 &amp; &quot; top rushers&quot;,2, 
         &quot;[Measures].[Rushing Yards]&quot;)       

I couldn&#039;t test with Robs actual cube (but he didn&#039;t send Kasper the data either), but was able to get it working quite nicely on one of my own.

With a few other tricks, we can use this to create dynamically sizing drop down lists using the validation function, and no code.  If I can get something cleaned up I can send rob a copy along to illustrate.</description>
		<content:encoded><![CDATA[<p>I think I found what I was looking for, maybe I phrased my question incorrectly.</p>
<p>Changing the cubemember tuple in the last argument in the cubeset only changes the top sort, (very useful in its own right), what I was looking for was how to limit the returning members of the cubeset based on a parameter in a different cell.</p>
<p>If I choose a team in the tuple, the teams player will come out first, but player on other teams will still be in the cubeset.</p>
<p>This below is what I came up with after playing around. The cubeset now switches dynamically to list the players on team specified in cell e7, in ranked order of their rushing yards.</p>
<p>CUBEMEMBER(&#8220;sandbox&#8221;,&#8221;[team].[" &amp;E7&amp;"]&#8220;,+e7)  (e7 is a cell where you pick a team from a validation list/drop down box/slicer)</p>
<p>=CUBESET(&#8220;sandbox&#8221;, &#8220;([team].[" &amp; $e$7 &amp;"]*[CleanPlayers].[FullName].children)&#8221;,$e$7 &amp; &#8221; top rushers&#8221;,2,<br />
         &#8220;[Measures].[Rushing Yards]&#8220;)       </p>
<p>I couldn&#8217;t test with Robs actual cube (but he didn&#8217;t send Kasper the data either), but was able to get it working quite nicely on one of my own.</p>
<p>With a few other tricks, we can use this to create dynamically sizing drop down lists using the validation function, and no code.  If I can get something cleaned up I can send rob a copy along to illustrate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dany Hoter</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-612</link>
		<dc:creator>Dany Hoter</dc:creator>
		<pubDate>Fri, 05 Feb 2010 10:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-612</guid>
		<description>After such an introduction from Rob I really don&#039;t have a choice but become active on this site. 
Both Kasper and Geb questions can be answered by the same technique. 
When creating a set with CUBESET we don&#039;t need to limit the number of members in the set. The important thing is to get the order of members in the set be by descending order of the measure including the slicers. Once we achieve that we can decide how many CUBERANKEDMEMBER functions to use from the top of the set and in this way achieve the effect of a topcount.
In order to get the right order we need to define something called a tuple in MDX terminology. An example of a tuple is sales of milk in April/2010. A tuple can contain a single member from any number of dimensions. We can create a tuple using CUBEMEMBER with a range of cells as the second argument. Each cell in the range should contain a member.
Assume that A3 contain the measure, B1 the sliced time period and B3 the sliced product category. The formula CUBEMEMBER(&quot;sandbox&quot;,(A3,B1,B3),&quot;This is a tuple&quot;) can be used as the last argument for the CUBESET function (Of course A1:A4 is a valid range in case the cells are consecutive). The result will be a set ordered by the measure value in the filtered period and the filter category.
There are still some issues in the solution the most acute one is how to sort if one or more filters use mutiple members. 
I&#039;ve send Rob an example and he&#039;ll adapt his spreadsheet and publish a post with more details.</description>
		<content:encoded><![CDATA[<p>After such an introduction from Rob I really don&#8217;t have a choice but become active on this site.<br />
Both Kasper and Geb questions can be answered by the same technique.<br />
When creating a set with CUBESET we don&#8217;t need to limit the number of members in the set. The important thing is to get the order of members in the set be by descending order of the measure including the slicers. Once we achieve that we can decide how many CUBERANKEDMEMBER functions to use from the top of the set and in this way achieve the effect of a topcount.<br />
In order to get the right order we need to define something called a tuple in MDX terminology. An example of a tuple is sales of milk in April/2010. A tuple can contain a single member from any number of dimensions. We can create a tuple using CUBEMEMBER with a range of cells as the second argument. Each cell in the range should contain a member.<br />
Assume that A3 contain the measure, B1 the sliced time period and B3 the sliced product category. The formula CUBEMEMBER(&#8220;sandbox&#8221;,(A3,B1,B3),&#8221;This is a tuple&#8221;) can be used as the last argument for the CUBESET function (Of course A1:A4 is a valid range in case the cells are consecutive). The result will be a set ordered by the measure value in the filtered period and the filter category.<br />
There are still some issues in the solution the most acute one is how to sort if one or more filters use mutiple members.<br />
I&#8217;ve send Rob an example and he&#8217;ll adapt his spreadsheet and publish a post with more details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: powerpivotpro</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-608</link>
		<dc:creator>powerpivotpro</dc:creator>
		<pubDate>Thu, 04 Feb 2010 13:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-608</guid>
		<description>Kasper and Geb - excellent points and questions.  I see this as an awesome opportunity to bring in a man who I consider to be the world&#039;s foremost expert on cube formulas, the great Dany Hoter.

Let me see if I can lure him into this conversation with us.  He is very busy, but an in-depth cube formula chat like this is damn near irresistible to him, so let&#039;s keep our fingers crossed.

If I can&#039;t get him to weigh in, I&#039;ll dive in myself.

-Rob</description>
		<content:encoded><![CDATA[<p>Kasper and Geb &#8211; excellent points and questions.  I see this as an awesome opportunity to bring in a man who I consider to be the world&#8217;s foremost expert on cube formulas, the great Dany Hoter.</p>
<p>Let me see if I can lure him into this conversation with us.  He is very busy, but an in-depth cube formula chat like this is damn near irresistible to him, so let&#8217;s keep our fingers crossed.</p>
<p>If I can&#8217;t get him to weigh in, I&#8217;ll dive in myself.</p>
<p>-Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cube Formulas and NamedSets Running Commentary &#171; PowerPivot Twins!</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-606</link>
		<dc:creator>Cube Formulas and NamedSets Running Commentary &#171; PowerPivot Twins!</dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-606</guid>
		<description>[...] Introducing CUBESET() and CUBERANKEDMEMBER() [...]</description>
		<content:encoded><![CDATA[<p>[...] Introducing CUBESET() and CUBERANKEDMEMBER() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pivots, Cube Formulas, Named Sets &#8230; Oh my! &#171; Denny Lee</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-604</link>
		<dc:creator>Pivots, Cube Formulas, Named Sets &#8230; Oh my! &#171; Denny Lee</dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-604</guid>
		<description>[...] out for diving into the deep end into his world of Excel and getting the proverbial egg on my face (Joker picture not-withstanding).  He’s called me out, challenged my geek hood, and sliced / diced my postings (pun intended).  [...]</description>
		<content:encoded><![CDATA[<p>[...] out for diving into the deep end into his world of Excel and getting the proverbial egg on my face (Joker picture not-withstanding).  He’s called me out, challenged my geek hood, and sliced / diced my postings (pun intended).  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geb</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-600</link>
		<dc:creator>geb</dc:creator>
		<pubDate>Thu, 04 Feb 2010 03:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-600</guid>
		<description>What about using the cubeset function with a .children and a limiter?  The syntax to brutal for me after trying out a couple times to figure out.

eg cubeset top 10 rushers, in week X
or top 10 rushers where reciving yards greater than Y


something like multiple select boxes,  Select the team, and it gives you the list of players in the team by restricting the cubeset2 (player list), using team 1 as an input?

or is that what the last sentance of kasper&#039;s coment meant,that not being able to use a filtered cubeset is a big disadvantage</description>
		<content:encoded><![CDATA[<p>What about using the cubeset function with a .children and a limiter?  The syntax to brutal for me after trying out a couple times to figure out.</p>
<p>eg cubeset top 10 rushers, in week X<br />
or top 10 rushers where reciving yards greater than Y</p>
<p>something like multiple select boxes,  Select the team, and it gives you the list of players in the team by restricting the cubeset2 (player list), using team 1 as an input?</p>
<p>or is that what the last sentance of kasper&#8217;s coment meant,that not being able to use a filtered cubeset is a big disadvantage</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasper de Jonge</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-594</link>
		<dc:creator>Kasper de Jonge</dc:creator>
		<pubDate>Wed, 03 Feb 2010 21:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-594</guid>
		<description>Hmm Rob I&#039;ve been playing with the these formula&#039;s and inspected your workbook.
Inventive stuff tying it all together like this. 

If i understand correct you get the 50 players with the most rushing yards (regardless of the slicers). you get the fantasy points from these players (with slicers). And then select the top 20 fantasy points by largest. Lookup the playersname by using the points. And put these two fields at the report.

A few remarks: the cubeset and cuberankedmember is regardless of the slicers, isn&#039;t it possible to make it work with the slicers? so when you use the slicers the sorting will be applied on the filtered set. The cubevalue is applied with filtering. 

The way you fix this is by getting a set, use filtered values to get the top n values and then lookup the members belonging to these values. I know i shouldn&#039;t think as a developer but this is very unnatural to me. What is the chance a player from a specific weeknumber is not in your top 50 list?

Using these functions has great potential but you have to have a specific purpose and know what you are doing. I&#039;ll have to play some more with it, currently i see the not being able to use a filtered cubeset and cuberankedmember as a big disadvantage. To be continued :)

Kasper</description>
		<content:encoded><![CDATA[<p>Hmm Rob I&#8217;ve been playing with the these formula&#8217;s and inspected your workbook.<br />
Inventive stuff tying it all together like this. </p>
<p>If i understand correct you get the 50 players with the most rushing yards (regardless of the slicers). you get the fantasy points from these players (with slicers). And then select the top 20 fantasy points by largest. Lookup the playersname by using the points. And put these two fields at the report.</p>
<p>A few remarks: the cubeset and cuberankedmember is regardless of the slicers, isn&#8217;t it possible to make it work with the slicers? so when you use the slicers the sorting will be applied on the filtered set. The cubevalue is applied with filtering. </p>
<p>The way you fix this is by getting a set, use filtered values to get the top n values and then lookup the members belonging to these values. I know i shouldn&#8217;t think as a developer but this is very unnatural to me. What is the chance a player from a specific weeknumber is not in your top 50 list?</p>
<p>Using these functions has great potential but you have to have a specific purpose and know what you are doing. I&#8217;ll have to play some more with it, currently i see the not being able to use a filtered cubeset and cuberankedmember as a big disadvantage. To be continued :)</p>
<p>Kasper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kasper de jonge`</title>
		<link>http://powerpivotpro.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-593</link>
		<dc:creator>kasper de jonge`</dc:creator>
		<pubDate>Wed, 03 Feb 2010 14:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotpro.wordpress.com/2010/02/02/introducing-cubeset-and-cuberankedmember/#comment-593</guid>
		<description>Thank god i don&#039;t look like that :) But you&#039;re right i had to know and i can&#039;t stand teasers. Great stuff these Excel tricks, all new for me as a BI developer. So keep on showing these tips and tricks, maybe i&#039;ll create a screencast soon how to create a report like this.

What i would like to do is create a filter on the PowerPivot data that i can control with webpart connections! Thus far couldn&#039;t get it to work, keep on playing :)

BTW what will the Cube be named in RTM is not Sandbox?</description>
		<content:encoded><![CDATA[<p>Thank god i don&#8217;t look like that :) But you&#8217;re right i had to know and i can&#8217;t stand teasers. Great stuff these Excel tricks, all new for me as a BI developer. So keep on showing these tips and tricks, maybe i&#8217;ll create a screencast soon how to create a report like this.</p>
<p>What i would like to do is create a filter on the PowerPivot data that i can control with webpart connections! Thus far couldn&#8217;t get it to work, keep on playing :)</p>
<p>BTW what will the Cube be named in RTM is not Sandbox?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
