<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>PowerPivotPro</title>
	
	<link>http://www.powerpivotpro.com</link>
	<description>Thoughts on PowerPivot, Sharepoint BI and the occasional movie quote</description>
	<lastBuildDate>Thu, 23 Feb 2012 05:17:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Powerpivotpro" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="powerpivotpro" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Powerpivotpro</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Thursday Post Delayed Until Friday</title>
		<link>http://www.powerpivotpro.com/2012/02/thursday-post-delayed-until-friday/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=thursday-post-delayed-until-friday</link>
		<comments>http://www.powerpivotpro.com/2012/02/thursday-post-delayed-until-friday/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 05:05:00 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Hello World / Administrivia]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3827</guid>
		<description><![CDATA[&#160;Hi folks.&#160; I’m on a plane right now, coming back from conducting another on-site, two-day training session.&#160; Always an awesome experience – it’s seriously something that spoils me.&#160; I like to joke that hanging out with the “early adopter set” for the past two years like I have can give the false impression that the [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />Hi folks.&nbsp; I’m on a plane right now, coming back from conducting another on-site, two-day training session.&nbsp; Always an awesome experience – it’s seriously something that spoils me.&nbsp; I like to joke that hanging out with the “early adopter set” for the past two years like I have can give the false impression that the entire world is actually REALLY smart.</p>
<p>Lots of fun quotes from these great folks.&nbsp; Some that jump out at me:</p>
<p>“Our old version of this report was 22 sheets.&nbsp; We just got it down to 2.”</p>
<p>“OK Rob, save that workbook right there.&nbsp; That’s like, ALL of my work for the next two days.”&nbsp; (Not said in a joking manner).</p>
<p>“Tell ya what, why don’t you just…&nbsp; put that file on my thumbdrive before you leave.”&nbsp; (Also not joking).</p>
<p>“The weather in Columbus, Ohio is not bad at all.”&nbsp; (Ironically, not joking).</p>
<p>“Hey a few of us are going to the bar, wanna come?” </p>
<p>(And if my friends in San Diego are reading this…&nbsp; no.&nbsp; Not even close.&nbsp; But May is just around the corner isn’t it?&nbsp; I think it’s almost time I come visit again.)</p>
<p>I also got to meet one of our other clients in person on this trip – they very kindly took me to dinner at an awesome burger joint and bar.&nbsp; Thanks AH and B!&nbsp; Very nice and intelligent people – even more so in person than in email.</p>
<p>Anyway, it’s midnight and I’m still in the air (flight delayed) with a busy morning.&nbsp; So I’m gonna give myself one day of respite and go live with a real post on Friday.</p>
<p>Next week, back to Tuesday/Thursday schedule.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/thursday-post-delayed-until-friday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Experiences with Hosted PowerPivot, Part One</title>
		<link>http://www.powerpivotpro.com/2012/02/my-experiences-with-hosted-powerpivot-part-one/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=my-experiences-with-hosted-powerpivot-part-one</link>
		<comments>http://www.powerpivotpro.com/2012/02/my-experiences-with-hosted-powerpivot-part-one/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 06:00:10 +0000</pubDate>
		<dc:creator>David Churchward</dc:creator>
				<category><![CDATA[Pivotstream Tools and Software]]></category>
		<category><![CDATA[PowerPivot as Online Service]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[PowerPivot]]></category>
		<category><![CDATA[SaaS]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Value Proposition]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3805</guid>
		<description><![CDATA[Guest post by David Churchward One of Azzurri Communications Ltd’s PowerPivotApplications Running in the Browser Six Months Ago:&#160; The “Lightbulb” Moment Almost exactly six months ago, after being a long time reader of this blog, I emailed Rob and asked him a question regarding something that I just couldn’t get my head around in DAX [...]]]></description>
			<content:encoded><![CDATA[<p><em>Guest post by </em><strong><a href="http://linkd.in/pNwvk4" target="_blank">David Churchward</a></strong></p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/Pivotstream-Dashboard-Application1.jpg"><img style="border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" class="aligncenter" border="0" alt="Pivotstream Dashboard Application" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/Pivotstream-Dashboard-Application_thumb1.jpg" width="428" height="268"></a></p>
<p align="center"><strong>One of Azzurri Communications Ltd’s PowerPivot<br />Applications Running in the Browser<br /></strong></p>
<h3 align="left">Six Months Ago:&nbsp; The “Lightbulb” Moment</h3>
<p>Almost exactly six months ago, after being a long time reader of this blog, I emailed Rob and asked him a question regarding something that I just couldn’t get my head around in DAX – Banding!&nbsp; He kindly responded, and his answer solved my problem, so I asked him if I could return the favour somehow.&nbsp; He asked if I’d mind writing it up as a guest post, <strong><a href="http://www.powerpivotpro.com/2011/09/guest-post-greater-thanless-thanbetween-slicers/">which I did</a>.</strong></p>
<p>Now, double-digit guest posts later, I’m amazed at how far I’ve come in short order.&nbsp; Something definitely “clicked” for me that day, and my grasp of PowerPivot’s capabilities expanded rapidly.&nbsp; It felt like that moment that I imagine Pianists reach where they can suddenly play by ear, because whilst I could conquer most things in DAX, it didn’t seem to quite “flow” – until that day!</p>
<p>Up until that point I had viewed PowerPivot as a “private” tool – something that was useful for me in my work, a supplement to other tools and methods.&nbsp; <strong>But starting six months ago, I started to understand that PowerPivot could, and SHOULD, be used to improve or replace most of our existing Business Intelligence and Analytics tools.</strong></p>
<h3>Step One:&nbsp; Azzurri Deploys its First “On Premise” SharePoint Server</h3>
<p>At <a href="http://www.azzurricommunications.com/" target="_blank"><strong>Azzurri</strong></a>, I am fortunate to enjoy two critical flavours of support:</p>
<ol>
<li><strong>Our executive team is open-minded </strong>to progressive ways of doing things (so long as there is a solid value proposition).
<li><strong>My tech team is a crack outfit</strong> who will bring me the moon if I ask for it, but tend to make reasonable alternative suggestions such as building data warehouses. </li>
</ol>
<p><strong>In other words, Azzurri is the perfect sort of place to deploy PowerPivot for SharePoint</strong>, bordering on a textbook example.&nbsp; There aren’t many companies of Azzurri’s size where I could explain the benefits of a PowerPivot server, win people over, and have a server deployed two weeks later.&nbsp; But that is precisely what happened <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-smile3.png"></p>
<h3>Step Two:&nbsp; Start Emailing Rob Again <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-smile3.png"></h3>
<p>We didn’t just deploy the server, we immediately began USING it for serious work.&nbsp; And that led to questions – questions about performance.&nbsp; Questions about hardware.&nbsp; Questions about customisation.&nbsp; Questions about refresh.&nbsp; Questions about “core and thin” workbooks.</p>
<p>Rob and I had a friendly correspondence going at that point, so I started sending those questions over.&nbsp; I even looped him into email chains with our tech team, and we talked through a number of issues and optimisations.</p>
<h3>Step Three:&nbsp; Try Out Hosted PowerPivot in Parallel</h3>
<p>Everything I do in Systems Development, especially with my Finance background, is about <strong>Cost V Benefit, ROI, IRR and payback</strong>.&nbsp; With this in mind, I started wondering whether it made sense for us to develop PowerPivot for SharePoint expertise of our own.</p>
<p><strong>We had originally decided to go with our own SharePoint deployment because</strong> we had the required licences and a particularly clever team who I had every faith could deliver.&nbsp; This seemed obvious as SharePoint was already in operation at Azzurri.&nbsp; My initial view was that it must be relatively straight forward to bring all of the BI tools into the equation.</p>
<p><strong>Two weeks into the process, however, I was already seeing</strong> that things might not be as straight forward as I had first hoped.&nbsp; Performance was the first major barrier that I hit and I couldn’t be entirely sure what kind of investment in hardware might be required to alleviate this.&nbsp; Out of nowhere, PowerPivot gallery started playing games which turned out to be an IE9 issue and then I was introduced to Kerberos which, it turns out, isn’t a breakfast cereal that I was yet to encounter!</p>
<p>I knew about the <a href="http://www.powerpivotpro.com/powerpivot-hosting/" target="_blank"><strong>Pivotstream Hosted Solution</strong></a><strong>&nbsp;</strong>of course, and I still wasn’t ready to commit to hosting, but I decided that running a trial in parallel made a lot of sense, especially since I was particularly aware that my tech team needed to be doing other things.</p>
<p>I’m very glad that we decided on a trial, because step four was to switch over full-time.</p>
<h3>Goodbye “Do it Yourself”, Hello SaaS</h3>
<p>The journey I’ve been on as a customer of Pivotstream has validated for me that the SaaS model together with the capability of PowerPivot makes for a more compelling business solution for reporting and BI than any alternative that I can find.</p>
<p>I’ve been particularly conscious of making sure that my tech team spend their time where they can really drive business value – building <strong>Data Warehouses</strong>,<strong> ETL</strong> and <strong>efficient</strong> <strong>business processes</strong>.&nbsp; It was clear that time spent developing SharePoint Server was time <strong>not</strong> spent adding value elsewhere.&nbsp; There’s no doubt in my mind that they would have delivered, but I knew that they could deliver more value elsewhere to more than offset any cost of hosting.</p>
<h3>Summary of Our Experience</h3>
<p>Once I had taken the decision to try out Pivotstream’s hosted solution, it became clear that “elapsed time” taken was no longer going to be a constraint to the project.&nbsp; On that same day, Azzurri had it’s own Pivotstream site in full working order with admin and consumer accounts setup for the trial.&nbsp; It was now down to me to start making this a fully functional dashboard.</p>
<p>Naturally, I had workbooks at the ready and I loaded a few up immediately.&nbsp; I started sniffing some of the <strong>additional features</strong> that I could now start playing with.&nbsp; Before I knew it, I was canvassing Pivotstream for direction on Query String URL filtering (an awesome attribute to drill across to other dashboards).&nbsp; A handy <strong>guidance document</strong> found it’s way into my inbox and I was away.</p>
<p>I was supplied with a program to <strong>split core and thin</strong> workbooks, another gem that just saves time and aggravation.&nbsp; I served up a query with web part layouts and, next day, I get a new page layout deployed straight to our site.</p>
<p>Immediately, the focus of what I was delivering was about <strong>end user usability</strong> as opposed to finding ways around potential (and in some cases very evident) performance issues.&nbsp; <strong>Performance</strong> was immediately apparent on the Pivotstream solution, as could be immediately seen by some of my more “chunky” analysis that didn’t even make it flinch.&nbsp; My in-house SharePoint Server could take upwards of a minute to open these workbooks whereas the hosted solution <strong>barely registers seconds</strong>.</p>
<p>Within a matter of days, I realised that the limits of this solution only existed to the extent of the limits of my imagination in creating dashboards.&nbsp; All of a sudden, my focus was turned on making sure that full value was derived and, to that end, I started spreading the word within Azzurri.&nbsp; Some initial training took place and I immediately recognised that these clever individuals that I was working with had even more insight bursting to get out and the fact that we were playing in Excel meant that they could immediately relate to what they were being shown.&nbsp; I had hit that fantastic point in the project where <strong>momentum</strong> starts taking over and this is probably less than two weeks after starting the trial.</p>
<p><strong>Speed</strong> (both of implementation and application), <strong>elimination of complexity</strong> and <strong>additional value adding applications</strong> delivered in a <strong>scalable data-centre</strong> model with an <strong>OPEX</strong> cost model sums it up for me.&nbsp; Now, it’s just about making the dashboards deliver the real benefit to the business – <strong>insight</strong>!</p>
<p>As I’ve been writing this, Rob’s reminded me of a comment I made back towards when this whole thing started:</p>
<blockquote><p>“My key driver is laziness so I&#8217;m always looking for quicker and better ways to do things. In doing so, I find myself working non-stop so I may have my driver wrong or I&#8217;m failing miserably!”</p>
</blockquote>
<p>The reality is that Hosted PowerPivot does do it <strong>quicker</strong> and <strong>better</strong>.&nbsp; I’m working non-stop because the results speak for themselves and I fundamentally “get it”.&nbsp; The reality is that my driver was wrong!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/my-experiences-with-hosted-powerpivot-part-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting from Peaks to Frequencies</title>
		<link>http://www.powerpivotpro.com/2012/02/converting-from-peaks-to-frequencies/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=converting-from-peaks-to-frequencies</link>
		<comments>http://www.powerpivotpro.com/2012/02/converting-from-peaks-to-frequencies/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 06:00:57 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Custom Calendars]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Medical/Scientific]]></category>
		<category><![CDATA[Time Intelligence]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3799</guid>
		<description><![CDATA[“Sniff something? Did ya, rat boy?” Continuity! Folks I just can’t resist a quick followup on the Rat Sniffing Project.&#160; I…&#160; just… can’t.&#160; Plus I am absolutely worn down and don’t have the energy tonight for anything that isn’t inherently entertaining. All of those calculated columns from the last post, remember, were just the setup [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=N2tQZLJHPuk#t=173s" 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="image32" border="0" alt="image32" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image321.png" width="507" height="179"></a></h3>
<p align="center"><strong><font size="3" face="Arial">“<em>Sniff something</em>? Did ya, <em>rat boy</em>?”</font></strong></p>
<h3>Continuity!</h3>
<p>Folks I just can’t resist a quick followup on the <strong><a href="http://www.powerpivotpro.com/2012/02/peak-detection-a-surprising-usage-of-powerpivot/">Rat Sniffing Project</a></strong>.&nbsp; I…&nbsp; just… can’t.&nbsp; Plus I am absolutely worn down and don’t have the energy tonight for anything that isn’t inherently entertaining.</p>
<p>All of those calculated columns from the last post, remember, were just the setup so we could start doing some REAL observational stuff.</p>
<p>You know, something like this:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image33.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="Measuring Event Frequency in Hz in PowerPivot" border="0" alt="Measuring Event Frequency in Hz in PowerPivot" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb29.png" width="534" height="387"></a></p>
<p>This wasn’t difficult at all.</p>
<p>Remember that I now had a column that flagged each row as “1” if it represented the peak of an inhalation:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image34.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/02/image_thumb30.png" width="371" height="345"></a></p>
<p align="center"><strong>Each Row is 0.01 second, Flagged as 1 if <br />it’s a Peak Inhale, aka a “Sniff”</strong></p>
<p>So now I really just need some measures.</p>
<h3>The First Measure I’ve Ever Written in the Unit of Hertz!</h3>
<p>(Hmmm.&nbsp; There’s a joke in here somewhere, the first line of which is something like “what do you do if your unit Hertz?”&nbsp; Listen, I told you I was tired.)</p>
<p>Since I have a 1 in the RobPeak column, summing it will yield the number of peaks in an interval – I don’t need to do a CALCULATE(COUNTROWS()) with a filter set to 1.</p>
<p>So the measure formula for Hz (events per second) is:</p>
<p><font size="3" face="Courier New">(SUM(Data[RobPeak]) / COUNTROWS(Data)) * 100</font></p>
<p>Why times 100?&nbsp; Because each row is actually 0.01 second.</p>
<h3>Now THIS is a *Time* Table</h3>
<p>This is another first:&nbsp; creating a separate time table that is NOT measured in days.&nbsp; In this case…&nbsp; hundredths of a second:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image35.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="A Time Table in PowerPivot - Not Dates.  Seconds." border="0" alt="A Time Table in PowerPivot - Not Dates.  Seconds." src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb31.png" width="611" height="375"></a></p>
<p align="center"><strong>Not a Calendar Table – a Time Table.&nbsp; In&nbsp; 0.01 Second Increments</strong></p>
<p>OK, it’s not a Calendar table but it is VERY similar.&nbsp; Just like a Calendar table has columns like DayofWeek, DayOfMonth, CalendarYear, etc. – those columns represent properties of dates.&nbsp; Well, the columns I have here like Second and FiveSecond are the same sort of thing.</p>
<p>And since I have 6 rats in the experiment, it is wasteful to duplicate those properties in my Data table.&nbsp; Plus there’s <strong><a href="http://www.powerpivotpro.com/2011/08/less-columns-more-rows-more-speed/">that whole speed thing</a></strong>.</p>
<p>So I created this separate table and related it to my Data table.</p>
<p>And this table then “powers” my slicers like these:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image36.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="Slicers Based on a Time Table Measured in Minutes and Seconds" border="0" alt="Slicers Based on a Time Table Measured in Minutes and Seconds" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb32.png" width="312" height="148"></a></p>
<p align="center"><strong>Slicers Based on a Time Table Measured in Minutes and Seconds</strong></p>
<p><strong>These slicers represent a navigation method</strong> more than they do a “filter” in the classic sense.&nbsp; I say that because fields from the time table are on the axis of the chart as well:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image37.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/02/image_thumb33.png" width="520" height="197"></a></p>
<p>The net effect is that I can use my slicers to quickly move around the data and examine “windows” that are interesting or relevant.&nbsp; Couple of quick clicks and I am now looking at minute 4 instead of minute 3, and just the first 10 seconds of that minute:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image38.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/02/image_thumb34.png" width="482" height="345"></a></p>
<p align="center"><strong>Quickly “Jumped” to the 4:00-4:10 Interval</strong></p>
<p>It’s ALMOST like the slider control on a YouTube video:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image39.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/02/image_thumb35.png" width="271" height="77"></a></p>
<p align="center"><strong>YouTube Has a Time Slicer Control Too!</strong></p>
<p>Wouldn’t it be neat if Excel gave us a YouTube-style slicer for time?&nbsp; We can dream.</p>
<h3>Side Note:&nbsp; Rats Breathe FAST!</h3>
<p>Check those charts out.&nbsp; Between 5 and 9 Hz???&nbsp; Really?&nbsp; Those little rascals inhale between 5 and 9 times per second, on a SUSTAINED basis?&nbsp; Wow.&nbsp; I’m easily amused I guess, but wow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/converting-from-peaks-to-frequencies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Peak Detection:  A Surprising Usage of PowerPivot</title>
		<link>http://www.powerpivotpro.com/2012/02/peak-detection-a-surprising-usage-of-powerpivot/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=peak-detection-a-surprising-usage-of-powerpivot</link>
		<comments>http://www.powerpivotpro.com/2012/02/peak-detection-a-surprising-usage-of-powerpivot/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 15:45:06 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Custom Calendars]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Medical/Scientific]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3781</guid>
		<description><![CDATA[&#160; “Who are YOU, who are so WISE in the ways of SCIENCE?” It’s all about following through… In a recent post I covered a very simple scientific scenario.&#160; It was an interesting diversion from the normal biz-style scenarios but it left me feeling hollow in two ways.&#160; First, it was too simple and didn’t [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.youtube.com/watch?v=zrzMhU_4m-g" 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/02/image22.png" width="524" height="289"></a></p>
<p align="center"><strong><font size="3" face="Arial">“Who are YOU, who are so WISE in the ways of SCIENCE?”</font></strong></p>
<h3>It’s all about following through…</h3>
<p><strong><a href="http://www.powerpivotpro.com/2012/02/tracking-performance-after-an-event-or-treatment/">In a recent post</a></strong> I covered a very simple scientific scenario.&nbsp; It was an interesting diversion from the normal biz-style scenarios but it left me feeling hollow in two ways.&nbsp; First, it was too simple and didn’t account for the possibility of multiple different treatment types, so I pinged the Italians.&nbsp; (They responded, as they always do, and I owe a post on their reply, probably Thursday).</p>
<p>But the other problem was that, while claiming to be a scientific scenario, it was manufactured by me, and hey, I’m no scientist.&nbsp; Then it hit me…</p>
<h3>Hey!&nbsp; My Neighbor is a REAL Scientist!</h3>
<p>Yeah, <strong><a href="http://neurowww.cwru.edu/faculty/wesson/index" target="_blank">Dan Wesson</a></strong> is a “he-runs-his-own-research-lab-at-the-university, is-published-in-prestigious-science-journals” kind of scientist.&nbsp; So I decided to bounce the question off of him – was my example scenario at all useful, and if not, what WOULD be useful?&nbsp; Boy, am I glad I asked.</p>
<h3>Perhaps My Favorite PowerPivot Visualization Yet</h3>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image23.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="PowerPivot Used for Peak Detection - My New Dining Room Mural" border="0" alt="PowerPivot Used for Peak Detection - My New Dining Room Mural" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb20.png" width="625" height="293"></a></p>
<p align="center"><strong>Click for Full Size!</strong></p>
<p><strong>First of all, HOW COOL IS THAT?</strong>&nbsp; It looks like the double helix or something.&nbsp; I joked with my wife that I was gonna have it turned into an eight-foot mural for the dining room.&nbsp; (Yeah, I was joking sweetie.&nbsp; Totally joking, I would never do something like that).</p>
<h3>What do the Values Mean?</h3>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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/02/image_thumb21.png" width="266" height="249"></a></p>
<p>These are measurements of respiration taken from rats in Dan’s lab.&nbsp; Negative values indicate “inhale” and positive indicate “exhale.”</p>
<p><strong>Each value represents one-one-hundredth of a second – how’s that for time intelligence?</strong>&nbsp;<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-smile2.png"></p>
<h3>What Does “Peak Detection” Mean?</h3>
<p>In order to make sense of the data, Dan needs to measure the frequency of how often the rats “sniff.”&nbsp; Sniffing is an indicator of all sorts of things apparently – a sign of interest, a sign of cognition, a sign of dominance…&nbsp; I had no idea.</p>
<p><strong>Anyway, he needs to measure the number of “sniffs” the rats take in a given time frame</strong>, and in order to do that, he needs to count the negative peaks in the breathing data:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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/02/image_thumb22.png" width="413" height="278"></a></p>
<h3>PowerPivot Can Do This?&nbsp; Yes, Better Than the Professional Tools!</h3>
<p>I went into this mostly expecting that PowerPivot was not going to be a good tool for his needs.&nbsp; And as usual, PowerPivot surprised me.</p>
<p>Not only can PowerPivot do this, it outperforms expensive specialized software.&nbsp; <strong>Software that is designed to do precisely this task.&nbsp; </strong>Let that sink in for a moment:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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="PowerPivot Outperforms Expensive and Specialized Scientific Software" border="0" alt="PowerPivot Outperforms Expensive and Specialized Scientific Software" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb23.png" width="538" height="187"></a></p>
<p align="center"><strong>$10,000 Specialized Scientific Software Often “Misses” the Peaks, <br />PowerPivot is Dead On</strong></p>
<h3>How Did I Do It?</h3>
<p>It actually wasn’t that hard.</p>
<p>Given a data set like this with 180 thousand rows:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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="PowerPivot Six Rats&rsquo; Breathing Measured 100 Times per Second for Five Minutes" border="0" alt="PowerPivot Six Rats&rsquo; Breathing Measured 100 Times per Second for Five Minutes" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb24.png" width="231" height="355"></a></p>
<p align="center"><strong>Six Rats’ Breathing Measured 100 Times per Second for Five Minutes</strong></p>
<p>I needed to generate a 1/0, True/False column identifying whether a given row was a “sniff” peak.</p>
<p>I ended up creating a TimeID column so that I could work in integers:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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/02/image_thumb25.png" width="451" height="163"></a></p>
<p align="center"><strong>Multiply by 100 So I Can Work in Integer Time Increments</strong></p>
<p>And then I wrote the following calc column formula:</p>
<p><font size="3" face="Courier New">[IsPeakCandidate]</p>
<p>=IF(OR([TimeID]=0,[value]=0),0,<br /> IF([value] &gt; 0,0,&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; IF(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALCULATE<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (MIN([value]), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(Data), Data[Rat]=EARLIER(Data[Rat])),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(Data), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[TimeID]=EARLIER(Data[TimeID])-1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;[value]<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ,</font><font size="3" face="Courier New"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALCULATE<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (MIN([value]), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(Data), Data[Rat]=EARLIER(Data[Rat])),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(Data), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[TimeID]=EARLIER(Data[TimeID])+1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;[value],</font><font size="3" face="Courier New"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ,1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ,0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp; )</font></p>
<p><font size="3" face="Courier New">)</font></p>
<h3>What is that formula doing?</h3>
<p>Ok that looks complex.&nbsp; But all it’s doing is asking three questions:</p>
<ol>
<li>Is the CURRENT row’s value less than zero?</li>
<li>Was the PRIOR row’s value <em>greater</em> than this row’s value?</li>
<li>Is the NEXT row’s value also <em>greater</em> than this row’s value?</li>
</ol>
<p>If all three are “yes,” then this row represents a negative peak.</p>
<h3>Flaw:&nbsp; A “Hiccup” Becomes a Peak</h3>
<p>Unsurprisingly, it turns out that formula wasn’t quite good enough:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image29.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_thumb26.png" width="431" height="397"></a></p>
<p align="center"><strong>In Basketball This is Called This a “Pump Fake”<br />(In American Football, a “Juke,” in Hockey, a “Deke…”)</strong></p>
<p>So I added another calculated column:</p>
<p><font size="3" face="Courier New">[MinOverInterval]</p>
<p>=CALCULATE(MIN(Data[value]), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL(Data), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(Data), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[Rat]=EARLIER(Data[Rat])<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILTER(ALL(Data), <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[TimeID] &lt;= EARLIER(Data[TimeID]) +5 &amp;&amp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[TimeID] &gt;= EARLIER(Data[TimeID]) –5<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />)</font></p>
<p>For each row in my data that calculates what is the minimum value over an 11-row interval – five rows before, five rows after, and the row itself:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image30.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_thumb27.png" width="526" height="338"></a></p>
<p align="center"><strong>MinOverInterval:&nbsp; The Smallest Value in the 11-Row Window</strong></p>
<h3>One Last Column!</h3>
<p>Then, tying it all together, the last calc column is this:</p>
<p><font size="3" face="Courier New">[IsRealPeak]</p>
<p>=IF(<br />&nbsp;&nbsp; AND(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[PeakCandidate]=1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data[MinOverInterval]=Data[Value]<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />&nbsp;&nbsp; ,1,0<br />)</font></p>
<p>This column says “if this row was flagged as a peak candidate already, AND it is the most negative row in its 11-row interval, then we bless it as a REAL peak row.”</p>
<p>And if I use that column instead, that fixes the false peaks:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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/02/image_thumb28.png" width="373" height="330"></a></p>
<h3>Some Final Notes</h3>
<p><strong>First, I suspect that I can simplify my calc columns a bit.</strong>&nbsp; There was some exploratory trial and error in this process and it might be that the “MinOverInterval” test is ALL I need, since there’s no way a row can be its minimum in the interval and NOT be more negative than its immediate neighbors.</p>
<p>But hey, I wanted to get this post out ok? <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-smile2.png"></p>
<p><strong>Second, yes, these calc columns are something I’d ideally want to have </strong><a href="http://www.powerpivotpro.com/2011/11/why-powerpivot-is-better-fed-from-a-database-pt2/"><strong>done in a database</strong></a><strong>.</strong>&nbsp; But since I want to give Dan a completely self-contained toolset, I had to do it in calc columns.</p>
<p><strong>Lastly, this “peak detection” is NOT the end of the road!</strong>&nbsp; Far from it.&nbsp; It’s just the beginning.&nbsp; Now that we have a reliable “peak flag” column in our data, we can start doing the normal PowerPivot thing – measures of frequency, slicing by properties of the rat itself (age, sex, etc.), properties of the trial…&nbsp; </p>
<p>So I expect Pivotstream will be doing some real work for Dan’s lab, helping support his Alzheimer’s research.&nbsp; All starting from a quick conversation in Dan’s backyard over the weekend.&nbsp; How cool is that?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/peak-detection-a-surprising-usage-of-powerpivot/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More Live PowerPivot Web Apps!</title>
		<link>http://www.powerpivotpro.com/2012/02/more-live-powerpivot-web-apps/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=more-live-powerpivot-web-apps</link>
		<comments>http://www.powerpivotpro.com/2012/02/more-live-powerpivot-web-apps/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 07:11:45 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Pivotstream Tools and Software]]></category>
		<category><![CDATA[PowerPivot as Online Service]]></category>
		<category><![CDATA[PowerPivot Links]]></category>
		<category><![CDATA[Usability and Appearance]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3759</guid>
		<description><![CDATA[&#160; “IT’S ALIVE!!!!”(Just your average Excel Pro after converting his first PowerPivot Workbook into a Web App) I’ve got another article about to go live on CIMA Insight, but I’m gonna jump the gun a bit and post basically the entire thing here ahead of time. At Pivotstream we recently went live with our first [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br /><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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="Excel Pro Turned Web Developer with a SINGLE CLICK!  MUHAHAHAHA!" border="0" alt="Excel Pro Turned Web Developer with a SINGLE CLICK!  MUHAHAHAHA!" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb19.png" width="467" height="339"></a></p>
<p align="center"><strong><font size="4" face="Arial">“IT’S ALIVE!!!!”<br /><font size="3">(Just your average Excel Pro after converting <br />his first PowerPivot Workbook into a Web App)</font></font></strong></p>
<p>I’ve got another article about to go live on <a href="http://www.cimaglobal.com/Thought-leadership/Newsletters/Insight-e-magazine/" target="_blank"><strong>CIMA Insight</strong></a>, but I’m gonna jump the gun a bit and post basically the entire thing here ahead of time.
<p>At <strong><a href="http://pivotstream.com" target="_blank">Pivotstream</a></strong> we recently went live with our first full-time demo site for <strong><a href="http://www.powerpivotpro.com/powerpivot-hosting/" target="_blank">Hosted PowerPivot</a></strong>.&nbsp; We’re going to be adding to it over time, but it’s got enough on it already that I think it’s worth looking at – it shows that “spreadsheets have become live web applications” thing that has to be seen, live, to really sink in.<br />
<h3>Customizable Homepage</h3>
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/default.aspx" target="_blank"><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="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image21.png" width="651" height="424"></a>
<p>Pretty self-explanatory – customizable content plus a menu of applications.&nbsp; Link below.&nbsp;
<p>(OK, one note:&nbsp; I say “customizable” but customization is only allowed for Authors/Owners of the site.&nbsp; What you are seeing here in the Consumer experience, and Consumers cannot customize this home page).
<p><a title="https://insights.hostedpowerpivot.com/sites/Demo/Pages/default.aspx" href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/default.aspx"><strong>https://insights.hostedpowerpivot.com/sites/Demo/Pages/default.aspx</strong></a>&nbsp;<br />
<h3>App #1: Based on Microsoft’s “AdventureWorks” Sample Data Set</h3>
<p>This is the workbook from the Budget vs. Actuals Part One and Part Two posts. Here’s a picture of that same workbook after it’s been saved to a SharePoint web server and then accessed in my browser:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/Adventureworks-Sample.aspx" target="_blank"><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="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image002.png" width="629" height="451"></a>
<p>Notes on this application:
<ol>
<li>This is just an XLSX file, created with PowerPivot and then saved to the server</li>
<li>But it’s rendering in my browser (Firefox in this case), and the XLSX is NOT being downloaded to my computer</li>
<li>I do NOT have to have Excel installed on my computer in order for this browser application to function</li>
<li>This picture is of the menu page of the app, which is just a worksheet with the gridlines and headers turned off</li>
<li>The graphics are two image files inserted into the sheet via Insert.Picture on the ribbon</li>
<li>The four hyperlinks are merely links to other worksheets within the workbook</li>
</ol>
<p>If I click the “Sales vs. Budget” hyperlink, I am taken to the report I built in last month’s article:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/Adventureworks-Sample.aspx" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image004.png" width="622" height="444"></a>
<p>Click the slicer – it works <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-smile1.png"></p>
<p>Try this application out here:</p>
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/Adventureworks-Sample.aspx"><strong>https://insights.hostedpowerpivot.com/sites/Demo/Pages/Adventureworks-Sample.aspx</strong></a><br />
<h3>Application #2: Retailer Overlap Competitive Analysis</h3>
<p>This application is based on two real-world data sets. One is a list of the addresses of almost every retail food/drug store in the United States. The other is a detailed list of demographic information about every ZIP code (postal code) in the United States.
<p>Blend them together in PowerPivot and you get an application like this:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/Retailer%20Overlap%20Analysis.aspx" target="_blank"><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="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image005.png" width="635" height="429"></a>
<p>Note that I have selected the two warmest temperature ranges, circled in orange. If I click the link at the top of the sheet I then see the following analysis:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/Retailer%20Overlap%20Analysis.aspx" target="_blank"><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="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image007.png" width="641" height="405"></a>
<p>Notes:
<ol>
<li>I have the application set as if “I” were Walgreens, and evaluating my competitors’ geographic overlap with my Walgreens retail locations</li>
<li>The first column indicates to me that CVS competes with me (Walgreens) for 41.5% of the potential customers that I try to reach</li>
<li>In other words, 41.5% of the people who live near a Walgreens also live near a CVS</li>
<li>The second column reports that Walgreens competes with me for 47.3% of my customers in Warm locations</li>
<li>So the first column ignores the slicer selections I made on the menu page, and the second column respects them!</li>
<li>The third column represents the delta between columns 1 and 2. Interesting, for instance, that Rite Aid does NOT compete with me at all really in warm locations</li>
<li>Try it out, slice away – there are many ways to slice and analyze this data set</li>
</ol>
<p>Application is located here:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/Retailer%20Overlap%20Analysis.aspx"><strong>https://insights.hostedpowerpivot.com/sites/Demo/Pages/Retailer%20Overlap%20Analysis.aspx</strong></a><br />
<h4>Application #3: CRM Analyzer</h4>
<p>This one is also based off of a sample data set, but it is one pulled from a popular CRM package and therefore represents real-world value.
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/CRM-Analyzer.aspx" target="_blank"><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="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image009.png" width="636" height="399"></a>
<p>Note that there are multiple reports in this application as well, plus a menu page, but I’m just showing one here for space reasons.
<p>Application can be tried out here:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/CRM-Analyzer.aspx"><strong>https://insights.hostedpowerpivot.com/sites/Demo/Pages/CRM-Analyzer.aspx</strong></a><br />
<h4>Application #4: UFO Sightings</h4>
<p>Many of you have seen this one already, on <strong><a href="http://mrexcel.hostedpowerpivot.com/Pages/default.aspx" target="_blank">Mr. Excel’s Hosted PowerPivot site</a></strong>, but we put it on this demo site as well.
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/UFO-Sightings-Real-Data,-Humorous-Conclusions.aspx" target="_blank"><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="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" border="0" alt="Hosted PowerPivot Demo - PowerPivot for SharePoint Made Simple" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image010.png" width="636" height="401"></a>
<p>Application is located here:
<p><a href="https://insights.hostedpowerpivot.com/sites/Demo/Pages/UFO-Sightings-Real-Data,-Humorous-Conclusions.aspx"><strong>https://insights.hostedpowerpivot.com/sites/Demo/Pages/UFO-Sightings-Real-Data,-Humorous-Conclusions.aspx</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/more-live-powerpivot-web-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lookups based on date ranges</title>
		<link>http://www.powerpivotpro.com/2012/02/lookups-based-on-date-ranges/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=lookups-based-on-date-ranges</link>
		<comments>http://www.powerpivotpro.com/2012/02/lookups-based-on-date-ranges/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 05:01:00 +0000</pubDate>
		<dc:creator>powerpivotpro</dc:creator>
				<category><![CDATA[Accounting/Financial Techniques]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[Quick Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.powerpivotpro.com/?p=3744</guid>
		<description><![CDATA[Another one from the Mr. XL Forum! …and the word “forum” gives me an excuse for a blast from the past… “What you are about to witness is real. The participants are not actors.&#160; They have agreed to dismiss their tech support cases and have their questions settled here, in our forum: THE POWERPIVOT COURT [...]]]></description>
			<content:encoded><![CDATA[<h3>Another one from the <a href="http://www.mrexcel.com/forum/forumdisplay.php?f=29"><u><font color="#4f81bd">Mr. XL Forum</font></u></a><u><font color="#4f81bd">!</font></u></h3>
<p>…and the word “forum” gives me an excuse for a blast from the past…</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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="PowerPivot Court" border="0" alt="PowerPivot Court" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb18.png" width="462" height="326"></a></p>
<p align="center"><font face="Arial"><font size="2">“What you are about to witness is real. The participants are not actors.&nbsp; They have agreed to dismiss their tech support cases and have their questions settled here, in our forum: <br /><b>THE POWERPIVOT COURT</b></font></font></p>
<p align="center"><strong><a href="http://www.youtube.com/watch?v=7iTqoDH0vFU" target="_blank">(Click here for theme music!)</a></strong></p>
<h3>The much-neglected calculated column</h3>
<p>OK, neglected by me, not by everyone else.&nbsp; At Pivotstream I have the benefit of a great SQL team.&nbsp; Generally speaking, when I need a calculated column, I ask them to provide it.&nbsp; The benefits of doing that are documented several places on this site, <a href="http://www.powerpivotpro.com/2011/11/why-powerpivot-is-better-fed-from-a-database-pt-1/"><strong>including here</strong></a><strong>&nbsp;</strong>and<strong> <a href="http://www.powerpivotpro.com/2011/11/why-powerpivot-is-better-fed-from-a-database-pt2/">continued here</a>.</strong></p>
<p>But hey, not everyone has a database rapid-response team at their disposal <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/wlEmoticon-sadsmile1.png"></p>
<p>So questions like this one come up a lot on the forums, reminding me of my blind spot:</p>
<p>You have two tables of data.&nbsp; In one, you have a list of your clients and their effective discount rate during particular date ranges – marked by a start and an end date.&nbsp; If the End date is blank, that discount rate is assumed to still be active.</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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/02/image_thumb14.png" width="466" height="410"></a></p>
<p align="center"><strong>Rates Table:&nbsp; Discount Rate per Client, <br />Over Distinct Date Ranges (Start and End Effective Date)</strong></p>
<p>Then there’s a second table, listing Clients and the days that you called each of them:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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="Multiple Clients, and Multiple Calls to Each Client in PowerPivot" border="0" alt="Multiple Clients, and Multiple Calls to Each Client in PowerPivot" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb15.png" width="294" height="345"></a></p>
<p align="center"><strong>Calls Table:&nbsp; Multiple Clients, and Multiple Calls to Each Client</strong></p>
<h3>Desired Result</h3>
<p>You want to add a calculated column to that Calls table which contains that client’s effective discount rate on the date of the call:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/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="Calc Column in PowerPivot Looking Up a Value Based on Date Ranges in Another Table" border="0" alt="Calc Column in PowerPivot Looking Up a Value Based on Date Ranges in Another Table" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image_thumb16.png" width="449" height="306"></a></p>
<p align="center"><strong>We Want to Add the Highlighted Calc Column – What’s the Formula?</strong></p>
<p>So… what’s the formula?</p>
<p><font size="3" face="Courier New">=CALCULATE(AVERAGE(Rates[Rate]), <br />&nbsp;&nbsp; FILTER(Rates, <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rates[Start]&lt;=Calls[ContactDate] &amp;&amp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rates[EffectiveEnd] &gt;= Calls[ContactDate] &amp;&amp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rates[Client]=Calls[Client]<br />&nbsp;&nbsp; )<br />)</font></p>
<h3>Hey, That’s a Lot Like a Measure!</h3>
<p>Yeah, it IS a lot like a measure.&nbsp; It uses <strong><a href="http://www.powerpivotpro.com/2009/12/powerpivot-dax-calculate-is-a-supercharged-sumif/">CALCULATE, the wonder function</a></strong>. </p>
<p>But in this case, we’re just using CALCULATE to apply filters in our calculated column.</p>
<p>Works basically the same way, though.&nbsp; The three clauses in the FILTER() function are all AND’d together using the &amp;&amp; operator, so that only rows from the Rates table meeting the following three criteria are “kept” and then “fed” to the AVERAGE function:</p>
<ol>
<li>The Start date in the rates table must be prior to (or equal to) the Contact Date in the Calls table.
<li>The End date in the rates table must be after (or equal to) the Contact Date in the Calls table.
<li>The Client ID in the rates table must match the Client ID in the Calls table </li>
</ol>
<p><strong>Note for those who desire deeper understanding:</strong>&nbsp; The biggest difference between this calc column formula and a similar formula we’d have to write in a measure is that in a measure, we’d have to use the <strong><a href="http://www.powerpivotpro.com/2011/03/the-magic-of-ifvalues/">VALUES()</a></strong> function wrapped around the right hand side of the criteria – VALUES(Calls[ContactDate]) rather than just Calls[ContactDate]).&nbsp; And we’d have to “protect” those VALUES functions with an IF(COUNTROWS()) since you can’t use VALUES() as part of an “=” test, <strong><a href="http://www.powerpivotpro.com/2011/03/the-magic-of-ifvalues/">except when there is only one value returned</a></strong>, or maybe use MAX() instead of VALUES().&nbsp; The point is that in a calc column, we DO have a current row in the table, so we don’t need the wrapper function like we do in a measure.</p>
<h3>What’s that EffectiveEndDate column?</h3>
<p>Yeah I sneaked that one in.&nbsp; It’s another calc column I added to the Rates table:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/image18.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; 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/02/image_thumb17.png" width="626" height="423"></a></p>
<p>You can see its formula in the formula bar in the image above.&nbsp; I just wanted to put a non-blank value in whenever End was blank.&nbsp; You could hard-code a date in there if you wanted, or use TODAY() and a much bigger number than 365.&nbsp; I just figured that setting a date one year in the future from today is good.&nbsp; Keep in mind though that TODAY() will only be re-evaluated when you refresh your data or force a re-calc.</p>
<h3>Is There a Relationship Between Those Two Tables?</h3>
<p>No, there is not.&nbsp; Neat huh?&nbsp; And really, there couldn’t be anyway – each Client ID appears more than once in each table, and PowerPivot doesn’t handle relationships on “many to many” like that.&nbsp; The date columns are even less “relationship friendly” since they don’t match up at all, and are based on ranges in one table and single dates in the other.</p>
<h3>Download the Workbook</h3>
<p>I’m trying to do this more often, especially with the forum questions.</p>
<p align="center"><strong><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/EffectiveClientRatesByDate.xlsx" target="_blank"><font size="3">Download the workbook here</font></a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/lookups-based-on-date-ranges/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Downgrading From PowerPivot v2 to v1</title>
		<link>http://www.powerpivotpro.com/2012/02/downgrading-from-powerpivot-v2-to-v1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=downgrading-from-powerpivot-v2-to-v1</link>
		<comments>http://www.powerpivotpro.com/2012/02/downgrading-from-powerpivot-v2-to-v1/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 03:06:22 +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=3728</guid>
		<description><![CDATA[OK, let’s say you already installed v2, whether inadvertently or…&#160; advertently. And now you need to downgrade to v1, so that your workbooks function on your server, or can be opened by other people running v1 on their desktops. So… how to do that? The Obvious Thing Works for Most People Simple:&#160; just uninstall v2 [...]]]></description>
			<content:encoded><![CDATA[<p>OK, let’s say you already installed v2, whether inadvertently or…&nbsp; advertently.</p>
<p>And now you need to downgrade to v1, so that your workbooks function on your server, or can be opened by other people running v1 on their desktops.</p>
<p>So… how to do that?</p>
<h3>The Obvious Thing Works for Most People</h3>
<p><strong>Simple:&nbsp; just uninstall v2 (from Windows Control Panel) and then install v1.</strong></p>
<p><strong>But if you see this error</strong> when you try to build a new workbook, or open an old one, well, it’s not working out:</p>
<p><a href="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image002.jpg"><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="An operation that uses the database driver could not be completed - seen after downgrading PowerPivot v2 to v1." border="0" alt="An operation that uses the database driver could not be completed - seen after downgrading PowerPivot v2 to v1." src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/clip_image002_thumb.jpg" width="647" height="128"></a></p>
<h3>What to do if you get that error?</h3>
<p>
<p><b><u></u></b></p>
<p>1) Open Start Menu
<p>2) Find “Command Prompt” – it is under Accessories
<p>3) Right Click on Command Prompt, choose Run as Administrator
<p>4) Once in the cmd window (looks like the old DOS window), type the following:
<p>regsvr32 &#8220;C:\Program Files\Microsoft Analysis Services\AS OLEDB\10\msolap100.dll&#8221;
<p>You may need to correct for your actual folder location – that’s the location on my machine.&nbsp; The quotes ARE required.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/downgrading-from-powerpivot-v2-to-v1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Microsoft’s PowerPivot Download Links Updated</title>
		<link>http://www.powerpivotpro.com/2012/02/microsofts-powerpivot-download-links-updated/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microsofts-powerpivot-download-links-updated</link>
		<comments>http://www.powerpivotpro.com/2012/02/microsofts-powerpivot-download-links-updated/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 01:14:16 +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=3724</guid>
		<description><![CDATA[&#160;My former colleagues at Microsoft have responded to the issue I raised last week and have updated the PowerPivot.com download page to include links to both the “beta” of v2 as well as the latest, trusted version of v1. Still not perfect though, as the v2 link remains first And since not everyone knows that [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />My former colleagues at Microsoft have responded to <strong><a href="http://www.powerpivotpro.com/2012/02/warning-powerpivot-com-download-is-v2-beta/">the issue I raised last week</a></strong> and have updated the <a href="http://powerpivot.com" target="_blank"><strong>PowerPivot.com</strong></a> download page to include links to both the “beta” of v2 as well as the latest, trusted version of v1.</p>
<p>Still not perfect though, as the v2 link remains first <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://www.powerpivotpro.com/wp-content/uploads/2012/02/wlEmoticon-sadsmile.png"></p>
<p>And since not everyone knows that “2012 RC0” means “test version that won’t work with your servers, or anyone using v1” and that “2008 R2” means “version 1, the one you need for production environments,” well, this could still use some serious clarification.&nbsp; </p>
<p>So let me make it 100% clear which link is good for what purpose:</p>
<p><a href="http://www.microsoft.com/en-us/bi/powerpivot.aspx" target="_blank"><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/02/image13.png" width="632" height="330"></a></p>
<p align="center"><strong>First Link is a Test Version of V2, Second Link is Released Version of V1</strong></p>
<h3>See Also</h3>
<p><strong><a href="http://www.powerpivotpro.com/2012/02/downgrading-from-powerpivot-v2-to-v1/"><font size="2">Downgrading from V2 to V1</font></a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.powerpivotpro.com/2012/02/microsofts-powerpivot-download-links-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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&amp;utm_medium=rss&amp;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-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/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>Workbooks created in v2 CANNOT be opened by v1, and that includes v1 server!
<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>
<h3>See Also</h3>
<p><strong><font size="2"><a href="http://www.powerpivotpro.com/2012/02/downgrading-from-powerpivot-v2-to-v1/">Downgrading from V2 to V1</a></font></strong></p>
<p><strong><font size="2"><a href="http://www.powerpivotpro.com/2012/02/microsofts-powerpivot-download-links-updated/">Microsoft Fixes the Download Page…&nbsp; Sorta</a></font></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&amp;utm_medium=rss&amp;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>2</slash:comments>
		</item>
	</channel>
</rss>

