<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PowerPivotPro</title>
	<atom:link href="http://www.powerpivotpro.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powerpivotpro.com</link>
	<description>Thoughts on PowerPivot, Sharepoint BI and the occasional movie quote</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:31:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Warning:  PowerPivot.com download is v2 beta!</title>
		<link>http://www.powerpivotpro.com/2012/02/warning-powerpivot-com-download-is-v2-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=warning-powerpivot-com-download-is-v2-beta</link>
		<comments>http://www.powerpivotpro.com/2012/02/warning-powerpivot-com-download-is-v2-beta/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 16:30:23 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[PowerPivot Links]]></category>
		<category><![CDATA[PowerPivot V2]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3719</guid>
		<description><![CDATA[&#160; “Danger, Will Robinson!” I’m seeing this pop up a lot now, both in our hosting business and on forums. If you have gone to PowerPivot.com lately and downloaded PowerPivot, you downloaded a beta (a release candidate) of PowerPivot v2, and probably didn’t know it. That’s not a big deal except for: The release candidate [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb12.png" width="459" height="345"></a></p>
<p align="center"><strong><font size="3" face="Arial">“Danger, Will Robinson!”</font></strong></p>
<p>I’m seeing this pop up a lot now, both in our hosting business and on forums.</p>
<p>If you have gone to PowerPivot.com lately and downloaded <strong>PowerPivot, you downloaded a beta (a release candidate) of PowerPivot v2</strong>, and probably didn’t know it.</p>
<p>That’s not a big deal except for:</p>
<ol>
<li>The release candidate likely isn’t as stable as the most up-to-date release of PowerPivot&nbsp; v1</li>
<li>Workbooks created in v2 CANNOT be opened by v1, and that includes v1 server!</li>
<li>There is no way to “downgrade” a v2 workbook to v1, so if you want to use a v2 workbook on v1, you have to start over</li>
</ol>
<p>So be careful – v2 is awesome but using it unknowingly may have side effects you didn’t expect, at least until v2 is official released and the rest of your organization upgrades.</p>
<p>I’ve notified MS of this problem but so far they haven’t fixed it.&nbsp; Both v1 AND v2 should be available for download, with v1 the default, and both clearly marked.</p>
<p>If you want to download v1, here is the link:</p>
<p align="center"><strong><a href="http://www.microsoft.com/download/en/details.aspx?id=7609" target="_blank"><font size="3">V1 PowerPivot for Excel – Download Here</font></a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/warning-powerpivot-com-download-is-v2-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking Performance After an Event or Treatment</title>
		<link>http://www.powerpivotpro.com/2012/02/tracking-performance-after-an-event-or-treatment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tracking-performance-after-an-event-or-treatment</link>
		<comments>http://www.powerpivotpro.com/2012/02/tracking-performance-after-an-event-or-treatment/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 17:43:37 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[DAX]]></category>
		<category><![CDATA[Medical/Scientific]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3715</guid>
		<description><![CDATA[&#160; “…then they start thinking that, ‘where there’s smoke there’s fire’ logic…” Continuing the Impromptu Series of Simple Real World Examples The Mr. Excel PowerPivot Forum has inspired me to change gears a little bit and focus more time on simple techniques that don’t break the DAX Spicy Scale while still being very useful, everyday [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="Jackie Brown - A Tarantino Movie I Need to Revisit Soon" border="0" alt="Jackie Brown - A Tarantino Movie I Need to Revisit Soon" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb.png" width="479" height="252"></a></p>
<p align="center"><strong>“…then they start thinking that, ‘where there’s smoke there’s fire’ logic…”</strong></p>
<h3>Continuing the Impromptu Series of Simple Real World Examples</h3>
<p>The <strong><a href="http://www.mrexcel.com/forum/forumdisplay.php?f=29" target="_blank">Mr. Excel PowerPivot Forum</a></strong> has inspired me to change gears a little bit and focus more time on simple techniques that don’t break the <strong><a href="http://www.powerpivotpro.com/2010/11/learning-dax-measures-the-spicy-function-scale/">DAX Spicy Scale</a></strong> while still being very useful, everyday stuff. I sometimes take this stuff for granted and end up looking for topics that are much more “clever” when in reality we all can use a good dose (or two, or ten) of basic useful examples.</p>
<h3>Medical Treatments – Are They Effective?&nbsp; Counterproductive?</h3>
<p>A user over at the forum named “Mirknin” posted<strong> <a href="http://www.mrexcel.com/forum/showthread.php?t=609643" target="_blank">the following question</a></strong>:</p>
<blockquote><p>I have a relatively simple data set where each row represents a week, each week has a number of data columns. Occassionally, however, we have treatments and I set up Excel with a column where the treatment is recorded as 1 &#8211; i.e. a treatment occurred that week, otherwise the cells are left blank.</p>
<p>I AddColumn in PowerPivot to generate a unique identifier (through the usual ampersand formula) to represent whether a treatment occurred in a specific week. Using the Slicer, I can PivotTable to see the data from the row where the treatment took place because all this info is related to that week, but seeing the data for following four weeks would let me see whether the treatment had made an effect.</p>
<p>I guess my query is whether the Slicer can be modified in such a way as to report the row it&#8217;s associated with plus subsequent rows&#8230;</p>
</blockquote>
<h3>Data Set:&nbsp; Let’s Use Trees Rather than People <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/wlEmoticon-smile.png"></h3>
<p>When I was manufacturing sample data for this I got a bit squeamish about it.&nbsp; Not for the obvious reasons though – I’ll explain at the end of the post.&nbsp; But for now, just know that we’re going to work with Trees, like in a Botany lab, and some experimental treatment they are receiving.</p>
<p>We have a calendar of treatments – a list of dates and Yes/No for each:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb1.png" width="212" height="345"></a></p>
<p align="center"><strong>Calendar of Treatments</strong></p>
<p>And then a table of health readings taken for various trees in the lab on specific dates:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb2.png" width="262" height="345"></a></p>
<p align="center"><strong>Tree Health Measurements</strong></p>
<h3 align="left">Normal Slicer Function Across Relationships</h3>
<p align="left">Notice that the two tables have the little “relationship” icons on the Date column?&nbsp; These two tables are related on that column.&nbsp; So if I write an “average health” measure and put the Yes/No treatment field on a slicer, I get:</p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb3.png" width="375" height="110"></a></p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb4.png" width="374" height="119"></a></p>
<p>But if I put Date on rows, we’ll see that all I am “getting” in my health scores is the health of the tree on the day the treatment was applied:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb5.png" width="460" height="330"></a></p>
<h3>But I Want the Health Scores Over the Two Days AFTER Treatment!</h3>
<p>I want to track a range of dates after a treatment is applied, so I need to do something different here.</p>
<p>What I need is a new column in the TreatmentCalendar table:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb6.png" width="322" height="508"></a></p>
<p>If I use THAT column as a slicer, or even better, put it on rows of the pivot, I get what I want:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb7.png" width="414" height="158"></a></p>
<p>Hey, check it out!&nbsp; Trees are doing a little bit better in the two days after they receive treatment!&nbsp; (That’s lucky, since this sample data was created using RANDBETWEEN).</p>
<h3>But how did I build that “Recently Treated” Calculated Column?</h3>
<p>Did I say up front that this was going to be LOW on the <strong><a href="http://www.powerpivotpro.com/2010/11/learning-dax-measures-the-spicy-function-scale/">DAX Spicy Scale</a></strong>?&nbsp; Hmm.</p>
<p>First let me repeat a longstanding recommendation:&nbsp; if you are using a database as your data source for PowerPivot, you should seriously consider having this calculated column generated in the database and NOT in PowerPivot.&nbsp; <strong><a href="http://www.powerpivotpro.com/2011/11/why-powerpivot-is-better-fed-from-a-database-pt2/">There are multiple benefits of that</a></strong>, as long as it’s an option.</p>
<p>If it’s not an option, you still have two choices.&nbsp; For something relatively quick and dirty, you can do the calc column in Excel and just paste an entirely new TreatmentSchedule table into PowerPivot.</p>
<p>But for larger data sets, or cases where you can’t have that manual intervention step every time you get new data, you’re gonna have to write the calc column in PowerPivot.</p>
<p>And since PowerPivot lacks A1-style reference, and this calc column has to look at rows other than just the current row in order to get its answer, you have to use the dreaded EARLIER function.</p>
<h3>Primer:&nbsp;&nbsp; Simple Use of the EARLIER Function</h3>
<p>Before we do something advanced with EARLIER, let’s cover the basic usage first:</p>
<p>Say I have the following VERY simple table like this:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb8.png" width="299" height="206"></a></p>
<p>And I want to add a third column that is the total for each customer:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image9.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb9.png" width="438" height="156"></a></p>
<p>How do I do that?</p>
<p>The calc column formula for that third column is this:</p>
<p><font size="3" face="Courier New">=CALCULATE(SUM([Amt]), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(&#8216;Table&#8217;), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8216;Table&#8217;[Customer]=EARLIER(&#8216;Table&#8217;[Customer])<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</font></p>
<p>Explaining EARLIER() in depth may be its own post.&nbsp; Yeah.&nbsp; This was probably the LAST function I learned to use.&nbsp; It’s an ongoing joke between me and the Italians actually.</p>
<p>Here’s the Formula for the RecentTreatment Yes/No Column</p>
<p>With that background in mind, here is the formula for the Yes/No column.&nbsp; I actually did it in two columns:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image10.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb10.png" width="520" height="303"></a></p>
<p>That 1/0 column is the tricky one.&nbsp; The Yes/No column is just a “cosmetic” column built using IF.</p>
<p>Here’s the 1/0 formula:</p>
<p><font size="3" face="Courier New">=CALCULATE(COUNTROWS(TreatmentCalendar), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TreatmentCalendar[IsTreatmentDay]=&#8221;Yes&#8221;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(TreatmentCalendar), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TreatmentCalendar[Date] &lt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EARLIER(TreatmentCalendar[Date]) <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TreatmentCalendar[Date] &gt;= <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EARLIER(TreatmentCalendar[Date])-2))</font></p>
<p>Easy right? <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/wlEmoticon-smile.png"></p>
<h3>I Promise to Come Back and Explain This!</h3>
<p>EARLIER isn’t all that bad really and neither is the formula above.&nbsp; But it definitely feels a lot harder than an Excel pro wants it to be.&nbsp; Given the length of this post however I think I’ll do that next time.</p>
<h3>Calling Marco and Alberto!</h3>
<p>There are a couple of obvious questions here that my simplified example just outright skipped:</p>
<ol>
<li>What if I have more than one kind of treatment?</li>
<li>What if not all “patients” receive the same treatment, and/or on different days?</li>
<li>Can I use a slicer to control how “wide” the range of dates is rather than hardcoding 2 into my formulas?</li>
</ol>
<p>The fact that I was dodging those problems in this post is why I was squeamish about using people as the example rather than trees.&nbsp; And all three of those make this problem a lot harder.</p>
<p>And what do we do when we hit a problem that goes beyond the powers of mortal Excel Pros?&nbsp; We throw up the <strong><a href="http://www.powerpivotpro.com/2011/12/the-greatest-formula-in-the-world-part-two/">Boot Signal</a></strong> of course:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image11.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb11.png" width="444" height="345"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/tracking-performance-after-an-event-or-treatment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing scientific and other data across trials</title>
		<link>http://www.powerpivotpro.com/2012/01/comparing-scientific-and-other-data-across-trials/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=comparing-scientific-and-other-data-across-trials</link>
		<comments>http://www.powerpivotpro.com/2012/01/comparing-scientific-and-other-data-across-trials/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 05:56:00 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Custom Calendars]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Slicers]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3683</guid>
		<description><![CDATA[Enjoying the new forum! I’ve been spending some time on the Mr. Excel PowerPivot forum over the past few days and I must say I am enjoying the experience.&#160; The blog is essentially a one-way form of communication, given that far less than 1% of views result in comments. But a forum!&#160; Aha!&#160; That is [...]]]></description>
			<content:encoded><![CDATA[<h3>Enjoying the new forum!</h3>
<p>I’ve been spending some time on the <strong><a href="http://www.mrexcel.com/forum/forumdisplay.php?f=29" target="_blank">Mr. Excel PowerPivot forum</a></strong> over the past few days and I must say I am enjoying the experience.&nbsp; The blog is essentially a one-way form of communication, given that far less than 1% of views result in comments.</p>
<p>But a forum!&nbsp; Aha!&nbsp; That is different!&nbsp; I encourage you to head over there and drop a question, or maybe even try your hand at answering a question or two when they pop up.</p>
<h3>Comparison Across Trials:&nbsp; A Simple and Useful Example</h3>
<p>Here’s one that I particularly liked because it’s practical and ultimately pretty simple on the <strong><a href="http://www.powerpivotpro.com/2010/11/learning-dax-measures-the-spicy-function-scale/">DAX Spicy Scale</a></strong> after a few posts of <strong><a href="http://www.powerpivotpro.com/2012/01/prepayments-deferred-revenue/">higher complexity</a></strong> (but also extreme utility).&nbsp; </p>
<p>A user over there on the forum named “TopDown” asked a question that I will paraphrase here.&nbsp; Imagine you have a dataset like this:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image32.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="Scientific Trial Data in PowerPivot" border="0" alt="Scientific Trial Data in PowerPivot" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb26.png" width="424" height="368"></a></p>
<p align="center"><strong>Measurements Table:&nbsp; A Series of Measurements Loaded into PowerPivot</strong></p>
<p>Basically you have a set of sensors (111 through 115 in this data) and you take a set of measurements at each sensor (temperature and pressure in this example).&nbsp; Then you repeat the measurements over multiple experiments – trials 1, 2, 3, 4, etc.</p>
<p>Topdown had a few questions:</p>
<ol>
<li><strong>How do I compare the results of each trial back to the first trial?</strong>&nbsp; Absolute difference versus trial #1 and percent difference versus trial 1.</li>
<li><strong>Do I have to create calculated columns</strong> for the absolute and percent difference for each measurement like temperature?&nbsp; (Topdown said he has MANY more than two measurements)</li>
<li><strong>And if the answer to 2 is “yes,” then how is PowerPivot useful?</strong>&nbsp; Once I have the calc columns, I can create this in a normal pivot.</li>
</ol>
<p>I think intuitively, Topdown sensed that this is a great place to use PowerPivot, and just couldn’t put his finger on the how.&nbsp; He was right.&nbsp; And I really liked this problem because it is so different from the sorts of problems I work on most of the time.</p>
<h3>Solution #1:&nbsp; Nothing Fancy</h3>
<p>Hey, if you ALWAYS want trial #1 to be the baseline, this is pretty easy.&nbsp; Let’s focus on Temperature for a moment, with the understanding that Pressure will be solved the same way.</p>
<p>First we create a basic measure, AvgTemp:</p>
<p><font size="3" face="Courier New">[AvgTemp] = AVERAGE(Measurements[Temperature])</font></p>
<p>Then we create a version of that measure that ALWAYS returns the value for Trial 1:</p>
<p><font size="3" face="Courier New">[Trial1Temp] = <br />CALCULATE([AvgTemp], Measurements[Trial Number]=1)</font></p>
<p>Put both of those on a pivot with Trial Number on rows:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image33.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb27.png" width="242" height="144"></a></p>
<p>The AvgTemp measure respects the Trial Number filter on rows, just like normal measures do.&nbsp; But the Trial1Temp measure, by virtue of CALCULATE(), overrides that filter and sets it to Trial 1.&nbsp; The only place the two measures “agree” is for Trial 1, as expected.</p>
<p>A couple of quick subtraction and division measures follow:</p>
<p><font size="3" face="Courier New">[Delta Temp] = [AvgTemp]-[Trial1Temp]</font></p>
<p><font size="3" face="Courier New">[Pct Change Temp] = [DeltaTemp]/[Trial1Temp]</font></p>
<p>Yielding:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image34.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb28.png" width="473" height="178"></a></p>
<p>Again, that first row (Trial 1) is pretty useless, but the others are doing what we expect.&nbsp; If that’s distracting, we can filter the pivot to NOT display Trial 1, or we can put Trial on a slicer.</p>
<p><strong>No calc columns required.&nbsp; You just can’t do this in “normal” Excel.</strong></p>
<p>We can stop here and have a quite useful solution, but let’s get just a bit fancier <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile6.png"></p>
<h3>Solution #2:&nbsp; Let the report consumer choose which trials to compare!</h3>
<p>Folks, I am addicted, yes, ADDICTED to what I call “disconnected slicer tables.”&nbsp; What do I mean by that?&nbsp; I mean, tables that I import into PowerPivot for the sole purpose of parameterization.&nbsp; Let the report consumer make a selection, I “harvest” that selection via a simple formula, and then I feed that parameter into my other measures.</p>
<p>I call these tables “disconnected” because I do NOT create relationships between them and the other tables – they are islands.</p>
<p>Here’s one I just pasted into the model.&nbsp; Note that TrialSlicer2 is identical.</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image35.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb29.png" width="324" height="248"></a></p>
<p align="center"><strong>TrialSlicer1 Disconnected Slicer Table <br />(TrialSlicer2 Table is IDENTICAL)</strong></p>
<p>Put both of these new single column tables on slicers and they have ZERO impact on my pivot, since there are no relationships:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image36.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb30.png" width="629" height="260"></a></p>
<p><strong>No matter what I select on those slicers, [AvgTemp] keeps returning 50.65,</strong> because there is no relationship to the Measurements table.&nbsp; The field list is warning me about that, but I don’t want to create one.</p>
<p><strong>Instead, I write measures to “harvest” the user’s selections on those slicers</strong>, so that I can use them as parameters:</p>
<p><font size="3" face="Courier New">[SelectedTrial1] = <br />IF(COUNTROWS(VALUES(TrialSlicer1[Compare To Trial]))&gt;1,BLANK(),<br />&nbsp;&nbsp;&nbsp; MAX(TrialSlicer1[Compare To Trial]))</font></p>
<p><font size="3" face="Courier New">[SelectedTrial2] = <br />IF(COUNTROWS(VALUES(TrialSlicer2[Compare To Trial]))&gt;1,BLANK(),<br />&nbsp;&nbsp; MAX(TrialSlicer2[Compare To Trial]))</font>
<p>The measures are identical except for the tables they reference, and which tables I “anchor” them to in the field list.&nbsp; The results look like:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image37.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb31.png" width="611" height="192"></a></p>
<p>OK, now that I have those two parameter measures, I can modify the [Trial1Temp] measure from above to no longer be “hard-coded” to Trial 1.&nbsp; Now I can make it variable by parameterizing it using [SelectedTrial1]:</p>
<p><font size="3" face="Courier New">[Trial1Temp] = <br />CALCULATE([AvgTemp],<br />&nbsp;&nbsp; FILTER(Measurements, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Measurements[Trial Number]=[SelectedTrial1]<br />&nbsp;&nbsp; )<br />)</font></p>
<p>Note that I only have to use FILTER() inside the CALCULATE simply because the “normal” parameters to calculate will NOT accept a measure name on the right side of the equals sign.</p>
<p>This new measure responds nicely to the selections made on the first slicer, whereas AvgTemp keeps ignoring it as always:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image38.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb32.png" width="388" height="169"></a></p>
<p>Now I can write a new [TrialXTemp] measure that is exactly the same as Trial1Temp except that it respects [SelectedTrial2] instead of [SelectedTrial1].&nbsp; Update my Delta and Pct Delta measures and now I have a completely interactive pivot:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image39.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb33.png" width="465" height="197"></a></p>
<p>Neat huh?&nbsp; And still pretty simple. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile6.png"></p>
<h3>Download the workbook, more variations, etc.</h3>
<p align="center"><strong><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/scientific-trials.xlsx"><font size="3">Download the workbook here</font></a></strong></p>
<p>And for another example of disconnected slicer tables, <strong><a href="http://www.powerpivotpro.com/2011/04/ab-campaign-analysis-with-start-end-date-slicers/">see here</a></strong>.</p>
<p>And naturally, if you wanted to write a measure that automatically returns the delta between trial N versus trial N-1, you can always use the <strong><a href="http://www.powerpivotpro.com/2011/12/the-greatest-formula-in-the-world-part-one/">Greatest Formula in the World</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/comparing-scientific-and-other-data-across-trials/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mini Post #3:  Measures Can Return Text!</title>
		<link>http://www.powerpivotpro.com/2012/01/mini-post-3-measures-can-return-text/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mini-post-3-measures-can-return-text</link>
		<comments>http://www.powerpivotpro.com/2012/01/mini-post-3-measures-can-return-text/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 16:51:32 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[DAX]]></category>
		<category><![CDATA[Quick Tips & Tricks]]></category>
		<category><![CDATA[Usability and Appearance]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3663</guid>
		<description><![CDATA[&#160; Yes, That IS a Measure Third and Final Mini-Post for Today Got a question from a friend yesterday that made me realize I should share this:&#160; in PowerPivot, your formulas do NOT have to return numbers.&#160; As I’ve shown several times, they can return dates, but they can also return just plain and simple [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image31.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb25.png" width="536" height="522"></a></p>
<p align="center"><strong><font size="2">Yes, That IS a Measure</font></strong></p>
<h3>Third and Final Mini-Post for Today</h3>
<p>Got a question from a friend yesterday that made me realize I should share this:&nbsp; in PowerPivot, your formulas do NOT have to return numbers.&nbsp; As I’ve shown several times, they can return dates, but they can also return just plain and simple text.</p>
<p>For instance, check out the formula for that Trend measure above:</p>
<p><font size="3" face="Courier New">[Trend] = IF([$ - Sales] &gt; [$ - Sales YAG], &#8220;Up&#8221;, &#8220;Down&#8221;)</font></p>
<p>[$ – Sales] and [$ – Sales YAG] are both measures (“current sales” and “sales year ago.”)&nbsp; So this IF() is 100% dynamic and responds to whatever fields and filtering/slicing you’ve done on your pivot!&nbsp; If sales have gone up since last year, it returns “Up,” otherwise it returns “Down.”</p>
<p>One of those cool little tricks that comes in handy from time to time <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile5.png"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/mini-post-3-measures-can-return-text/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mini Post #2:  Mr. XL Launches PowerPivot Forum</title>
		<link>http://www.powerpivotpro.com/2012/01/mini-post-2-mr-xl-launches-powerpivot-forum/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mini-post-2-mr-xl-launches-powerpivot-forum</link>
		<comments>http://www.powerpivotpro.com/2012/01/mini-post-2-mr-xl-launches-powerpivot-forum/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 16:30:16 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Hello World / Administrivia]]></category>
		<category><![CDATA[PowerPivot Links]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3658</guid>
		<description><![CDATA[&#160; Click Image to Visit the Forum The other day I suggested to Bill Jelen that he might want to add a PowerPivot-dedicated forum on MrExcel.com.&#160; I wasn’t sure what he would say, to be honest.&#160; I mean, he didn’t have a dedicated forum for really anything else – there wasn’t one for VBA, wasn’t [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.mrexcel.com/forum/forumdisplay.php?f=29" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image30.png" width="468" height="359"></a></p>
<p align="center"><strong><font size="2">Click Image to Visit the Forum</font></strong></p>
<p>The other day I suggested to Bill Jelen that he might want to add a PowerPivot-dedicated forum on MrExcel.com.&nbsp; I wasn’t sure what he would say, to be honest.&nbsp; I mean, he didn’t have a dedicated forum for really anything else – there wasn’t one for VBA, wasn’t one for formulas, wasn’t one for charts.&nbsp; Instead basically all of those are combined in one single forum.</p>
<p>I respect that approach, really.&nbsp; If my question involves formulas, charts, and VBA, where would I put such a question?&nbsp; If he’d segmented the forums like that, it may have fragmented the discussion and ultimately resulted in an ineffective forum.</p>
<p>So I was perfectly prepared for him to say “good idea Rob but I’d rather not introduce noise with a new forum.”&nbsp; Grudgingly I would have been forced to accept that.&nbsp; But I was hoping he’d bend the rules just a bit here and make an exception, since PowerPivot still IS very new to the Excel audience.</p>
<p>I was overthinking it.&nbsp; He loved the idea.&nbsp; And the forum is already off to a decent start.</p>
<p><strong>So if you have a question, pop on over there and post it.</strong>&nbsp; Also, feel free to answer questions as well – I’m pretty sure I’m going to fall behind soon.</p>
<p><strong>Oh, and be kind to newcomers.</strong>&nbsp; One of the benefits of this new forum is that the legions of Excel pros who frequent MrExcel.com will undoubtedly notice all the activity and wonder what this whole “PowerPivot” thing is all about.</p>
<p>Here’s the link again:</p>
<p align="center"><a title="http://www.mrexcel.com/forum/forumdisplay.php?f=29" href="http://www.mrexcel.com/forum/forumdisplay.php?f=29"><strong><font size="2">http://www.mrexcel.com/forum/forumdisplay.php?f=29</font></strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/mini-post-2-mr-xl-launches-powerpivot-forum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mini Post #1:  List of all 300+ posts</title>
		<link>http://www.powerpivotpro.com/2012/01/mini-post-1-list-of-all-300-posts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mini-post-1-list-of-all-300-posts</link>
		<comments>http://www.powerpivotpro.com/2012/01/mini-post-1-list-of-all-300-posts/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 16:14:50 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Hello World / Administrivia]]></category>
		<category><![CDATA[PowerPivot Links]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3655</guid>
		<description><![CDATA[&#160; “I have detailed files.” A few quick mini-posts today.&#160; First up, I was recently asked if there was a way to see the title of every post and its URL all in one place for reference.&#160; And the answer is…&#160; no, but there should be. Next week I hope to add a page to [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.youtube.com/watch?v=5OHnd1IqWmE" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image29.png" width="351" height="322"></a></p>
<p align="center"><strong><font size="3" face="Arial">“I have detailed files.”</font></strong></p>
<p>A few quick mini-posts today.&nbsp; First up, I was recently asked if there was a way to see the title of every post and its URL all in one place for reference.&nbsp; And the answer is…&nbsp; no, but there should be.</p>
<p>Next week I hope to add a page to the site that provides that sort of index.&nbsp; In the meantime, here’s a really rough export of all 300+ post titles and URL’s.&nbsp; It’s not perfect by any stretch but you may find it useful in the meantime.</p>
<p>It is, of course, in Excel format <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile4.png"></p>
<p align="center"><strong><font size="4"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/posts.xlsx">Click here to download the list of all</a> <br /><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/posts.xlsx">300+ posts and their URL’s</a></font></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/mini-post-1-list-of-all-300-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prepayments &amp; Deferred Revenue</title>
		<link>http://www.powerpivotpro.com/2012/01/prepayments-deferred-revenue/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prepayments-deferred-revenue</link>
		<comments>http://www.powerpivotpro.com/2012/01/prepayments-deferred-revenue/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 05:10:00 +0000</pubDate>
		<dc:creator>David Churchward</dc:creator>
				<category><![CDATA[Accounting/Financial Techniques]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Accounting and Finance Techniques]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[PowerPivot]]></category>
		<category><![CDATA[SUMX]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3532</guid>
		<description><![CDATA[&#160; Guest Post by David Churchward&#160; You’ll often hear us Accountants referring to things like adjusting for timing differences or prepaying costs or deferring revenue.&#160; This is often interpreted as &#8220;massaging the numbers&#8221;, but, believe me, there is a very reasonable theory behind it.&#160; These sort of adjustments can be made for a number of [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><em>Guest Post by </em><strong><a href="http://linkd.in/pNwvk4" target="_blank">David Churchward</a>&nbsp;</strong></p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Deferred-Revenue-Layout-Example.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments &amp; Deferred Revenue Layout Example" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Deferred-Revenue-Layout-Example_thumb.jpg" width="642" height="295"></a></p>
<p>You’ll often hear us Accountants referring to things like <strong>adjusting for timing differences </strong>or <strong>prepaying costs </strong>or <strong>deferring revenue</strong>.&nbsp; This is often interpreted as &#8220;massaging the numbers&#8221;, but, believe me, there is a very reasonable theory behind it.&nbsp; These sort of adjustments can be made for a number of reasons, but the main underlying concept is that adjustments have to be made to ensure that the transaction is reflected in the period to which it relates.</p>
<p>In this post, I’ll explain how prepayments and revenue deferrals work together with the DAX measures that drive these calculations.</p>
<h3>What are Timing Differences?</h3>
<p>It’s worthwhile just taking the time to understand what we’re trying to do here.&nbsp; Take, for example, a support contract that you bill to your customer in advance for 12 months.&nbsp; You invoice the customer in advance and the customer duly pays.&nbsp; However, as per accounting principles, you have to reflect the fact that the invoice relates to 12 months worth of support.&nbsp; In it’s simplest sense, your Profit and Loss should therefore see 1/12th of that revenue in each reporting month.&nbsp; Since the invoice is for a full 12 months, we have to create transactions to defer the element that relates to future periods, entering the balance onto the Balance Sheet.</p>
<p>As a quick example of the calculation, at the end of the first month to which the support contract relates, you would defer 11/12ths of the invoice value:</p>
<p><strong>Deferral Value = Invoice Value * (Number of Future Months / Total Months on Invoice)</strong></p>
<p>We would therefore see 1/12th of the invoice value on our Profit &amp; Loss and the remaining 11/12ths would be sat on our balance sheet.</p>
<p>Referring to Prepayments separately from Deferred Revenue (or Deferred Costs) for that matter is simply a matter of terminology.&nbsp; The underlying concept of the calculation is the same.&nbsp; I consider everything to be a Prepayment in this sense.&nbsp; The only difference is where the transactions sit in the Profit &amp; Loss and Balance Sheet statements.</p>
<p><strong>Note – Accountants may defer revenue or costs for other reasons.&nbsp; This post is simply a calculation to reflect the timing difference adjustment.</strong></p>
<h3>Days or Months</h3>
<p>In the simplified example above, I’ve used a monthly concept that allows for a simple allocation of the transaction value to the Profit &amp; Loss in equal monthly values.&nbsp; However, as we know, the number of days in each month can differ.&nbsp; For this calculation to be more accurate, we should pro-rata the calculation based on the number of days in that month.</p>
<p>The DAX measures that I show in this post will allow for selection of Monthly Deferral / Prepay or Daily Deferral / Prepay.&nbsp; Which you use depends on your accounting policy.</p>
<h3>Data Structure</h3>
<p>My data structure is as follows:</p>
<h4>Fact Table (Prepayments)</h4>
<p>I have a core fact table which contains all transactions that require a prepayment or deferred revenue adjustment.&nbsp; I have called this table <strong>Prepayments</strong>.</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Fact-Table.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Fact Table" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Fact-Table_thumb.jpg" width="642" height="109"></a></p>
<p>The key elements to this table are as follows:</p>
<p><strong>Date – </strong>This is the transaction date of the invoice posting</p>
<p><strong>Nominal_PandL – </strong>This is the Profit &amp; Loss Nominal Ledger account that the invoice was posted to</p>
<p><strong>Nominal_Prepay_BS – </strong>This is the Balance Sheet Nominal Ledger account where the prepayment or deferral will be posted to.</p>
<p><strong>Start / End – </strong>These are the start and end dates of the transaction.&nbsp; If the invoice relates to a period from 1st Jan 2012 to 31st Dec 2012 then these dates would be 01/01/2012 and 31/12/2012 respectively.</p>
<p><strong>Method – </strong>This is either MONTH or DAY depending on the level of granularity that you want your calculation to be calculated at.</p>
<p><strong>PandL_Values – </strong>This is the total value of the invoice charge.</p>
<p><strong>Prepay_Start / Prepay_End – </strong>I’ll come onto these alternative dates shortly.&nbsp; In brief, these exist because your prepayment timeframe may differ from the strict dates to which the invoice relates.</p>
<h4>Days Table</h4>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Days-Table.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Days Table" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Days-Table_thumb.jpg" width="447" height="126"></a></p>
<p>This table holds a sequential, unbroken list of dates (Date) together with associated attributes including <strong>Month End Date</strong>, <strong>Previous Month End Date</strong>, <strong>Month Start Date</strong> and <strong>Next Month Start Date</strong>.&nbsp; These attributes become relevant in our measures and, whilst these can be calculated at run time, it’s easier to take care of them this way.&nbsp; The purest would be correct in suggesting that there’s a potential performance impact, but dealing with these aspects in our measure may confuse the issue for now!</p>
<h4>Months Table</h4>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Months-Table.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Months Table" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Months-Table_thumb.jpg" width="360" height="103"></a></p>
<p>Similar to the Days table, this table holds a collection of attributes relevant at the month level including <strong>Month End Date</strong>, <strong>Previous Month End Date</strong>, <strong>Month Start Date</strong> and <strong>Next Month Start Date</strong>.</p>
<h4>Start Dates Table</h4>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Start-Dates-Table.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Start Dates Table" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Start-Dates-Table_thumb.jpg" width="280" height="176"></a></p>
<p>This is another sequential list of dates which is joined to the <strong>Start</strong> field on the <strong>Prepayments</strong> table.&nbsp; I’ll come on to the <strong>PrepayStartdate</strong> field shortly.</p>
<h4>End Dates Table</h4>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-End-Dates-Table.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments End Dates Table" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-End-Dates-Table_thumb.jpg" width="182" height="134"></a></p>
<p>This is another sequential list of dates which is joined to the <strong>End </strong>field on the <strong>Prepayments </strong>table.&nbsp; You’ll notice the absence of a third field which, again, I’ll come on to.</p>
<h4>Table Relationships</h4>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Table-Relationships.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Table Relationships" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Table-Relationships_thumb.jpg" width="404" height="268"></a></p>
<p>The only relationships that exist are between the <strong>Prepayments</strong> table and the <strong>Start_Dates </strong>and <strong>End_Dates </strong>tables.</p>
<h3></h3>
<h3>Dates That Span Periods</h3>
<p>A charge period can be anything.&nbsp; In it’s simplest form, it would be for complete months starting on the first day of a month and ending on the last day of a month.&nbsp; However, things are never that simple.&nbsp; Unfortunately, you could get a charge that is for 3 months from 14th Jan 2012 to 13th Apr 2012 as an example.&nbsp; The time between these two dates is indeed 3 months, but the charge covers 4 discrete calendar months.</p>
<p>If you’re using a <strong>Days</strong> method of apportionment, this isn’t a problem.&nbsp; However, if you’re apportioning on the basis of months, you have 3 options in this example:</p>
<ol>
<li>Take the 3 equal months charges as Feb, Mar and Apr
<li>Take the 3 equal months charges as Jan, Feb and Mar
<li>Take equal monthly charges for Feb and Mar with a pro-rata charge for Jan and Apr. </li>
</ol>
<p>In truth, if you’re going to even attempt option 3, you would probably be better off jumping straight for the <strong>Days</strong> apportionment and circumvent the problem!&nbsp; Options 1 and 2 depend on accounting policy and president.&nbsp; The prudent option would probably be to go for option 2 for costs (taking them as early as possible) and option 1 for Revenue (taking later rather than earlier).&nbsp; On the basis of consistency, I feel it’s best to prescribe this in your accounting policies and then use the same method for everything.&nbsp; Having said that, the best option is almost certainly to take a <strong>Days</strong> approach.</p>
<p>For the purpose of this post, I’m going to use option 1.&nbsp; This means that I’ll translate any start date that isn’t the first day of the month to the first day of next month.&nbsp; I create two calculated fields on my <strong>Prepayments</strong> table as follows:</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepay_Start</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=IF(Prepayments[Method]=&#8221;MONTH&#8221;,RELATED(Start_Dates[PrepayStartdate]),Prepayments[Start])</span></span></span></p>
<p>&nbsp;</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepay_End</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=IF(Prepayments[Method]=&#8221;MONTH&#8221;,RELATED(End_Dates[MonthEndDate]),Prepayments[End])</span></span></span></p>
<p>These measures retrieve an alternative date from the Start_Dates and End_Dates table.&nbsp; For any <strong>mid-month </strong>dates, this table holds a <strong>PrepayStartdate</strong> of the first of the next month.</p>
<h3>The Months Approach</h3>
<p>Firstly, let’s just remember our simplified equation to give us the deferral value:</p>
<p><strong>Deferral Value = Invoice Value * (Number of Future Months / Total Months on Invoice)</strong></p>
<p>And now we’ll jump straight into the DAX</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Month_Prepayment</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=IF(COUNTROWS(VALUES(Months[MonthEndDate]))=1,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">IF(LASTDATE(VALUES(Prepayments[Prepay_Start]))&lt;LASTDATE(VALUES(Months[MonthEndDate]))</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&amp;&amp;LASTDATE(VALUES(Prepayments[Prepay_End]))&gt;LASTDATE(VALUES(Months[MonthEndDate])),</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">CALCULATE(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">SUMX(Prepayments,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[PandL_Value]</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">*(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.5in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">(CALCULATE(COUNTROWS(Months),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">DATESBETWEEN(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Months[MonthEndDate],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(VALUES(Months[MonthEndDate])),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(End_Dates[MonthEndDate])</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )-1</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp; )/</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.5in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">CALCULATE(COUNTROWS(Months),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">DATESBETWEEN(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Months[MonthEndDate],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(Start_Dates[PrepayStartdate]),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(End_Dates[MonthEndDate])</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[Method]=&#8221;Month&#8221;</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">)</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">)</span></span></span></p>
<p>The first two <strong>IF statements</strong> in this measure calculate when we want the rest of the measure to evaluate.&nbsp; We want this measure to evaluate when:</p>
<ol>
<li>The number of month end dates on our report is 1 (because anything else is likely to return an error)
<li>The prepayment start and end dates fit within the range of our report.&nbsp; This, essentially, tells the report which month end dates to display and the rest of the measure uses these dates to evaluate the correct result to display. </li>
</ol>
<p>We then use a <strong>CALCULATE</strong> statement to calculate our basic equation:</p>
<p><strong>Deferral Value = Invoice Value * (Number of Future Months / Total Months on Invoice)</strong></p>
<p><strong>Invoice Value = </strong><span style="font-size: small"><span style="font-family: courier new"><span style="color: #000000">SUMX(Prepayments,</span></span><span style="font-family: courier new"><span style="color: #000000">Prepayments[PandL_Value]</span></span></span></p>
<p><strong>Number of Future Months</strong> =</p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">*(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.5in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">(CALCULATE(COUNTROWS(Months),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">DATESBETWEEN(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Months[MonthEndDate],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(VALUES(Months[MonthEndDate])),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(End_Dates[MonthEndDate])</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )-1</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p>&nbsp;</p>
<p>This calculates the number of month values in the <strong>Months</strong> table using the <strong>COUNTROWS</strong> function that sit between the <strong>MonthEndDate</strong> on our report and the <strong>MonthEndDate</strong> of the end date of our transaction.&nbsp; I then subtract 1 to reflect that the <strong>MonthEndDate</strong> of the report is not included as it is the current reporting month.</p>
<p><strong>Total Months on Invoice</strong> =</p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">/</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.5in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">CALCULATE(COUNTROWS(Months),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">DATESBETWEEN(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Months[MonthEndDate],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(Start_Dates[PrepayStartdate]),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(End_Dates[MonthEndDate])</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp; )</span></span></span></p>
<p>Once again, I’m counting the number of entries in the <strong>Months</strong> table that sit between the start and end dates of our prepayment timeframe.</p>
<p>I then apply a filter to the <strong>CALCULATE</strong> statement to ensure that this measure is only applied to transactions where the <strong>Method </strong>is set to &#8220;MONTH&#8221;.</p>
<h4>So why do we have to use SUMX for the Invoice Value?</h4>
<p>The simple answer is that we need to <strong>conduct this equation at the transaction level of granularity and then SUM the results.&nbsp; </strong>The main reason for this is that we’re using a division calculation which is only relevant at that level and becomes confused and meaningless when aggregated.</p>
<p>In order to show this, I’ll explain a simple example of converting USD to GBP with some theoretical exchange rates:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/SUMX-Example.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="SUMX Example" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/SUMX-Example_thumb.jpg" width="197" height="85"></a></p>
<p>What are the values for X and Y?&nbsp; We obviously know that Y needs to be <strong>150</strong>, being the sum of the two GBP values.&nbsp; However, if we use <strong>SUM</strong>, we wouldn’t get that answer.&nbsp; The answer that you would get depends on how you condition your measure but you wouldn’t get an answer of 150, it’s more likely to be 150/2=75 (where <strong>MAX</strong> is used in the equation) or 250/3.5=71.42 (where <strong>SUM</strong> is used) or 250/1.75=142.86 (where <strong>SUM</strong> and <strong>AVERAGE </strong>is used).&nbsp; The correct value only comes about when you use SUMX which sums the underlying outcomes of the equation and evaluates at the granularity level of the table that you specify (in our case the base level fact table – Prepayments).</p>
<p>This is a very brief outline of a very complex and clever function.&nbsp; In short, if you want to simply add the outcome of underlying equations, SUMX is the way to go.</p>
<p>It’s worth checking out one of my favourite ever posts to start getting to grips with SUMX &#8211; <a href="http://www.powerpivotpro.com/2010/02/sumx-the-5-point-palm-exploding-fxn-technique/" target="_blank"><strong>SUMX() &#8211; The 5 point palm exploding fxn technique</strong></a>.</p>
<h3></h3>
<h3>The Days Approach</h3>
<p>This uses the same methods and concepts as the Month approach.&nbsp; The only difference is that we’re evaluating to the number of days in the relevant periods of time.</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Days_Prepayment</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=IF(COUNTROWS(VALUES(Months[MonthEndDate]))=1,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">IF(LASTDATE(VALUES(Prepayments[Prepay_Start]))&lt;LASTDATE(VALUES(Months[MonthEndDate]))</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&amp;&amp;LASTDATE(VALUES(Prepayments[Prepay_End]))&gt;LASTDATE(VALUES(Months[MonthEndDate])),</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">CALCULATE(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">SUMX(Prepayments,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[PandL_Value]</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">*(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.5in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">(CALCULATE(COUNTROWS(Days),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">DATESBETWEEN(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Days[Date],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">LASTDATE(VALUES(Months[MonthEndDate])),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[Prepay_End])</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )-1</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp; )/</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.5in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">CALCULATE(COUNTROWS(Days),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.875in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">DATESBETWEEN(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Days[Date],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[Prepay_Start],</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.25in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[Prepay_End]</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 2.625in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 1.125in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">,Prepayments[Method]=&#8221;Day&#8221;</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp; )</span></span></span></p>
<h3>Prepayments Total</h3>
<p>We now have two measures to evaluate our Days Prepayments and our Months Prepayments.&nbsp; We can bring these together in one measure as follows:</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments_Total</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=SUMX(Prepayments,[Month_Prepayment]+[Days_Prepayment])</span></span></span></p>
<p>Once again, I have to use <strong>SUMX</strong> to ensure that this measure sums the total of the underlying calculations.</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Without-Values-Not-Prepaying.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Without Values Not Prepaying" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Without-Values-Not-Prepaying_thumb.jpg" width="642" height="127"></a></p>
<h3>The &#8220;Values Not Prepaying&#8221;</h3>
<p>So we’ve dealt with the reducing balances associated with Monthly and Daily Prepayments and Deferred Revenues.&nbsp; However, what about a situation where the invoice charge relates to future months that haven’t yet been reached?&nbsp; For example, we receive an invoice in January that relates to April and beyond, as in the screen shot above where the last entry has a transaction date of 10th Jan but relates to a period April to October.&nbsp; In this instance, we have to prepay (or defer) the full amount of the invoice for January, February, March and April.</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Value_Not_Prepaying</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=CALCULATE</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">(</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">SUMX(Prepayments,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[PandL_Value]</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">FILTER(Prepayments,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[Date]&lt;LASTDATE(VALUES(Months[MonthEndDate]))</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ),</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">FILTER(Prepayments,</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments[Prepay_Start]&gt;LASTDATE(VALUES(Months[MonthEndDate]))</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.75in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp; )</span></span></span></p>
<p style="line-height: normal; margin: 0in 0in 0in 0.375in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">&nbsp;&nbsp; )</span></span></span></p>
<p>In this measure, we once again use <strong>SUMX</strong> to ensure that we SUM the outcome of the underlying evaluations.&nbsp; However, we apply two filters to limit the selection to situations where certain criteria hold.&nbsp; This is an alternative to preceding the <strong>CALCULATE</strong> with an <strong>IF</strong> statement to conduct this evaluation first.</p>
<ol>
<li>The first filter evaluates when transaction date is less than the MonthEndDate of the report column
<li>The second filter evaluates when the Prepay_Start date is greater than the MonthEndDate of the report column. </li>
</ol>
<p>We then add this into our Prepayments_Total measure as:</p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">Prepayments_Total</span></span></span></p>
<p style="line-height: normal; margin: 0in"><span style="font-family: courier new"><span style="color: #000000"><span style="font-size: small">=SUMX(Prepayments,[Month_Prepayment]+[Days_Prepayment]+[Value_Not_Prepaying])</span></span></span></p>
<p>&nbsp;</p>
<p style="line-height: normal; margin: 0in"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Balance-Sheet-Layout.jpg"><img style="border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" alt="Prepayments Balance Sheet Layout" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/Prepayments-Balance-Sheet-Layout_thumb.jpg" width="642" height="127"></a></p>
<p>And there you have it.&nbsp; Our Balance Sheet layout above shows the total value of each transaction that needs to be prepaid or deferred in each month.</p>
<h3>What This Means to Accountants</h3>
<p>For those Accountants amongst you, you’ll no doubt have cottoned onto the fact that, if you’re careful, this could be your prepayments and deferred revenue reconciliations conquered.&nbsp; The process that I’ve always implemented is as follows:</p>
<ol>
<li>Ensure that all transactions are posted to the Profit and Loss in full, as if the P&amp;L was going to take the whole value in one period.
<li>Capture prepayment start and end dates on each transaction
<li>Extract the data into a PowerPivot application such as this.
<li>Refresh to give you the values that need to be prepaid (as per the above screenshot)
<li>Journal the appropriate values between the Profit and Loss and Balance Sheet on a reversing journal.
<li>Next month the previous transaction will reverse and you do the same again. </li>
</ol>
<p>By doing this, you’ve got a self reconciling Balance Sheet for Prepayments and Revenue Deferrals (and all transactions for that matter that have a straight line release – for example, you could use this for elements of Fixed Asset Depreciation but that’s a whole other post).</p>
<h3></h3>
<h3>And One More Thing</h3>
<p>You may have noticed in the first graphic that there was also a Profit &amp; Loss impact section to the report.&nbsp; I’ll come onto this in a future post but it uses similar concepts to the measures in this post.&nbsp; With this in place, you’ve got elements of a forecast P&amp;L, you’re on course for Recurring Revenue Assurance analysis and you’re putting in place the building blocks of a full Finance Business Intelligence Application that’s just dying to be exposed in SharePoint as per Rob’s post <a href="http://www.powerpivotpro.com/2012/01/in-the-browser-aesthetics-yield-a-greater-return/" target="_blank"><strong>In the Browser Aesthetics Yield a Greater Return</strong></a><strong>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/prepayments-deferred-revenue/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Data of Different Grains:  A Followup</title>
		<link>http://www.powerpivotpro.com/2012/01/data-of-different-grains-a-followup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=data-of-different-grains-a-followup</link>
		<comments>http://www.powerpivotpro.com/2012/01/data-of-different-grains-a-followup/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 05:03:37 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Custom Calendars]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Quick Tips & Tricks]]></category>
		<category><![CDATA[PowerPivot Power Pivot Microsoft SharePoint BI Excel Business Intelligence]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3647</guid>
		<description><![CDATA[&#160; Sales Measure Returns the Same Value for Everything:&#160; We Solved the Calendar/Periods Problem But Now We Have a Products/Category Problem Quick Recap:&#160; We Created a Separate “Periods” Table In last week’s post, I explained how PowerPivot can very easily help you solve the “Budget vs. Actuals” problem or any other problem where you have [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image18.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb14.png" width="514" height="451"></a></p>
<p align="center"><strong>Sales Measure Returns the Same Value for Everything:&nbsp; We Solved the Calendar/Periods<br /> Problem But Now We Have a Products/Category Problem</strong></p>
<h3 align="left">Quick Recap:&nbsp; We Created a Separate “Periods” Table</h3>
<p align="left"><strong><a href="http://www.powerpivotpro.com/2012/01/salesbudget-integrating-data-of-different-grains/">In last week’s post</a></strong>, I explained how PowerPivot can very easily help you solve the “Budget vs. Actuals” problem or any other problem where you have data sets of different granularities that you want to compare in a single report.</p>
<p align="left">The crux of the problem in my example was that my Budget table only budgeted down to the Month level whereas my Sales table went down to the day level.</p>
<p align="left">To solve that, I created a separate table that only contained months (no sales or budget data, just months), and assigned a “PeriodID” to each month.&nbsp; (I could have just as easily called it MonthId).</p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image19.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb15.png" width="429" height="288"></a></p>
<p align="center"><strong>The Newly-Created Periods Table</strong></p>
<p align="left">I then linked that PeriodID column to the PeriodID column that already existed in my Budget table:</p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image20.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb16.png" width="450" height="329"></a></p>
<p align="left">And then created a new PeriodID column in my Sales table using a formula:</p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image21.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb17.png" width="520" height="223"></a></p>
<p align="left">Resulting in a three-table setup that looks like this:</p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image22.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb18.png" width="423" height="345"></a></p>
<p align="left">Which then allows me to use fields from that Periods table on slicers (or on rows or columns) while using measures from both Sales and Budget in the same pivot:</p>
<p align="left"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image23.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb19.png" width="431" height="455"></a></p>
<p align="left">And that, my friends, is a very useful thing indeed.</p>
<h3 align="left">Could I have just added the PeriodID column to Sales and Stopped?</h3>
<p>This is an important question for us to stop and consider.&nbsp; Once I had a PeriodID column in both Sales and Budget, <strong>could I have skipped the creation of the Periods table and just moved on?</strong></p>
<p><strong>No.&nbsp; I could not.</strong>&nbsp; And there are two reasons.</p>
<p><strong><em>Reason #1:</em></strong>&nbsp; I can’t create a relationship between Sales and Budget.</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image24.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb20.png" width="568" height="333"></a></p>
<p align="center"><strong>Each PeriodID Appears More than Once in Each Table, So You Can’t Relate <br />Sales Directly to Budget or Vice Versa</strong></p>
<p>That’s just the way relationships work.&nbsp; The matching column needs to be unique (no value appears more than once) in at least one of the two tables.&nbsp; No need to really worry about why, but if you think about how VLOOKUP works when you set the last argument to FALSE, it’s pretty similar.</p>
<p><strong><em>Reason #2:</em></strong>&nbsp; Without a relationship, PeriodID from one table doesn’t work with measures from the other.</p>
<p>Look what happens to Budget measures if I use PeriodID from the Sales table:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image25.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb21.png" width="633" height="314"></a></p>
<p align="center"><strong>PeriodID from Sales Table Results in Broken Budget Measures <br />(and a relationship warning)</strong></p>
<p>Yep, all busted.&nbsp; And if I use PeriodID from the Budget table, I’ll get good Budget numbers but the Sales numbers will be hosed instead.</p>
<p>THAT is why the third, new, separate Periods table is required.&nbsp; When I use fields from THAT table on my pivot, I can use measures from both Sales and Budget at the same time and nothing is broken.</p>
<p>So we use the Periods table as a master filter of sorts, one that can drive filters down into both Sales and Budget.</p>
<h3>“Master Filter” Table is a MUCH better description than “Bridge”</h3>
<p>I debated using a “bridge” metaphor to describe the role of the Periods table but I think that’s misleading – a bridge helps you travel from point A to point B:&nbsp; A –&gt; Bridge –&gt; B.&nbsp; That would make you think that we’re “starting” on the Sales table and “traversing” the Periods table to get to the Budget table.</p>
<p>But that’s not how it works.&nbsp; Neither Sales nor Budget is “in charge” here – neither is the starting point.&nbsp; There are two separate paths here:&nbsp; Periods –&gt; Sales, and Periods –&gt; Budget.&nbsp; The diagram drives that home:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image26.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb22.png" width="423" height="345"></a></p>
<p>So you should think of the Periods table as being “in charge” here.&nbsp; Which makes sense, since you have to use it on the pivot, and can’t use PeriodID from either Sales or Budget.</p>
<h3>Extending that Rule to Fields Other than PeriodID</h3>
<p>This is the crux of what I left out of my previous post, and it’s an important rule to drive home:</p>
<p><strong><font size="2">When you have separate data tables that cannot be combined into a single table (as is the case with Sales and Budget), you CANNOT use row/column/slicer fields from one table in a pivot with measures from the other table.&nbsp; You MUST have a separate “master filter” table, and use fields from THAT table in your pivot.</font></strong></p>
<p>So does that apply to fields other than PeriodID?&nbsp; You betcha.&nbsp; Guess what happens if you use a Product Subcategory or similar field from the Budget table in a pivot that contains a Sales measure (or vice versa)?&nbsp; Yeah, same problem as trying to use PeriodID from Sales as we did above:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image27.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb23.png" width="514" height="451"></a></p>
<p>What’s the solution?&nbsp; A separate master filter table for Products!</p>
<p>And that may be as simple as a single column:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image28.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb24.png" width="242" height="470"></a></p>
<h3>Wash, Rinse, Repeat</h3>
<p><strong>Once you have measures from two different data tables, every row/column/slicer field you use requires a separate master filter table.</strong></p>
<p>It may sound tedious but it’s actually quite quick.&nbsp; To easily create such a table <strong>you can even just use&nbsp; a pivot:</strong>&nbsp; </p>
<ol>
<li>Put the ProductSubCat field from either Sales or Budget on rows.</li>
<li>Copy/paste that column of unique values into PowerPivot as a new table.</li>
<li>Create the relationships to Sales and Budget.&nbsp;&nbsp; </li>
<li>Use fields from the newly created master filter table in your pivot.&nbsp; Done.</li>
</ol>
<p>(Better to get someone to add a new view or table to a database for you if that’s available, but copy/paste works well otherwise).</p>
<h3>Also Useful for Single Table Situations!</h3>
<p>One last point:&nbsp; even when you only have a single table of data, like Sales, it’s often still quite useful to create separate master filter tables.</p>
<p>Why is that?</p>
<p>Because when you create master filter tables, it gives you the opportunity to remove lots of columns from your “big” table.</p>
<p>Imagine a sales table that, in addition to columns like Quantity and Amount, also contains columns like CustomerID, CustomerGender, CustomerAge, CustomerAddress1, CustomerAddress2, etc.</p>
<p>If you leave CustomerID in the sales table but “move” all of the other customer columns into a separate Customer table, and then link the two tables by Customer ID, you can reduce the number of columns in your Sales table by a significant number.</p>
<p>And that can sometimes shrink your files dramatically, AND speed them up.&nbsp; <strong><a href="http://www.powerpivotpro.com/2011/08/less-columns-more-rows-more-speed/">See this post for an example</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/data-of-different-grains-a-followup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guest Post: 15 Spreadsheet Formatting Tips</title>
		<link>http://www.powerpivotpro.com/2012/01/guest-post-15-spreadsheet-formatting-tips/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=guest-post-15-spreadsheet-formatting-tips</link>
		<comments>http://www.powerpivotpro.com/2012/01/guest-post-15-spreadsheet-formatting-tips/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 15:22:47 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Usability and Appearance]]></category>
		<category><![CDATA[PowerPivot Power Pivot Microsoft SharePoint BI Excel Business Intelligence]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3620</guid>
		<description><![CDATA[&#160;IF YOU ARE ARRIVING HERE FROM THE EXCEL BLOG:&#160; Welcome!&#160; In addition to reading Dan’s excellent post below, I highly recommend you look into PowerPivot if you haven’t already.&#160; Microsoft has never given you a bigger gift than PowerPivot and you just need to take it.&#160; A quick glance at the top five benefits it [...]]]></description>
			<content:encoded><![CDATA[<p align="left">&nbsp;<br /><em><strong>IF YOU ARE ARRIVING HERE FROM THE EXCEL BLOG:</strong>&nbsp; Welcome!&nbsp; In addition to reading Dan’s excellent post below, I highly recommend you look into PowerPivot if you haven’t already.&nbsp; Microsoft has never given you a bigger gift than PowerPivot and you just need to take it.&nbsp; A quick glance at the <strong><a href="http://blogs.office.com/b/microsoft-excel/archive/2010/10/01/top-5-ways-powerpivot-helps-excel-pros.aspx" target="_blank">top five benefits it provides</a></strong> will whet your appetite and then <strong><a href="http://www.powerpivotpro.com/new-to-the-site/">this collection of links</a></strong> can get you started.</em></p>
<p>&#8211;</p>
<p>Last week’s post about the importance of <strong><a href="http://www.powerpivotpro.com/2012/01/in-the-browser-aesthetics-yield-a-greater-return/">formatting spreadsheets published to SharePoint</a></strong> drew a lot of interest, including from some of my old colleagues on the <strong><a href="http://blogs.office.com/b/microsoft-excel/" target="_blank">Excel</a></strong> team back in Redmond.</p>
<p><strong><a href="http://www.linkedin.com/in/danbattagin">Dan Battagin</a></strong> is one of those guys who seems to have a special deal worked out with Time.&nbsp; As in, Time has agreed NOT to apply to him.&nbsp; While often doing the work of two or three people at MS, Dan was typically completely remodeling his house, staying super-fit, and as a hobby, programming a number of robust applications in his “free time” at home.</p>
<p>So when Dan sent me a list of tips he’d been compiling on spreadsheet formatting and related topics, naturally I pressed him to expand that into a blog post.&nbsp; He said “well I’m not sure how long it will take me, no promises,” then sent me the following opus about 36 hours later.&nbsp; Showoff.</p>
<h3>Yes, it is possible to create nice looking spreadsheets</h3>
<p>Guest post by <strong><a href="http://www.linkedin.com/in/danbattagin">Dan Battagin</a></strong></p>
<p>As a member of the <strong><a href="http://blogs.office.com/b/microsoft-excel/" target="_blank">Excel</a></strong> team I&#8217;ve been known to wear clothing that says &#8220;recalc or die,&#8221; (yes, I&#8217;m a geek) and one thing that makes me smile is a great looking spreadsheet. Luckily, I smile other times too, because basic spreadsheets don&#8217;t generally look that great &#8211; like everything, Excel gives you the tools, but leaves it up to you to use them.</p>
<p>Today, I&#8217;ve pulled together 15 tips that can help you step up your spreadsheet design So let&#8217;s jump right in and create some sweet looking spreadsheets!</p>
<p>Here&#8217;s a pretty typical spreadsheet. It shows data about a Windows Phone 7 application, to help understand how much it&#8217;s getting downloaded, and what its rankings are in the phone marketplace.</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0025.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002[5]" border="0" alt="clip_image002[5]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0025_thumb.jpg" width="537" height="403"></a></p>
<p>I see a lot of spreadsheets like this &#8211; it works, and has all the data you need. But boy is it ugly. In fact, I&#8217;d call it ugly three ways:</p>
<p>1. Layout &#8211; nothing is really organized. It&#8217;s like someone threw up data in the sheet.</p>
<p>2. Style &#8211; it has the default Excel style &#8211; another way of saying it doesn&#8217;t have any.</p>
<p>3. Structure &#8211; it uses the grid, but Excel&#8217;s got a lot more tools than that folks!</p>
<p>So, let&#8217;s see how we can turn this into a great looking spreadsheet by addressing these three areas. In the end, here&#8217;s what I&#8217;d like to see instead &#8211; these screens show the same data, but using the tips below to make this spreadsheet something that I wouldn&#8217;t mind looking at each time it was open (and not just because of the kittens).</p>
<table border="0" cellspacing="0" cellpadding="0" width="676">
<tbody>
<tr>
<td valign="top" width="38">&nbsp;</td>
<td valign="top" width="266">
<p align="center"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0044.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004[4]" border="0" alt="clip_image004[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0044_thumb.jpg" width="293" height="230"></a></p>
</td>
<td valign="top">
<p align="center"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0064.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006[4]" border="0" alt="clip_image006[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0064_thumb.jpg" width="328" height="202"></a></p>
</td>
<td valign="top" width="47">
<p align="center">&nbsp;</p>
</td>
</tr>
<tr>
<td valign="top" width="38">&nbsp;</td>
<td valign="top" width="266">
<p align="center">&nbsp;</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0084.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008[4]" border="0" alt="clip_image008[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0084_thumb.jpg" width="289" height="220"></a></p>
</td>
<td valign="top">
<p align="center">&nbsp;</p>
</td>
<td valign="top" width="47">
<p align="center">&nbsp;</p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 1: Don’t use row 1 or column A</h3>
<p>Just because the grid looks like a table doesn&#8217;t mean you need to use all the cells. Using row 1 and column A almost always puts your data too close to the row and column headers (A, B, C, &#8230; and 1, 2, 3, &#8230;) and things look squished. Do yourself a favor and use the first row and column for spacing. Personally, I size them to 10px and then start in B2.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0094.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image009[4]" border="0" alt="clip_image009[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0094_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0104.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010[4]" border="0" alt="clip_image010[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0104_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h5><em>Note from Rob:&nbsp; I sometimes go one step further and make the first row and column a single pixel, THEN make the second row/column about 10 pixels as Dan does here.&nbsp; That way I can park selection in that first cell and have it be barely noticeable:</em></h5>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image15.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb11.png" width="457" height="290"></a></p>
<h5 align="center">That “dot” in the upper left is cell A1 <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile3.png"></h5>
<p align="left"><strong><em>The other thing I often do is select a cell that is completely hidden behind an image.</em></strong></p>
<h3>Tip 2: Resize rows and columns</h3>
<p>You can make your spreadsheet look a lot better if you space things out a bit, and leave room to read the info it contains. Make cells that contain data wide enough to read most of the content. Leave empty rows or columns between data as a visual separator. For finer grained control, leave multiple rows or columns, and size them to just a few pixels, so you can adjust later.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0114.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image011[4]" border="0" alt="clip_image011[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0114_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0124.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012[4]" border="0" alt="clip_image012[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0124_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 3: Merged cells are evil, instead use Center Across Selection</h3>
<p>This one surprises a lot of people, but it&#8217;s true. When you merge a cell in Excel, you&#8217;re really limiting what you can do in the future because Excel still &#8220;thinks&#8221; in rows and columns, and merged cells muck that up. For instance, you can&#8217;t insert a cell if any of the cells in that column are merged across multiple columns; you can&#8217;t create a table if there are merged cells in the range; and you can&#8217;t sort or filter a range with merged cells either. There is a workaround however and it looks exactly like merged cells once it&#8217;s applied &#8211; it&#8217;s called &#8220;Center Across Selection&#8221; and it&#8217;s available on the Cell Format dialog. To use it follow the steps below, or <a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=z5o5ADguYb0">check out this video</a> from Mr. Excel.</p>
<p>1. Select the cells you were going to merge</p>
<p>2. Open the Format Cells dialog (Home Ribbon, Font group, little button in bottom right)</p>
<p>3. On the Alignment tab, set the Horizontal alignment to &#8220;Center Across Selection&#8221; and click OK.</p>
<p>4. Type the value you want centered into the left-most cell of the selection from step 1.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Seen this?</p>
</td>
<td width="319">
<p>Use this</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0144.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014[4]" border="0" alt="clip_image014[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0144_thumb.png" width="242" height="62"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0154.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image015[4]" border="0" alt="clip_image015[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0154_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h5><em>Note from Rob:&nbsp; I admit, I still use a lot of merged cells to center titles and such.&nbsp; I know about merge across but old habits die hard.&nbsp; That said, I think the unspoken tip here is to center your titles in the first place.&nbsp; Consider these examples:</em></h5>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image16.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb12.png" width="500" height="158"></a></p>
<h5 align="center">Uncentered Title</h5>
<p align="center"><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image17.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb13.png" width="501" height="153"></a></p>
<h5 align="center">Centered Title</h5>
<h3>Tip 4: Align everything, and keep related data close</h3>
<p>All too often, data ends up wherever you clicked and then pasted it into the spreadsheet. Charts end up &#8220;near&#8221; the data. Shapes and images are placed semi-randomly. Spend some time to align everything and you&#8217;ll get a much cleaner look. If you have two tables of data, make sure they start in the same row. If you have a chart, set it to <a href="http://office.microsoft.com/en-us/excel-help/turn-the-snap-to-grid-and-snap-to-object-options-on-or-off-HA010355855.aspx?CTT=1">Snap to Grid</a>, and then make it the exact width of the columns you want it to span. If you have multiple charts, line them up. The human eye gets distracted when objects aren&#8217;t aligned because our brain tries to align them internally&#8230;so help your brain.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0164.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image016[4]" border="0" alt="clip_image016[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0164_thumb.png" width="242" height="182"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0174.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image017[4]" border="0" alt="clip_image017[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0174_thumb.png" width="242" height="182"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 5: Keep it to 3-5 colors &#8211; white, gray, and 1-3 accents</h3>
<p>When it comes to color in your spreadsheet, less is more. For the background, use white. Studies have shown that dark text on white is much easier to read (and looks better to most people). For most text, and for anything that&#8217;s black by default in a chart (labels, axis, gridlines, etc.) use a shade of gray &#8211; it&#8217;s less jarring than black, and it &#8220;feels&#8221; modern. And when it comes to colors, don&#8217;t go overboard &#8211; choose an accent and stick with it throughout the entire workbook. I tend to like a shade of green but any accent will do (and less saturated ones tend to look better). If you&#8217;re building charts, you may need a second or third color too to differentiate the series &#8211; that&#8217;s fine. Note that Excel doesn&#8217;t actually help you here &#8211; we added a lot more colors in Excel 2007 (from 64 to infinite) and that tends to make people want to use them (all). More colors are good, but only because you can pick the few that you like.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0184.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image018[4]" border="0" alt="clip_image018[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0184_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0194.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image019[4]" border="0" alt="clip_image019[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0194_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 6: Don’t use more than 2 fonts</h3>
<p>By default, everything in Excel is one font (and that font depends on your version &#8211; it might be Arial, Calibri, or even Segoe UI), but the font picker is so prominent in all versions that I see a lot of workbooks with a dozen or more fonts. Like colors, it turns out that less is more here. Choose a couple of fonts and stick with them &#8211; use font size (as opposed to different fonts or bolding) to differentiate parts of the spreadsheet. A clean, modern looking combination is Segoe UI for &#8220;normal&#8221; cells, and Segoe UI Light for any headers. And remember &#8211; make most of your text gray (you can do this easily &#8211; right click on the Normal style in the ribbon and change its color).</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0204.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image020[4]" border="0" alt="clip_image020[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0204_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0214.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image021[4]" border="0" alt="clip_image021[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0214_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h5><em>Note from Rob:&nbsp; Whoa!&nbsp; Multiple fonts!&nbsp; Never occurred to me.&nbsp; Hmmm….</em></h5>
<h3>Tip 7: When you’re done, turn off gridlines and headers, and chart borders</h3>
<p>Nothing can do more for your spreadsheet than <a href="http://office.microsoft.com/en-us/excel-help/show-or-hide-gridlines-on-a-worksheet-HP010342895.aspx?CTT=1">turning off the gridlines and row/column headers</a>. If you structure your data right (use tables &#8211; see Take advantage of tables) then you have all the borders you need and the gridlines just make things look busy. And the row/column headers might remind you that you&#8217;re in Excel, but when you&#8217;re viewing (as opposed to authoring) a workbook, you just don&#8217;t need them. While you&#8217;re at it, turn off any borders on charts &#8211; it looks a lot better when the graph is just &#8220;on the background&#8221; of the sheet.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0224.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image022[4]" border="0" alt="clip_image022[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0224_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0234.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image023[4]" border="0" alt="clip_image023[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0234_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 8: Don&#8217;t forget the images</h3>
<p>With the prominence of the grid in Excel, it&#8217;s easy to end up with a spreadsheet that&#8217;s just text and numbers &#8211; boring. Spice it up a bit with your company logo &#8211; or better yet, the logo of the subject of the spreadsheet. Don’t go overboard here, but a few representative images will go a long way to making the end result nice to look at. Oh, and if you can, try to get ones with white backgrounds, so you don&#8217;t end up with a bunch of intrusive rectangular images.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0246.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image024[6]" border="0" alt="clip_image024[6]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0246_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0254.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image025[4]" border="0" alt="clip_image025[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0254_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 9: Ignore the fancy formatting options</h3>
<p>This is a follow-on from Tip 8: Don&#8217;t forget the images, but applies to other elements of the spreadsheet as well (charts, shapes, WordArt, etc.) Nearly all the time you think that a drop shadow or reflection or glow or rotation or gradient or perspective or bevel would look good, it usually won&#8217;t. What it might do is distract from the clean simplicity of a modern spreadsheet. So, rather than look for &#8220;cool formatting to add,&#8221; remember that &#8220;simple formatting is cool formatting.&#8221;</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0264.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image026[4]" border="0" alt="clip_image026[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0264_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0274.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image027[4]" border="0" alt="clip_image027[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0274_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 10: Take advantage of tables</h3>
<p><a href="http://office.microsoft.com/en-us/excel-help/overview-of-excel-tables-HA010048546.aspx?CTT=1"><strong>Tables</strong></a> were introduced in Excel 2003, but didn&#8217;t really become useful until Excel 2007. Now, if you have tabular data, it should be in a table. This gives you quick access to sorting and filtering, makes the data easy to reference into, and &#8211; even if you don&#8217;t use them for any of the data capabilities &#8211; gives you a bunch of nice formatting options. When you choose a format, choose one that uses your accent color, and try to grab one of the Light or Medium <a href="http://office.microsoft.com/en-us/excel-help/format-an-excel-table-HA010013769.aspx?CTT=5&amp;origin=HA010048546"><strong>styles</strong></a>. Remember &#8211; less is more.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0247.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image024[7]" border="0" alt="clip_image024[7]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0247_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0286.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image028[6]" border="0" alt="clip_image028[6]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0286_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 11: Flatten your data</h3>
<p>This tip is a bit more advanced, but the idea is that any data you enter in the spreadsheet should be completely un-aggregated. This means that each row should stand completely on its own. For instance if you know that on 3/11/2012, you had 12 downloads from the United States, and 82 from the United Kingdom, you should enter that as two rows with columns named &#8220;date,&#8221; &#8220;country&#8221; and &#8220;downloads&#8221; rather than one row with &#8220;date,&#8221; &#8220;United States,&#8221; and &#8220;United Kingdom.&#8221; The reason for this is that Excel is GREAT at aggregating data for you (with less mistakes)&#8230;which we&#8217;ll get to in Tip 12: Let Excel do the math and Tip 13: Don’t be scared of PivotTables.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0294.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image029[4]" border="0" alt="clip_image029[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0294_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0287.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image028[7]" border="0" alt="clip_image028[7]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0287_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>Tip 12: Let Excel do the math</h3>
<p>Spreadsheets aren’t just a big table that you can enter values into &#8211; they all support formulas, which can do almost anything you want to do, faster than you can do it yourself. Need to add 100 values? Excel can do that for you. Need to find the average of some value for each month? Excel can do that for you.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0304.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image030[4]" border="0" alt="clip_image030[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0304_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0314.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image031[4]" border="0" alt="clip_image031[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0314_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h5><em>Note from Rob:&nbsp; Or let PowerPivot do the math of course <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile3.png"></em></h5>
<h3>Tip 13: Don’t be scared of PivotTables</h3>
<p><a href="http://blogs.office.com/b/crabby_office_lady/archive/2010/03/01/pivot-swivel-amp-roll-data-management-with-the-stars.aspx"><strong>PivotTables</strong></a> in Excel are a way to group and summarize your data. If you&#8217;ve entered your data as suggested in Tip 11: Flatten your data, you probably have several categories of data in your table. By putting this into a PivotTable, Excel will automatically sort the data into those categories and show you a grouped view. Plus, just like Tables, PivotTables give you some really nice formatting options that make it easy to see where each group starts and stops, as well as totals for each group way faster than you could do the totals by hand. Handy, fast, and clean.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0324.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image032[4]" border="0" alt="clip_image032[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0324_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0334.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image033[4]" border="0" alt="clip_image033[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0334_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h5><em>Note from Rob:&nbsp; most people reading my blog love pivots of course, but as I mentioned Friday, pivots are probably the most under-used feature of Excel.&nbsp; It was (and is) one of the ongoing missions on the Excel team to help a broader audience adopt pivots.</em></h5>
<h3>Tip 14: Use charts, but do not use 3D charts</h3>
<p>You should always use charts &#8211; a quick visual representation of data is always easier to understand and looks better than a big table of numbers &#8211; but when you do, make sure they are 2D (&#8220;flat&#8221; charts). Not only do 2D charts look cleaner and more modern (see Tip 9: Ignore the fancy formatting options), but you can actually read the data in them. Because of the way 3D charts work, it&#8217;s nearly impossible to see the size of bars or columns, and lines look like they are floating in space. Do yourself and the people who are looking at your spreadsheets a favor and just don&#8217;t use 3D charts.</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0344.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image034[4]" border="0" alt="clip_image034[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0344_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0354.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image035[4]" border="0" alt="clip_image035[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0354_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h5><em>Note from Rob:&nbsp; 3d charts don’t render as 3d in the browser either.&nbsp; <a href="http://www.powerpivotpro.com/2010/10/illustrated-guide-to-excel-services-chart-rendering/">See this post</a>.</em></h5>
<h3>Tip 15: Name everything (esp. sheets and tables)</h3>
<p>OK, this last tip doesn&#8217;t actually make your spreadsheet more visually pleasing from a &#8220;pretty&#8221; sense, but the more things you name, the easier it is to use the spreadsheet. It&#8217;s a lot easier to know what&#8217;s on the &#8220;Download Dashboard&#8221; sheet than it is to know what&#8217;s on &#8220;Sheet 2.&#8221; Likewise, if you name cells, tables, and other objects, you can refer to them by name in formulas, which makes it a whole lot easier to see what&#8217;s going on in the formula &#8211; =SUM(DataTable[Downloads]) is a lot easier to understand than =SUM(C17:C753).</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319">
<p>Before</p>
</td>
<td width="319">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0364.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image036[4]" border="0" alt="clip_image036[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0364_thumb.png" width="242" height="170"></a></p>
</td>
<td valign="top" width="319">
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0374.png"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image037[4]" border="0" alt="clip_image037[4]" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/clip_image0374_thumb.png" width="242" height="170"></a></p>
</td>
</tr>
</tbody>
</table>
<h3>In Summary</h3>
<p>So, those are my tips. Each tip by itself is pretty small &#8211; but once you embrace the lot, my guess is that you&#8217;ll be happy with the result. Plus, I&#8217;m sure there are more, and even some that I don&#8217;t know yet. And, if you&#8217;ve got a favorite (that I did or didn&#8217;t mention), let me know &#8211; post a response!</p>
<p>Oh, and if you&#8217;d like a copy of the sample spreadsheets I used, <strong><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/2012-01-best-practices.zip">feel free to download them here</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/guest-post-15-spreadsheet-formatting-tips/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Friday Bonus:  2012 *IS* the Year</title>
		<link>http://www.powerpivotpro.com/2012/01/friday-bonus-2012-is-the-year/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=friday-bonus-2012-is-the-year</link>
		<comments>http://www.powerpivotpro.com/2012/01/friday-bonus-2012-is-the-year/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 15:57:46 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Observations, Trends, and Wild Speculation]]></category>
		<category><![CDATA[PowerPivot Power Pivot Microsoft SharePoint BI Excel Business Intelligence]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3509</guid>
		<description><![CDATA[Today’s Scene&#160; (Just add a Foot of Snow) An obsessive and intrusive habit Quick anecdote.&#160; For a couple of years now I have been accosting people in public places when I see them using Excel.&#160; On an airplane?&#160; In an airport?&#160; In a doctor’s office waiting room?&#160; You aren’t safe in any of those places. [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image14.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="Ground Zero for PowerPivot Going Critical?" border="0" alt="Ground Zero for PowerPivot Going Critical?" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/image_thumb10.png" width="489" height="300"></a></h3>
<p align="center"><strong>Today’s Scene&nbsp; (Just add a Foot of Snow)</strong></p>
<h3>An obsessive and intrusive habit</h3>
<p>Quick anecdote.&nbsp; For a couple of years now I have been accosting people in public places when I see them using Excel.&nbsp; On an airplane?&nbsp; In an airport?&nbsp; In a doctor’s office waiting room?&nbsp; You aren’t safe in any of those places.</p>
<p>If you’re using Excel, <strong>some weirdo is gonna walk up to you and ask you two questions:</strong></p>
<ol>
<li><strong>Do you use PivotTables?</strong></li>
<li><strong>(If Yes) Do you use PowerPivot?</strong></li>
</ol>
<p><strong>The first answer tends to be “Yes” about a third of the time.</strong>&nbsp; That’s disproportionately high relative to the broader population, in which only about 5-10% of people use pivots.&nbsp; There’s a selection bias in play here of course, because someone who uses Excel enough that it’s on their screen when I walk by is more likely than average to be an Excel pro, and therefore more likely than average to use pivots.</p>
<p><strong>But for two years the second answer has always been “no.”</strong>&nbsp; I then explain that they should be, they express shame, they promise to check it out.&nbsp; Sometimes they even get a demo.</p>
<h3>Until Today!</h3>
<p>Recall that <strong><a href="http://www.powerpivotpro.com/2012/01/welcome-to-2012-the-year-of-powerpivot-everywhere/">just a few days ago</a></strong>, I predicted this would be the year where we start running into PowerPivot via random personal connections and conversations.</p>
<p>This morning, at 10:15 eastern time, at the Starbucks on Cedar and Fairmount in Cleveland Heights OH, I noticed a well-dressed man sitting with his laptop, engrossed in Excel 2007 or 2010 (couldn’t tell, just saw the Ribbon).</p>
<p>Being a “work from home day,” I took stock of my own ensemble:&nbsp; Unshaven?&nbsp; Check.&nbsp; T-shirt and tennis shoes under a coat covered in dog fur?&nbsp; Check.&nbsp; Beanie-style snowboarding hat with a pom-pom ball on top?&nbsp; Check.</p>
<p>Perfect.&nbsp; I moved in for the kill.</p>
<p>I’m positive he thought I was going to ask him for money or something, and the smile that came over his face when he heard the pivot question was one of sheer joy and relief<img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/01/wlEmoticon-smile2.png"></p>
<p>OK, so “yes” he uses pivots.&nbsp; Now for the second question, the one that engenders shame when the person has to say “no” to a question that so clearly, I think they should say “yes” to…&nbsp; </p>
<p><strong>ME:&nbsp; “Do you use PowerPivot?”<br />HIM:&nbsp; “No, I don’t, but my team does.&nbsp; We use a lot of SharePoint.”</strong></p>
<p><strong>Quite the rollercoaster in that sentence.</strong>&nbsp; In sequence, my brain flashes the following reactions:</p>
<ol>
<li>“He said no.&nbsp; Yep, just like every other random sample to date.”</li>
<li>“Whoa, his team does???&nbsp; Wait, he doesn’t know what PowerPivot is does he?&nbsp; He’s bluffing!”</li>
<li>“Hold it hold it!&nbsp; Anyone who follows up a PowerPivot question with a SharePoint reference actually DOES know it.&nbsp; And quite well!”</li>
</ol>
<p>Fantastic.&nbsp; I let him get back to work rather than chatting him up.&nbsp; Took some serious willpower.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/01/friday-bonus-2012-is-the-year/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

