<?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>SQL Business Intelligence Professional</title>
	<atom:link href="http://www.sqlbipro.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlbipro.com</link>
	<description>Business Intelligence + Software Craftmanship</description>
	<lastBuildDate>Fri, 13 Aug 2010 12:30:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>T-Minus 24 hours until SQL Saturday #28 &#8211; Baton Rouge</title>
		<link>http://www.sqlbipro.com/2010/08/13/t-minus-24-hours-until-sql-saturday-28-baton-rouge/</link>
		<comments>http://www.sqlbipro.com/2010/08/13/t-minus-24-hours-until-sql-saturday-28-baton-rouge/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 12:30:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[SQL Saturday]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=139</guid>
		<description><![CDATA[Less than 24 hours from my first session at the SQL Saturday event on the campus of Louisiana State University tomorrow.&#160; Below is my schedule for the event. 7:30am to 8:30am&#160; SQL Server Analysis Services Cube Creation If you have been curious about Microsoft’s OLAP engine, and how to get started using it, this is [...]]]></description>
			<content:encoded><![CDATA[<p>Less than 24 hours from my first session at the <a href="http://www.sqlsaturday.com/28/eventhome.aspx" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.sqlsaturday.com/28/eventhome.aspx?referer=');">SQL Saturday</a> event on the campus of Louisiana State University tomorrow.&#160; Below is my schedule for the event.</p>
<h5>7:30am to 8:30am&#160; SQL Server Analysis Services Cube Creation</h5>
<p>If you have been curious about Microsoft’s OLAP engine, and how to get started using it, this is the session for you.&#160; In addition to covering the basics of getting, building and navigating the sample OLAP databases, this session will take attendees through a complete build of an SSAS database in our 60-minute, eye-opening session.</p>
<h5>11:30am to 12:30 am Ask the Experts Panel, SSAS/MDX/Data Warehousing</h5>
<p>I will be working an Ask The Experts session with Bryan Smith.&#160; Here is your chance to play stump the chumps with your questions on all things Microsoft OLAP and Data Warehousing. </p>
<h5>2:45pm to 3:45pm College Football and Microsoft Business Intelligence</h5>
<p>In my own personal Power Hour session, I will share my passion and fanaticism for college football and data analysis.&#160; The plan is for a light-hearted overview of some fascinating uses of the Microsoft Business Intelligence platform. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/08/13/t-minus-24-hours-until-sql-saturday-28-baton-rouge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relative Performance, Conditional Formatting and Outliers</title>
		<link>http://www.sqlbipro.com/2010/07/21/relative-performance-conditional-formatting-and-outliers/</link>
		<comments>http://www.sqlbipro.com/2010/07/21/relative-performance-conditional-formatting-and-outliers/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 13:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[PowerPivot]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=138</guid>
		<description><![CDATA[In the spirit of the Scientific Method, I was recently creating a PowerPivot solution using the calculations for relative airline performance published on the “Things in the Sky” blog.&#160; In short, the author was using the Bureau of Transportations Statistics data on airline on-time performance to determine performance of each airline, relative to the average [...]]]></description>
			<content:encoded><![CDATA[<p>In the spirit of the Scientific Method, I was recently creating a PowerPivot solution using the calculations for relative airline performance published on the “<a href="http://boardingarea.com/blogs/thingsinthesky/2010/07/19/the-prestigious-earlier-than-the-other-guys-award/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/boardingarea.com/blogs/thingsinthesky/2010/07/19/the-prestigious-earlier-than-the-other-guys-award/?referer=');">Things in the Sky</a>” blog.&#160; In short, the author was using the Bureau of Transportations Statistics data on airline on-time performance to determine performance of each airline, relative to the average delay at a given airport.&#160; The premise was carriers such as Hawaiian Airlines, predominately operating in great weather, are having their on-time performance grades skewed up.&#160; Alternatively, carriers operating in congested and/or foul-weather destinations (Philadelphia, New York, Boston) are having their on-time performance under-reported.&#160; The idea is to index a carrier’s performance relative to the system’s performance as a whole.</p>
<p>After loading nearly 9 Million flights into PowerPivot from the <a href="http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236&amp;DB_Short_Name=On-Time" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236_amp_DB_Short_Name=On-Time&amp;referer=');">BTS site</a> I constructed DAX formulas for the average delay for the current context filters, across all carriers.&#160; Because I know that I will use this in the context of an Airport, I have labeled it Airport_Avg_Delay.&#160; </p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/AverageDelayAllCarriers.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Average Delay All Carriers" border="0" alt="Average Delay All Carriers" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/AverageDelayAllCarriers_thumb.jpg" width="468" height="228" /></a> </p>
<p>The average delay for a given carrier (and/or other context filters) is a simple AVERAGE().</p>
<p>Dividing the AVERAGE by the Airport_Avg_Delay, formatting the result as a percent yields and conditionally formatting the table yields the PivotTable below.&#160; Additionally, I have filtered for only May, 2010 data and only selected airports, for this example.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/NormalRanges.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Normal Ranges" border="0" alt="Normal Ranges" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/NormalRanges_thumb.jpg" width="523" height="173" /></a> </p>
<p>As I have pointed out earlier, Conditional Formatting is a nice tool for getting a rapid visualization from a table of values.&#160; It can make identification of the best and worst performers easy in a casual glance.</p>
<h5>Outliers Matter</h5>
<p>The important thing to remember, with out of the box conditional formatting, is that outliers matter.&#160; As more extreme data points are gathered, the degree to which other observations are shaded as ‘hotter reds’ or ‘colder blues’ changes.&#160; For instance, if I were to eliminate Anchorage (ANC), with the American Airlines 375% performance relative to average OR Philadelphia (PHL) with 428% for Skywest, the entire color format of the chart would change.</p>
<p>Another example of why outliers matter is the table below.&#160; I have filtered down to May 10, 2010, which was a bad day to fly into Philadelphia on Skywest or Chicago O’Hare on Pinnacle.&#160; Their performance relative to the average of over 1490% and 2254% skew the entire table.&#160; There is not another red-shaded value of less than 4 times worse than average.&#160; Even performance at double the average is visually indicated as ‘normal’.&#160; Because the range of normal changes with the introduction of the outlier.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Outliers.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Outliers" border="0" alt="Outliers" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Outliers_thumb.jpg" width="522" height="179" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/07/21/relative-performance-conditional-formatting-and-outliers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heat Map, Sort of</title>
		<link>http://www.sqlbipro.com/2010/07/19/heat-map-draft/</link>
		<comments>http://www.sqlbipro.com/2010/07/19/heat-map-draft/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 13:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[PowerPivot]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=115</guid>
		<description><![CDATA[If you read my last post, I laid out an example for creating percent of whole reporting using PowerPivot’s CALCULATE() and ALL() functions.  Today, I want to share a few techniques to add visual appeal and perhaps increase the likelihood of imparting true business insight on your customers. ProClarity veterans, and early adopters of PerformancePoint [...]]]></description>
			<content:encoded><![CDATA[<p>If you read my <a href="http://www.sqlbipro.com/?p=109" target="_blank">last post</a>, I laid out an example for creating percent of whole reporting using PowerPivot’s CALCULATE() and ALL() functions.  Today, I want to share a few techniques to add visual appeal and perhaps increase the likelihood of imparting true business insight on your customers.</p>
<p>ProClarity veterans, and early adopters of PerformancePoint Monitoring and Analytics may remember the Heat Map.  Essentially using size and color of a graphical image to indicate (or map) relative difference in a set of data values.</p>
<p>Using the earlier <a href="http://www.sqlbipro.com/?p=109" target="_blank">Percent of Class</a> example, below are a couple of ways to combine a PowerPivot PivotTable and Conditional Formatting to achieve Heat Map-like visualizations.  Given the PivotTable below we highlight the proportion of each conferences players and apply the Conditional Formatting from the Home ribbon menu.  Applying a conditional format takes our table of numbers from this:</p>
<p><a href="file:///C:/Users/Barry/AppData/Local/Temp/WindowsLiveWriter1286139640/supfiles801D0E/Cross_Tab_Original4.jpg"><img style="display: inline; border: 0px;" title="Cross_Tab_Original_thumb2" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Cross_Tab_Original_thumb21.jpg" border="0" alt="Cross_Tab_Original_thumb2" width="454" height="310" /></a></p>
<p>to something with more visual cues as to the differences in each value, like this.</p>
<p><a href="file:///C:/Users/Barry/AppData/Local/Temp/WindowsLiveWriter1286139640/supfiles801D0E/Conference_Format[2].jpg"><img style="display: inline; border: 0px;" title="Conference_Format_thumb[1]" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Conference_Format_thumb1.jpg" border="0" alt="Conference_Format_thumb[1]" width="244" height="198" /></a></p>
<p>Because of the elegance of the DAX formula used to create the Percent of Whole measure, we can easily add Teams to the formatted PivotTable.</p>
<p><a href="file:///C:/Users/Barry/AppData/Local/Temp/WindowsLiveWriter1286139640/supfiles801D0E/Conference_Team[2].jpg"><img style="display: inline; border: 0px;" title="Conference_Team_thumb[1]" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Conference_Team_thumb11.jpg" border="0" alt="Conference_Team_thumb[1]" width="434" height="296" /></a></p>
<p>I have omitted all but the Southeastern Conference (SEC) from the view in order to illustrate in the next example.  Because our Team table contains both Conferences and Divisions, adding the Division column to the PivotTable creates a handy breakdown and comparison by Conference, Division and Team without any additional formula creation.</p>
<p><a href="file:///C:/Users/Barry/AppData/Local/Temp/WindowsLiveWriter1286139640/supfiles801D0E/Conference_Division_Team[2].jpg"><img style="display: inline; border: 0px;" title="Conference_Division_Team_thumb[1]" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Conference_Division_Team_thumb11.jpg" border="0" alt="Conference_Division_Team_thumb[1]" width="434" height="296" /></a></p>
<p>While this is not a true Heat Map, I hope you have seen how existing formatting in Excel, combined with PowerPivot analytics can be used to deliver business insight through powerful data visualizations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/07/19/heat-map-draft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Percent of Whole, DAX Style</title>
		<link>http://www.sqlbipro.com/2010/07/15/percent-of-whole-dax-style/</link>
		<comments>http://www.sqlbipro.com/2010/07/15/percent-of-whole-dax-style/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[DAX]]></category>
		<category><![CDATA[PowerPivot]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=109</guid>
		<description><![CDATA[A common request in business analytics is determining the contribution of a subset to the entire population.&#160; For example:&#160; Which stores comprise the greatest share of sales? What products make up the least amount of volume? This sort of ranking and sorting generated complex, correlated sub-queries in the relational world, but are actually quite elegant [...]]]></description>
			<content:encoded><![CDATA[<p>A common request in business analytics is determining the contribution of a subset to the entire population.&#160; For example:&#160; </p>
<ul>
<li><font color="#efefef">W</font>hich stores comprise the greatest share of sales?</li>
<li>What products make up the least amount of volume?</li>
</ul>
<p><font color="#eeeeee">This sort of ranking and sorting generated complex, correlated sub-queries in the relational world, but are actually quite elegant when solved using an OLAP implementation.&#160; My most recent PowerPivot project involved just such a requirement in a commodity, agri-business.&#160; In appreciation of my client’s confidence, I have literally changed the names to protect the innocent, in order to illustrate the problem and solution.</font></p>
<p><font color="#eeeeee">I have noticed, via Google Analytics and Woopra, blog readers from outside the United States who may be more excited about the World Cup than the Bowl Championship Series.&#160; Unfortunately, this example will make use of American Football, specifically at the collegiate level.&#160; It is my hope the specifics of the game don’t get in the way.&#160; I will make every attempt to ensure the relevant background information is in this post, but please reach out via comment or <a href="http://www.twitter.com/bralston" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.twitter.com/bralston?referer=');">Twitter</a> if a question should arise.</font></p>
<h5>The Example Problem</h5>
<p>American collegiate football players are generally afforded four years of eligibility to play.&#160; There are exceptions for medical reasons, but the sanctioning body for the college game recognizes football student-athletes in the same class names as their student counterparts: Freshman, Sophomore, Junior and Senior.&#160; Because of the speed, power and maturity of the game, Freshman, as a rule are prone to error, slower and not as strong as upper-classmen.&#160; Another complicating factor in player development at this level is most of the highly sought after players have spent their high school years (the four years of school immediately before college) dominating less-skilled populations of players and not being challenged on a game-by-game basis.&#160; At the collegiate level, the competition is far more even from school to school.</p>
<p>Our ‘customer’ would like a PowerPivot measure that calculates the percentage of the whole that each class represents for a school or conference.</p>
<h5>The Solution</h5>
<p>As part of my presentation for <a href="http://sqlsaturday.com/viewsession.aspx?sat=28&amp;sessionid=1474" target="_blank" onclick="pageTracker._trackPageview('/outgoing/sqlsaturday.com/viewsession.aspx?sat=28_amp_sessionid=1474&amp;referer=');">SQL Saturday #28 in Baton Rouge</a> I have been creating examples of Microsoft Business Intelligence tools using NCAA football data.&#160; To illustrate PowerPivot ratio calculations, I am using Roster data from the 2009-2010 season.&#160; Below is an image of the Roster table, including a calculated column to add a number (01-04) prefix to the class year in order to sort slicer and axis values by their progression and not alphabetically.&#160; In other words, Freshman-Sophomore-Junior-Senior and NOT Freshman-Junior-Senior-Sophomore.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Roster_Table.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Roster_Table" border="0" alt="Roster_Table" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Roster_Table_thumb.jpg" width="539" height="231" /></a> </p>
<p>To add another dimension to our player data, I have added a Teams table, with the Conference and Division (where applicable) for each school’s team.</p>
<h6>Just the DAX</h6>
<p>From our simple, Roster and Team data model, creating the PercentofWhole measure is a matter of calculating the number of players in a given class (FR, SO, JR, SR) and the total number of players for the Conference.</p>
<p>So first, the number of players in the class.&#160; The COUNTX function takes two arguments, a Table and an Expression.&#160; In our case (as illustrated below) we are iterating through the ROSTER table counting the Player_ID’s (a unique number assigned each player by the NCAA), to obtain the number of Players.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Roster_CountX.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Roster_CountX" border="0" alt="Roster_CountX" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Roster_CountX_thumb.jpg" width="491" height="239" /></a> </p>
<p>Using this measure I could easily create a cross-tabulation of Player Class by Conference as illustrated below.&#160; However, other than telling me there are relatively few players in the Independent schools (Notre Dame, Army and Navy), there is not a lot of insight.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Count_Initial.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Count_Initial" border="0" alt="Count_Initial" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Count_Initial_thumb.jpg" width="490" height="486" /></a> </p>
<p>So for our next trick, we need to have a means of using the row grand total in a calculation for each class/conference intersection.</p>
<h5>ALL(), the Context Remover</h5>
<p>In order to have a calculation that is context sensitive for only certain dimensions, the ALL() function can be very useful.&#160; Essentially eliminating a filter context from a measure, it allows us to leverage a total along a given dimension.</p>
<p>For example, our DAX expression for the total of all players below is a combination of two functions.&#160; First (and innermost) is a Count of all Player_ID’s in the Roster table.&#160; Second, this expression is the object of a CALCULATE function that filters the count by ALL values of Sort Year.&#160; It took me a while to get my head wrapped around the idea of a filter that is really every value in the dimension.&#160; Once you realize this, ALL() can be very powerful.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Calculate_ALL.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Calculate_ALL" border="0" alt="Calculate_ALL" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Calculate_ALL_thumb.jpg" width="518" height="252" /></a> </p>
<h5>Putting the Numerator and Denominator Together</h5>
<p>Because I have created two separate measures (PlayerCount and AllPlayerCount) putting them together to create the desired ratio is crazy simple.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Final_Ratio.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Final_Ratio" border="0" alt="Final_Ratio" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Final_Ratio_thumb.jpg" width="529" height="258" /></a> </p>
<p>Placing new measure into the PowerPivot PivotTable yields the end result my client was looking for.&#160; A simple cross tabulation of of class year composition by conference.&#160; As I mentioned before, there are some exceptions to the normal Freshman-Senior classifications, and they are accounted for in the column to the left of the 01-FR (Freshman) values.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Ratio_By_Conference.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Ratio_By_Conference" border="0" alt="Ratio_By_Conference" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Ratio_By_Conference_thumb.jpg" width="432" height="323" /></a> </p>
<p>Because our ALL() is only dealing with the Class Year context, adding Teams to the PivotTable yields the expected result without altering the measure.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Ratio_By_Conference_Team.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Ratio_By_Conference_Team" border="0" alt="Ratio_By_Conference_Team" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Ratio_By_Conference_Team_thumb.jpg" width="432" height="339" /></a> </p>
<p>Finally, because I have a Division column in the Team table, I can further classify by Division again without altering the measure.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/Ratio_By_Conference_Div_Team.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Ratio_By_Conference_Div_Team" border="0" alt="Ratio_By_Conference_Div_Team" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/Ratio_By_Conference_Div_Team_thumb.jpg" width="434" height="364" /></a></p>
<h5>Conclusion </h5>
<p>Ratios and composition are a vital part of both business analytics and a feature for which OLAP technologies represent an elegant solution.&#160; I hope that I have illustrated how the ALL() and CALCULATE() functions can be used to precisely control calculation by dimension.&#160; </p>
<p>Coming soon, how to use this technique as the basis for a Heat Map, on the cheap.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/07/15/percent-of-whole-dax-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PowerPivot Sort and Ranking</title>
		<link>http://www.sqlbipro.com/2010/07/07/powerpivot-sort-and-ranking/</link>
		<comments>http://www.sqlbipro.com/2010/07/07/powerpivot-sort-and-ranking/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 18:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[PowerPivot]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=92</guid>
		<description><![CDATA[Demonstrating PowerPivot for SharePoint to a potential client, I was given the harmless request “can you sort the results in the chart?”.&#160; I can see how this would be needed in statistical process analysis, or in simply creating a dashboard to reflect top (or bottom) performers by rank or percentage. The examples for this post [...]]]></description>
			<content:encoded><![CDATA[<p>Demonstrating PowerPivot for SharePoint to a potential client, I was given the harmless request “can you sort the results in the chart?”.&#160; I can see how this would be needed in statistical process analysis, or in simply creating a dashboard to reflect top (or bottom) performers by rank or percentage.</p>
<p>The examples for this post use data from the Department of Transportation on flight arrivals and departures, that will be the topic of a more involved post on getting started with PowerPivot.</p>
<p>As you can see in the screenshot below, the chart in the upper right corner of the dashboard represents the percentage of Huntsville departing flights delayed, by destination airport code.&#160; Useful, because by default the order of the x-axis items is in dimension order which is alphabetical in our case.&#160; That is, ATL (Atlanta Hartsfield-Jackson) is before CLT (Charlotte Douglass).</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChart.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Chart" border="0" alt="Sort Rank PP Chart" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChart_thumb.jpg" width="560" height="317" /></a> </p>
<p>However, our client may want to see this chart in order of the measure value, like the Delay % by Carrier chart to the left.</p>
<p>The key to this little trick is each of our PivotTable charts has behind it a sheet of data.&#160; In the case of this four-chart layout, the charts are numbered top to bottom, left to right.&#160; So, Delay % by Carrier is Chart 1, Delay by Departure Time Block is Chart 2, and our target chart Delay % by Departure City is Chart 3.&#160; The figure below has an arrow from each of the charts to their corresponding data sheet.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartData.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Chart Data" border="0" alt="Sort Rank PP Chart Data" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartData_thumb.jpg" width="553" height="313" /></a> </p>
<h5>Data Sort and Rank Options</h5>
<p>Navigating to the Data sheet behind Chart 3, I can quickly sort the charted values and therefore the chart.&#160; Selecting the Destination Airport column, and right-clicking to get a context menu, I can use the menu selections below.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPSortContext.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Sort Context" border="0" alt="Sort Rank PP Sort Context" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPSortContext_thumb.jpg" width="240" height="324" /></a>&#160;</p>
<p>You will notice the default is data source order, hence the original alphabetic order.&#160; We are going to change this to Descending order by the measure value, PercentDelay.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPSortOptions.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Sort Options" border="0" alt="Sort Rank PP Sort Options" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPSortOptions_thumb.jpg" width="280" height="300" /></a> </p>
<p>And BAM!&#160; Chart 3 in the Dashboard sheet is now ordered by the measure.&#160; Still showing Delta’s hub and worldwide headquarters Atlanta is worst (for the parameters of this report) but now Houston’s George Bush and Detroit Wayne County have moved Charlotte to fourth, in order order percentage of flights delayed.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartResult.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Chart Result" border="0" alt="Sort Rank PP Chart Result" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartResult_thumb.jpg" width="529" height="319" /></a> </p>
<h5>Pulling Rank</h5>
<p>So the initial steps cover Sorting the chart data.&#160; Now let’s add ranking to the chart.&#160; In the current form, the chart has 11 airports in the x-axis.&#160; Our client just wants to see the top 10, worst airports by percent of flights delayed.&#160; No problem.</p>
<p>From the same data sheet context menu, instead of Sort, we choose Filter and then Top 10.&#160; The result should be a dialog box similar to the one below.&#160; We can actually use this to filter absolute count (top/bottom n), percent (top/bottom 10%) or use an aggregate to filter members from the chart.&#160; In our example, I am leaving the default of 10.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartFilter.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Chart Filter" border="0" alt="Sort Rank PP Chart Filter" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartFilter_thumb.jpg" width="366" height="94" /></a> </p>
<p>Pressing OK and revisiting the Dashboard sheet, and I see the Chart now has dropped CVG (Cincinnati), to reflect the top 10 airports by percent delay.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartResultFinal.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Sort Rank PP Chart Result Final" border="0" alt="Sort Rank PP Chart Result Final" src="http://www.sqlbipro.com/wp-content/uploads/2010/07/SortRankPPChartResultFinal_thumb.jpg" width="534" height="333" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/07/07/powerpivot-sort-and-ranking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Saturday 28, Baton Rouge</title>
		<link>http://www.sqlbipro.com/2010/07/05/sql-saturday-28-baton-rouge/</link>
		<comments>http://www.sqlbipro.com/2010/07/05/sql-saturday-28-baton-rouge/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 12:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[Public Speaking]]></category>
		<category><![CDATA[SQL Saturday]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=75</guid>
		<description><![CDATA[I am honored to be speaking at the second SQL Saturday event on the campus of Louisiana State University.&#160; With 9 tracks, and over 300 registered attendees, this is a very worthwhile use of one of your last Saturdays of the summer.&#160; The details for the August 14 event are at the SQL Saturday website.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I am honored to be speaking at the second SQL Saturday event on the campus of Louisiana State University.&#160; With 9 tracks, and over 300 registered attendees, this is a very worthwhile use of one of your last Saturdays of the summer.&#160; The details for the August 14 event are at the <a href="http://sqlsaturday.com/28/eventhome.aspx" onclick="pageTracker._trackPageview('/outgoing/sqlsaturday.com/28/eventhome.aspx?referer=');">SQL Saturday website</a>.&#160; I will be delivering two presentations at the event.</p>
<h5><a href="http://sqlsaturday.com/viewsession.aspx?sat=28&amp;sessionid=2051" onclick="pageTracker._trackPageview('/outgoing/sqlsaturday.com/viewsession.aspx?sat=28_amp_sessionid=2051&amp;referer=');">Breakfast Basics, SQL Server Analysis Services Cube Creation</a></h5>
<p>The hub of Microsoft’s Business Intelligence platform is Analysis Services.&#160; PerformancePoint Services, Office, and SQL Server Reporting Services all provide out-of-the-box connectivity and features to leverage SSAS data as a first-class data store.&#160; This session is intended to share with participants the basics of creating an SSAS database.&#160; We will cover the relationship between Business Intelligence Developer Studio and SQL Server Management Studio in the cube development and build process.&#160; We will walk through the creation of data sources, to connect to the source of our cube’s data as well as creating data source views and their relationship with the final cube.&#160; How measures, measure groups and partitions are related.&#160; Finally, we will cover on-line editing of an SSAS database using Visual Studio in order to capture metadata that may not be readily available.</p>
<p>For myself, there is no better way to learn than by doing.&#160; The intent of this session is to prepare attendees to build SSAS databases.</p>
<h5><a href="http://sqlsaturday.com/viewsession.aspx?sat=28&amp;sessionid=1474" onclick="pageTracker._trackPageview('/outgoing/sqlsaturday.com/viewsession.aspx?sat=28_amp_sessionid=1474&amp;referer=');">College Football and Microsoft Business Intelligence</a></h5>
<p>This session will be a rapid-paced delivery of how Microsoft BI tools (PowerPivot, SQL Analysis Services and PerformancePoint Services) have been used to create a compelling Business Intelligence demonstration using a very non-traditional subject area.&#160; We will tap into readily available NCAA data, conduct comparisons of teams, conferences and players, using the same tools available to business information workers.&#160; All of the source code for the demos will be available for download after the presentation.</p>
<p>With SQL Saturday 28 scheduled only three weeks before the opening of the 2010 college football season, my intention for this session is to both demonstrate how the tools can be used and act as a catalyst in discovering non-traditional BI subject areas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/07/05/sql-saturday-28-baton-rouge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Favorite Friday, HTC Evo 4G</title>
		<link>http://www.sqlbipro.com/2010/07/02/favorite-friday-htc-evo-4g/</link>
		<comments>http://www.sqlbipro.com/2010/07/02/favorite-friday-htc-evo-4g/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 17:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=74</guid>
		<description><![CDATA[In exasperation with AT&#38;T’s wireless network and (lack of) service, I recently parked my iPhone 3G in favor of Sprint’s HTC Evo.&#160; This is the first phone I have ever owned (missed the whole bag-phone craze of the 1980’s) that required a kickstand.&#160; The display is HUGE.&#160; While 4G is not in my ‘home’ market, [...]]]></description>
			<content:encoded><![CDATA[<p>In exasperation with AT&amp;T’s wireless network and (lack of) service, I recently parked my iPhone 3G in favor of Sprint’s HTC Evo.&#160; This is the first phone I have ever owned (missed the whole bag-phone craze of the 1980’s) that required a kickstand.&#160; The display is HUGE.&#160; While 4G is not in my ‘home’ market, I consider Sprint an upgrade for three reasons:</p>
<ol>
<li><font color="#efefef">The 3G service in my home market has better performance than AT&amp;T.&#160; (Anecdotal)</font> </li>
<li><font color="#efefef">The 4G service in many of the markets to which I regularly travel is frighteningly fast.</font> </li>
<li><font color="#efefef">Finally, the Sprint 4G markets just happen to be AT&amp;T markets where iPhone data and voice were in effect, useless.</font> </li>
</ol>
<p>So on to the goodies.&#160; This one device has managed to replace an iPhone 3G, Nikon Coolpix 5100 and Garmin GPS in my travel gear.</p>
<p>The 8-megapixel digital camera and HD (720p) video combine to replace an aging point and shoot.&#160; The Android interface provides quick sharing (or I can offload using the micro-usb cable).&#160; I have not seen the selection of camera apps a la iPhone, but I am sure they will come.</p>
<p>Both the Sprint Navigation (included in my cheaper-than-AT&amp;T plan) and Google gps functions have worked very well on a couple of trips.&#160; I have yet to be steered into a lake or shop window.&#160; Additionally, as the ‘maps’ are always current, no annoying Garmin map updates (or map update fees).</p>
<p>On the downside, the battery life…</p>
<p>Sorry, my Evo battery died in mid-sentence.&#160; Seriously, using the radios (GPS, 4G, WiFi) prudently can get 4-5 hours of use from full charge to exhaustion.&#160; Given most of my GPS use is in a car, the adapter will help offset battery drain for that radio.&#160; I can’t imagine using the WiFi hotspot feature in an area without at least power for the phone (wall or 12-volt).&#160; Finally, I can always buy another battery and keep a spare, charged cell to swap in if needed.&#160; Try that with your iPhone.&#160; So as far as this traveler is concerned.&#160; I am sticking with Sprint and the Evo (at least for two years).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/07/02/favorite-friday-htc-evo-4g/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft Business Intelligence Webinar</title>
		<link>http://www.sqlbipro.com/2010/04/19/microsoft-business-intelligence-webinar/</link>
		<comments>http://www.sqlbipro.com/2010/04/19/microsoft-business-intelligence-webinar/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 12:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[PerformancePoint]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=71</guid>
		<description><![CDATA[I will be presenting “Insight Through Microsoft Business Intelligence Solutions”. This web presentation will consist of a rapid demonstration of Microsoft’s Business Intelligence product stack on Thursday, April 22, 2010 from 10:00am to 10:45am.&#160; More details can be found at our Click to Attend site.]]></description>
			<content:encoded><![CDATA[<p>I will be presenting “Insight Through Microsoft Business Intelligence Solutions”. This web presentation will consist of a rapid demonstration of Microsoft’s Business Intelligence product stack on Thursday, April 22, 2010 from 10:00am to 10:45am.&#160; More details can be found at our <a href="https://www.clicktoattend.com/invitation.aspx?code=146789" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.clicktoattend.com/invitation.aspx?code=146789&amp;referer=');">Click to Attend site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/04/19/microsoft-business-intelligence-webinar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts for the Webinar Presenter</title>
		<link>http://www.sqlbipro.com/2010/03/15/thoughts-for-the-webinar-presenter/</link>
		<comments>http://www.sqlbipro.com/2010/03/15/thoughts-for-the-webinar-presenter/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 14:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[Public Speaking]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=69</guid>
		<description><![CDATA[I was fortunate to be part of ComFrame’s first webinar to present the Microsoft Application and Business Process Infrastructure Optimization assessments.&#160; While I have done many in-person and LiveMeeting demos, they are generally for small, client specific audiences.&#160; Some of these lessons apply to both forums, but are even more important when your webinar may [...]]]></description>
			<content:encoded><![CDATA[<p>I was fortunate to be part of ComFrame’s first webinar to present the Microsoft Application and Business Process Infrastructure Optimization assessments.&#160; While I have done many in-person and LiveMeeting demos, they are generally for small, client specific audiences.&#160; Some of these lessons apply to both forums, but are even more important when your webinar may be the first impression of you and your firm.</p>
<h4>Hold music and introduction slide rotator</h4>
<p>Welcome your audience into your web-based auditorium with music appropriate to the target profile.&#160; That may be Metallica, or it could be elevator music.&#160; This important point is there will be something, anything over the audio channel reaffirm to attendees they are in the right place at the right time.</p>
<p>Additionally, I would keep a second presentation, on a perpetual rotation with three slides containing the following:</p>
<ol>
<li><font color="#efefef">Presentation Title, Sponsor and Speaker (again welcoming your audience)</font></li>
<li><font color="#efefef">Instructions to enable audio (if they don’t hear music, they won’t hear you).&#160; If you have good web communications/phone integration, provide an alternative telephone conference number for audio-only.&#160; Put the teleconference instructions on this slide.</font></li>
<li><font color="#efefef">An In Case of Support slide.&#160; Who will your audience contact, and how if they are having persistent issues.</font></li>
</ol>
<h4>Have a back-channel</h4>
<p>It is vital for the presentation team (Marketing, Sales, Technical) all be able to communicate without distracting from the attendee’s experience.&#160; Instant messaging works great for this, but ensure your keyboard clicks are not heard ‘over the air’.</p>
<h4>Have a ‘live network feed’ monitor</h4>
<p>Just like a network TV control room, you should have a monitor of what is going out over your webinar ‘air’.&#160; This will allow the speaker to time narration better.&#160; Additionally, if a section of the shared content is blocked out (say as Microsoft LiveMeeting can do with shared/unshared content), the speaker will know.</p>
<p>As it is said in show business, ‘break a leg’ on your next webinar delivery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/03/15/thoughts-for-the-webinar-presenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Favorite Friday: Gaffer Tape</title>
		<link>http://www.sqlbipro.com/2010/03/12/favorite-friday-gaffer-tape/</link>
		<comments>http://www.sqlbipro.com/2010/03/12/favorite-friday-gaffer-tape/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 14:00:00 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://www.sqlbipro.com/?p=68</guid>
		<description><![CDATA[This is part gadget and part technique.&#160; As I post more and more photos of the tools of my job, it will not take long to see the common thread (neon yellow tape) attached to most items that journey with me to and from clients and speaking engagements.&#160; While I got the idea from another [...]]]></description>
			<content:encoded><![CDATA[<p>This is part gadget and part technique.&#160; As I post more and more photos of the tools of my job, it will not take long to see the common thread (neon yellow tape) attached to most items that journey with me to and from clients and speaking engagements.&#160; While I got the idea from another blogger, <a href="http://boardingarea.com/blogs/flyingwithfish/2008/01/08/mark-your-camera-equipment-never-leave-anything-behind/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/boardingarea.com/blogs/flyingwithfish/2008/01/08/mark-your-camera-equipment-never-leave-anything-behind/?referer=');">Stephen Frischling</a> the reason I mark my gear is somewhat different.&#160; I did briefly meet the strict definition of a professional (one who is paid for their craft), getting paid to take black and white film images for my <a href="http://www.uab.edu/kscope/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.uab.edu/kscope/?referer=');">college paper</a>.&#160; I have since supported myself in the ‘real world’ working in information technology, trading my film SLR for a laptop.</p>
<p>Back to the reason.&#160; With my passion for public speaking, I do a lot of CodeCamp and <a href="http://www.sqlsaturday.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.sqlsaturday.com/?referer=');">SQL Saturday</a> events.&#160; Combine the inevitable (and always welcome) questions that follow a presentation with the NEXT speaker’s need to get setup for the upcoming session and … power supply chaos can ensue.&#160; Marking my laptop power supply with the yellow tape meant I could confidently unplug and pack away my gear while the next presentation ‘began’.&#160; No need to interrupt the presenter to clarify ownership.&#160; The tape’s high visibility comes in very handy in what are usually dimly lit auditoriums.</p>
<p>So it started with marking my power supply, but I do stay more than a few nights in hotels each year.&#160; So a patch of tape here, a wrap there and a the checkout glance around the hotel room is changed.&#160; No more do I donate my iPhone, Kindle, etc charger to the hotel lost and found.</p>
<p>The adhesive used in gaffer tape leaves no residue behind.&#160; If I decide to list my Left Handed 24-port International USB Charger and Surge Protector on <a href="http://www.craigslist.org" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.craigslist.org?referer=');">craigslist</a>, I can list it in pristine condition.&#160; Additionally, I can inscribe a name, e-mail address or phone number to ensure my gear finds me.</p>
<p>So where do you get it?&#160; I bought mine at <a href="http://www.tapebrothers.com/Default.asp?Redirected=Y" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.tapebrothers.com/Default.asp?Redirected=Y&amp;referer=');">Tape Brothers</a>.&#160; I went with fluorescent, because I wanted to see it easily.&#160; I went with the <a href="http://www.tapebrothers.com/Fluorescent-Yellow-Gaffers-Tape-1-X-50-Yards-p/pgflye1.htm" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.tapebrothers.com/Fluorescent-Yellow-Gaffers-Tape-1-X-50-Yards-p/pgflye1.htm?referer=');">Pro Gaff 1” x 50 yd roll</a> almost two years ago (for $6.25).&#160; I still have 25 yards by my estimation.</p>
<p>How did I choose the exact fluorescent color?&#160; Green didn’t appear to suit my needs for navigating in a dark auditorium, so it was out.&#160; Pink would probably work in the dim lighting, but it is pink.&#160; That left orange and yellow.&#160; No loyal fan of the <a href="http://www.rolltide.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.rolltide.com/?referer=');">Alabama Crimson Tide</a> uses orange for anything not mandated by hunting ordinances.&#160; That left yellow.&#160; Roll Tide Yall.</p>
<p>Some images of my gaffer tape usage.</p>
<p><a href="http://www.sqlbipro.com/wp-content/uploads/2010/03/DSCN0747.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSCN0747" border="0" alt="DSCN0747" src="http://www.sqlbipro.com/wp-content/uploads/2010/03/DSCN0747_thumb.jpg" width="244" height="184" /></a> <a href="http://www.sqlbipro.com/wp-content/uploads/2010/03/DSCN0751.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSCN0751" border="0" alt="DSCN0751" src="http://www.sqlbipro.com/wp-content/uploads/2010/03/DSCN0751_thumb.jpg" width="244" height="184" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlbipro.com/2010/03/12/favorite-friday-gaffer-tape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
