<?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: Pivots, Cube Formulas, Named Sets &#8230; Oh my!</title>
	<atom:link href="http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/feed/" rel="self" type="application/rss+xml" />
	<link>http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/</link>
	<description>Ramblings of a data dork: from BI and Big Data to Travel and Food</description>
	<lastBuildDate>Wed, 01 Feb 2012 23:42:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: dennyglee</title>
		<link>http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/#comment-5723</link>
		<dc:creator><![CDATA[dennyglee]]></dc:creator>
		<pubDate>Tue, 24 Jan 2012 22:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://dennyglee.wordpress.com/?p=201#comment-5723</guid>
		<description><![CDATA[Off hand I do not know if this has been solved - not sure if this is a DAX or Excel engine issue.  Would advise that if you can create a repro, please fill out a bug at http://connect.microsoft.com.  HTH!]]></description>
		<content:encoded><![CDATA[<p>Off hand I do not know if this has been solved &#8211; not sure if this is a DAX or Excel engine issue.  Would advise that if you can create a repro, please fill out a bug at <a href="http://connect.microsoft.com" rel="nofollow">http://connect.microsoft.com</a>.  HTH!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat M</title>
		<link>http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/#comment-5713</link>
		<dc:creator><![CDATA[Pat M]]></dc:creator>
		<pubDate>Mon, 23 Jan 2012 14:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://dennyglee.wordpress.com/?p=201#comment-5713</guid>
		<description><![CDATA[Denny,

     I&#039;m struggling with the exact same problem as Derek.

Any ideas?]]></description>
		<content:encoded><![CDATA[<p>Denny,</p>
<p>     I&#8217;m struggling with the exact same problem as Derek.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denny Lee</title>
		<link>http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/#comment-167</link>
		<dc:creator><![CDATA[Denny Lee]]></dc:creator>
		<pubDate>Tue, 13 Apr 2010 22:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://dennyglee.wordpress.com/?p=201#comment-167</guid>
		<description><![CDATA[Apologies Derek - slammed due to RTM stuff and finally coming back up to breathe.  Were you able to resolve the above issue?]]></description>
		<content:encoded><![CDATA[<p>Apologies Derek &#8211; slammed due to RTM stuff and finally coming back up to breathe.  Were you able to resolve the above issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek P</title>
		<link>http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/#comment-142</link>
		<dc:creator><![CDATA[Derek P]]></dc:creator>
		<pubDate>Fri, 12 Feb 2010 19:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://dennyglee.wordpress.com/?p=201#comment-142</guid>
		<description><![CDATA[Good article, 

And this is pretty much where I am in my reporting and generating a fully dynamic excel sheet.  I ran into one problem and it revolves around the use of the &quot;TOPCOUNT()&quot; MDX.  

In my report I have a User Inputted  time frame in the format yyyy-mm-dd.  I have set up cells to go into my cube sets and pull back all the relevent measures and summarize them on the report (and even a neat little validation function that allows the users to change the column headers to a generated list of ALL measures availible and auto-replace those values!)  

The problem if I now want to do a top 10 by location.  But I want the top ten in the provided timeframe.

So the user puts in: 2009-01-01 to 2009-01-15

Using a cubeset() with the time values of {[2009-01-01]:[2009-01-15]} works great!  And thats were the summaries work perfectly.

So I tried applying it to a top 10 cube set...

=CUBESET(&quot;myCube&quot;,&quot;TopCount([Dim Payto Provider].[Provider Name].Children,10,([Measures].[Paid Amount],{[2009-01-01]:[2009-01-15]}))&quot;,&quot;PTPName&quot;)

And you get an error!

=CUBESET(&quot;myCube&quot;,&quot;TopCount([Dim Payto Provider].[Provider Name].Children,10,([Measures].[Paid Amount],[2008]))&quot;,&quot;PTPName&quot;)

^Works fine

The top 10 for a particular Unit of time may not be the same for a time span within it.  And that brings me to my problem!

(The goal is to use the top 10 locations as row headers and string them into a cubevalue function to get my measures)

Any ideas?]]></description>
		<content:encoded><![CDATA[<p>Good article, </p>
<p>And this is pretty much where I am in my reporting and generating a fully dynamic excel sheet.  I ran into one problem and it revolves around the use of the &#8220;TOPCOUNT()&#8221; MDX.  </p>
<p>In my report I have a User Inputted  time frame in the format yyyy-mm-dd.  I have set up cells to go into my cube sets and pull back all the relevent measures and summarize them on the report (and even a neat little validation function that allows the users to change the column headers to a generated list of ALL measures availible and auto-replace those values!)  </p>
<p>The problem if I now want to do a top 10 by location.  But I want the top ten in the provided timeframe.</p>
<p>So the user puts in: 2009-01-01 to 2009-01-15</p>
<p>Using a cubeset() with the time values of {[2009-01-01]:[2009-01-15]} works great!  And thats were the summaries work perfectly.</p>
<p>So I tried applying it to a top 10 cube set&#8230;</p>
<p>=CUBESET(&#8220;myCube&#8221;,&#8221;TopCount([Dim Payto Provider].[Provider Name].Children,10,([Measures].[Paid Amount],{[2009-01-01]:[2009-01-15]}))&#8221;,&#8221;PTPName&#8221;)</p>
<p>And you get an error!</p>
<p>=CUBESET(&#8220;myCube&#8221;,&#8221;TopCount([Dim Payto Provider].[Provider Name].Children,10,([Measures].[Paid Amount],[2008]))&#8221;,&#8221;PTPName&#8221;)</p>
<p>^Works fine</p>
<p>The top 10 for a particular Unit of time may not be the same for a time span within it.  And that brings me to my problem!</p>
<p>(The goal is to use the top 10 locations as row headers and string them into a cubevalue function to get my measures)</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cube Formulas and NamedSets Running Commentary &#171; PowerPivot Twins!</title>
		<link>http://dennyglee.com/2010/02/04/pivots-cube-formulas-named-sets-oh-my/#comment-138</link>
		<dc:creator><![CDATA[Cube Formulas and NamedSets Running Commentary &#171; PowerPivot Twins!]]></dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://dennyglee.wordpress.com/?p=201#comment-138</guid>
		<description><![CDATA[[...] Pivots, Cube Formulas, Named Sets … Oh my! [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Pivots, Cube Formulas, Named Sets … Oh my! [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

