<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>OLAP Sprint</title>
	<atom:link href="http://olapsprint.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://olapsprint.com</link>
	<description>A manic 7-day dash to OLAP on Microsoft SQL Server</description>
	<lastBuildDate>Mon, 29 Apr 2013 11:57:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='olapsprint.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>OLAP Sprint</title>
		<link>http://olapsprint.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://olapsprint.com/osd.xml" title="OLAP Sprint" />
	<atom:link rel='hub' href='http://olapsprint.com/?pushpress=hub'/>
		<item>
		<title>Day 7: 9:00pm: Parting Shots (of Glenlivet 12 Y/O)</title>
		<link>http://olapsprint.com/2012/11/09/day7/</link>
		<comments>http://olapsprint.com/2012/11/09/day7/#comments</comments>
		<pubDate>Sat, 10 Nov 2012 05:00:08 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=379</guid>
		<description><![CDATA[PASS Summit 2012 Day 3 Up at the crack of dawn for Lynn Langit&#8217;s great session on Amazon&#8217;s cloud offerings, called AWS. They&#8217;ve got several managed service offerings of interest for DBAs, including: EC2: a VM service S3: a storage service Glacier: a backup service RDS: a managed database service The most compelling for me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=379&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>PASS Summit 2012 Day 3</strong><br />
Up at the crack of dawn for Lynn Langit&#8217;s great session on Amazon&#8217;s cloud offerings, called <a title="Amazon Web Services" href="http://aws.amazon.com/" target="_blank">AWS</a>. They&#8217;ve got several managed service offerings of interest for DBAs, including:</p>
<ul>
<li><a title="Amazon ECS" href="http://aws.amazon.com/ec2/" target="_blank">EC2</a>: a VM service</li>
<li><a title="Amazon S3" href="http://aws.amazon.com/s3/" target="_blank">S3</a>: a storage service</li>
<li><a title="Amazon Glacier" href="http://aws.amazon.com/glacier/" target="_blank">Glacier</a>: a backup service</li>
<li><a title="Amazon RDS" href="http://aws.amazon.com/rds/" target="_blank">RDS</a>: a managed database service</li>
</ul>
<p>The most compelling for me was obviously RDS, the managed database service. According to Lynn, AWS has been in the market the longest, is usually the most cost-effective, and is most often used in production (highest level of confidence). That&#8217;s a compelling trifecta.</p>
<p>We recently had some problems with the HVAC in our server room, and it made us all take pause and wonder if we shouldn&#8217;t be moving things off premise and into the Cloud. So, although it doesn&#8217;t apply directly to my BI project, I would consider moving my OLTP environment there, including the Dev, Testing, and Production instances. I&#8217;d love to hear some stories of people who have migrated from on-premise to RDS, so if you&#8217;re out there, please share.</p>
<p>I also picked up a great resource from Microsoft, at their pavilion. It&#8217;s a one-page document that diagrams all of the components of the BI offerings. For context, it takes up about half of my bed here in the hotel room &#8211; that should give you an idea of how invested Microsoft is in BI. You can <a title="Microsoft BI at a Glance Poster" href="http://www.microsoft.com/en-us/download/details.aspx?id=35586" target="_blank">download it here</a>, and then head over to Kinkos and have them print it out on a 5 x 3 ft poster for you.</p>
<div id="attachment_408" class="wp-caption alignnone" style="width: 345px"><a href="http://olapsprint.files.wordpress.com/2012/11/bi_at_a_glance.jpg"><img class="size-full wp-image-408" title="BI_at_a_Glance" alt="" src="http://olapsprint.files.wordpress.com/2012/11/bi_at_a_glance.jpg?w=497"   /></a><p class="wp-caption-text">Microsoft BI at a Glance</p></div>
<p><strong>RT 90, Anyone?</strong><br />
Lynn also mentioned a <a title="Teaching Kids Programming" href="http://teachingkidsprogramming.org/blog/" target="_blank">NFP that she co-founded</a>, which aims to teach kids programming. The programming language that they use is based on <a title="Logo Programming" href="http://en.wikipedia.org/wiki/Logo_(programming_language)" target="_blank">Logo</a>, which is what they taught us in Grade 6. Anyone else remember this:</p>
<div id="attachment_403" class="wp-caption alignnone" style="width: 269px"><a href="http://olapsprint.files.wordpress.com/2012/11/logo.jpg"><img class="size-full wp-image-403" title="Logo" alt="" src="http://olapsprint.files.wordpress.com/2012/11/logo.jpg?w=497"   /></a><p class="wp-caption-text">Who else remembers the turtle?</p></div>
<p>The other highlight of the day was the Birds of a Feather lunch with some other BI professionals. It&#8217;s always great to connect in person with professional confrères, and share stories.<br />
(Home run buffet lunch, btw.)</p>
<p><strong>A BI Sam Witwicky</strong><br />
As far as my OLAP Sprint goes, I leave here tomorrow with the following in tow:</p>
<ul>
<li>1 SSTD MOLAP Solution</li>
<li>1 Fact Table</li>
<li>5 Dimensional Tables</li>
<li>1 Cube</li>
<li>Roles, KPIs, Named Calculations, Translations, etc.</li>
<li>2 SSRS Reports</li>
<li>0 trips to the Space Needle, Pike St Market, etc.</li>
</ul>
<p>Barring something terrible happening to my laptop, I&#8217;ll return to the office on Monday with a prototype cube on my laptop, which was my goal. I have to say, I feel a little bit <a href="http://youtu.be/_yy4qamWAmk?t=1m37s" target="_blank">like Sam Witwicky in Transformers</a> at this point &#8211; ready to protect the cube at all costs.</p>
<div id="attachment_405" class="wp-caption alignnone" style="width: 238px"><a href="http://olapsprint.files.wordpress.com/2012/11/samcube.jpg"><img class="size-full wp-image-405" title="SamCube" alt="" src="http://olapsprint.files.wordpress.com/2012/11/samcube.jpg?w=497"   /></a><p class="wp-caption-text">Protect the Cube at all Costs</p></div>
<p>I&#8217;m very pleased with what I managed to accomplish this week.<br />
I realize that I am lucky to have had the opportunity to execute my experiment, and I don&#8217;t think I could have done it in just 7 days without the following key elements:</p>
<ul>
<li>Focus (on one goal)</li>
<li>Isolation (from regular work/life responsibilities)</li>
<li>Immersion (in SQL Server)</li>
<li>Access to Resources (Experts, Community Members, Vendors, Books, etc.)</li>
</ul>
<p>The PASS Summit is undoubtedly the ideal environment for those elements to come together, and make the experiment work.</p>
<p><strong>Please, Try This At Home</strong><br />
For anyone out there contemplating doing a similar experiment, I can&#8217;t recommend it enough. As IT professionals, we&#8217;re often responsible for planning and executing our own training, and I couldn&#8217;t be happier that I decided to take this on, and that I had executive support for it. It was intimidating at the outset, and frustrating at several points along the way (I had some <a title="You Tube: Winnebego Man (lots of offensive language, but utterly hilarious)" href="http://youtu.be/zSWUWPx2VeQ" target="_blank">Winnebego Man {NSFW}</a> moments with attribute relationships and MDX), but boy was it worth it. If you&#8217;re thinking of doing something similar, find a way to make it work with the resources that you have &#8211; you won&#8217;t regret it.</p>
<p>I&#8217;m also completely exhausted. You could use the BIT datatype to count how many times I went to bed before midnight, but you&#8217;d need at least a TINYINT datatype to count the cups of coffee I&#8217;ve had in 7 days.</p>
<p>Yes, I know, that table would not scale well.</p>
<p><strong>&#8220;Is E-mail Down?&#8221;</strong><br />
No VCs have emailed me yet about <a title="Day 6: 11:20pm: Dimension Security for the Common Man" href="http://olapsprint.com/2012/11/08/dimensionsecurity/" target="_blank">my buffet fly-over idea</a>, so maybe our Exchange server was down for a while or something. Shouldn&#8217;t be too much longer. I&#8217;ll submit a helpdesk ticket for our sysadmin to make sure. He&#8217;ll like that.</p>
<p><strong>Next Steps</strong><br />
The last chicken burrito is down the hatch (sniffle), which means that <a title="Chipotle Mexican Grill Inc" href="http://www.bloomberg.com/quote/CMG:US" target="_blank">Chipotle should beat estimates</a> when they next report earnings, but also that my time in Seattle has come to an end. The next steps for me involve a discussion with the executives about how and whether to implement this for real. Those discussions will require careful consideration of the costs involved, and how to scale our resources to build and support a BI platform.</p>
<p>All that can wait until Monday, though.<br />
<a href="http://olapsprint.files.wordpress.com/2012/11/scotch.jpg"><img class="alignnone size-full wp-image-415" title="Scotch" alt="" src="http://olapsprint.files.wordpress.com/2012/11/scotch.jpg?w=497"   /></a></p>
<br /> Tagged: <a href='http://olapsprint.com/tag/aws/'>AWS</a>, <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/379/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=379&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/09/day7/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/bi_at_a_glance.jpg" medium="image">
			<media:title type="html">BI_at_a_Glance</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/logo.jpg" medium="image">
			<media:title type="html">Logo</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/samcube.jpg" medium="image">
			<media:title type="html">SamCube</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/scotch.jpg" medium="image">
			<media:title type="html">Scotch</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 6: 11:20pm: Dimension Security for the Common Man</title>
		<link>http://olapsprint.com/2012/11/08/dimensionsecurity/</link>
		<comments>http://olapsprint.com/2012/11/08/dimensionsecurity/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 07:19:21 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dimension Security]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=311</guid>
		<description><![CDATA[PASS Summit 2012 Day 2 Unfortunately, I accidentally slept through this morning&#8217;s Keynote address. I was sorry to have missed it, but I think I needed the bit of extra sleep. I&#8217;ve been putting in a lot of hours each day, both on my OLAP project, and soaking in all that the PASS Summit has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=311&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>PASS Summit 2012 Day 2</strong><br />
Unfortunately, I accidentally slept through this morning&#8217;s Keynote address. I was sorry to have missed it, but I think I needed the bit of extra sleep. I&#8217;ve been putting in a lot of hours each day, both on my OLAP project, and soaking in all that the PASS Summit has to offer, so it was nice to get an extra hour of sleep. I wish I could say that I woke up to the sun streaming in through the windows, but I don&#8217;t think I&#8217;ve seen the sun once this week. Nobody at the PASS Summit seems to mind, though &#8211; myself included. Clearly we&#8217;re a sheltered people. </p>
<p>I attended some great sessions today. My favourite was a session on the ColumnStore index, delivered by Klaus Aschenbrenner.  As I noted yesterday, the access to high-level expertise is energizing and inspiring, and Klaus&#8217; session was no different. I went in to the session knowing just about nothing about ColumnStore indexes, and came out wanting to try them out. From what I gathered, they&#8217;re a new type of non-clustered index suitable for Fact tables in data warehouses. The indexes work on the column level, rather than the row level, so the level of compression that they can achieve is impressive, and it parlays into ridiculous query speed. Klaus took us through an exploration of the storage and memory footprint, the execution plan, restrictions and optimizations, and a highlight reel of &#8216;watch this&#8217; moments where the ColumnStore index ripped through 2 billion records of data in seconds. </p>
<p>I also attended a Power Pivot for MOLAP session, and got to see the coveted tool in action, popping a multidimensional cube to life. I spoke with a Microsoft Engineer at the end of the session, and he hinted that it might be released as early as December. He did caution that &#8220;the QA team will kill us if we announce an official date&#8221;, so I guess they&#8217;re not quite ready for release yet.</p>
<p><strong>Buffet Innovation</strong><br />
Lunch was dynamite once again (salad, beans, tomatoes, mashed potatoes and salmon), and while standing in the buffet line, I thought of a great idea: a buffet fly-over. It would be something similar to the <a href="http://youtu.be/mK6UJEqmqZ0" target="_blank">fly-overs</a> that you see watching golf on TV &#8211; a camera that swoops over the hole and gives the viewer a sense of how it plays (hazards, fairways, optimal lies, etc). The challenge at the front end of the buffet line is knowing what lies ahead, and how to ration the real estate on your plate. A buffet fly-over video playing on a loop at the front of the line would solve that.</p>
<p><a href="http://olapsprint.files.wordpress.com/2012/11/flyover.png"><img src="http://olapsprint.files.wordpress.com/2012/11/flyover.png?w=497&#038;h=397" alt="" title="FlyOver" width="497" height="397" class="alignnone size-full wp-image-369" /></a></p>
<p>Okay &#8211; back to reality.</p>
<p><strong>Securing the Cube</strong><br />
I spent most of this evening experimenting with the various ways of securing cube data. I was really impressed by how flexible the security model is, and how easy it was to implement.</p>
<p>I started with the following goal in mind: within the Product dimension of my cube, allow suppliers to see only their data. SQL Server Analysis Services implements this with the concept of Roles, and Dimension Security, in tandem with Windows users and groups.</p>
<p>So, the first thing I did was create some Windows users on my laptop, to mimic product suppliers, so I could test things out with them. Having spent most of my creative energy conceiving of the buffet fly-over, there wasn&#8217;t much left in the well for clever supplier company names. So we&#8217;re stuck with the following: Dee Licious, Yumm Inc, Choc Inc, Sugarize, and GumGum. </p>
<div id="attachment_329" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/newusers.png"><img src="http://olapsprint.files.wordpress.com/2012/11/newusers.png?w=497&#038;h=259" alt="" title="NewUsers" width="497" height="259" class="size-full wp-image-329" /></a><p class="wp-caption-text">New Windows Users</p></div>
<p>With just a few clicks in SSDT, I created a new role for the Dee Licious company, and mapped it to the Windows user that I created. That was the first point to really understand: Windows users are mapped to SQL Server Analysis Services Roles, and Roles take it from there &#8211; defining who gets to see what Dimension Members and Cells.</p>
<p>From there, all I had to do, to ensure that the DeeLicious user could only retrieve results for its products was configure the Dimensions Data tab inside the Role designer. It was as simple as selecting the appropriate Dimension (DimProduct), and then deselecting all other suppliers members from the SupplierCompanyNameEN attribute. When I flipped over to the Advanced tab, the MDX required to implement the security was revealed, presumably so that I could edit it to implement something more complex (no thanks). </p>
<div id="attachment_338" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/deeliciousnewrole.png"><img src="http://olapsprint.files.wordpress.com/2012/11/deeliciousnewrole.png?w=497&#038;h=276" alt="" title="DeeliciousNewRole" width="497" height="276" class="size-full wp-image-338" /></a><p class="wp-caption-text">Dimension Security</p></div>
<p>I used the cube browser to make sure that I had done everything properly (there&#8217;s a button in the toolbar that lets you change the security context), and was pleased to see just one supplier member show up for the attribute when I queried it:</p>
<div id="attachment_371" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/justdelicious20122.png"><img src="http://olapsprint.files.wordpress.com/2012/11/justdelicious20122.png?w=497&#038;h=222" alt="" title="JustDelicious2012" width="497" height="222" class="size-full wp-image-371" /></a><p class="wp-caption-text">Just DeeLicious</p></div>
<p><strong>But I wasn&#8217;t done there.</strong><br />
I decided to see if I could implement the concept of a category manager: an Analysis Services role that was restricted to seeing data only for the particular categories they managed.</p>
<p>I went back to the Computer Management console and created some Windows groups (Chocolate, Gum, and Snack), and dropped my fictitious users into them, in the following way:</p>
<div id="attachment_343" class="wp-caption alignnone" style="width: 319px"><a href="http://olapsprint.files.wordpress.com/2012/11/confectionschema.png"><img src="http://olapsprint.files.wordpress.com/2012/11/confectionschema.png?w=497" alt="" title="ConfectionSchema"   class="size-full wp-image-343" /></a><p class="wp-caption-text">Windows Groups Representing Product Categories</p></div>
<p>Back in SSDT, I deleted my existing role, and created three new ones: Chocolate, Gum, and Snack. I mapped each role to the Windows group with the same name (i.e. the Chocolate.role to the Chocolate Windows group, etc.). I then changed the properties inside the Dimension Data tab to only allow the role to have access to the attribute member of the same name.</p>
<div id="attachment_345" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/justchocolate.png"><img src="http://olapsprint.files.wordpress.com/2012/11/justchocolate.png?w=497&#038;h=277" alt="" title="JustChocolate" width="497" height="277" class="size-full wp-image-345" /></a><p class="wp-caption-text">Just Chocolate</p></div>
<p>I repeated the step for my two other roles: Gum, and Snack.</p>
<p>This design pattern works for the following reason: a Windows user can be part of more than one role inside a MOLAP solution. Per <a href="http://technet.microsoft.com/en-us/library/ms175366.aspx" title="BOL: Granting Custom Access to Dimension Data" target="_blank">BOL</a>: &#8220;If a Microsoft Windows user or group belongs to multiple database roles, the effective permissions for the user or group are additive across all database roles (a union of permissions).&#8221; In my setup, Windows users were scattered across different groups, and those groups mapped to roles in a one-to-one relationship. So, Analysis Services would retrieve the correct Windows group based on the role, and then pull the correct users out of that group. (If this sounds convoluted, I apologize.) The main difference here is that you are effectively managing dimension security by managing Windows users and groups, instead of within the MOLAP solution&#8217;s roles, where you would have to modify and re-deploy the solution.</p>
<p>To test it out, I switched over to the Cube Browser, and changed the security context to the DeeLicious user, which is a member of both the Chocolate and Gum groups, but not the Snack group. I dragged some measures onto the results pane, set my date dimension filter, took a deep breath, and dragged the Category (Confection Type Major Desc) and Company (Supplier Company Name EN) attributes over, too.</p>
<p>It worked &#8211; all I saw were the Chocolate and Gum categories.</p>
<div id="attachment_351" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/deelicious_choc_gum.png"><img src="http://olapsprint.files.wordpress.com/2012/11/deelicious_choc_gum.png?w=497&#038;h=198" alt="" title="Deelicious_Choc_Gum" width="497" height="198" class="size-full wp-image-351" /></a><p class="wp-caption-text">Success!</p></div>
<p>I had <a href="http://www.songza.com" title="Songza" target="_blank">Songza </a>running in the background and at the moment when I realized that it was working, <a href="http://youtu.be/zEro8pG0hiE?t=26s" target="_blank">Aaron Copland&#8217;s &#8220;Fanfare for the Common Man&#8221;</a> came on. It was the perfect song, both in title and tune. (Give it a listen next time you need a soundtrack for a dramatic moment.)</p>
<div id="attachment_330" class="wp-caption alignnone" style="width: 262px"><a href="http://olapsprint.files.wordpress.com/2012/11/aaroncopland.png"><img src="http://olapsprint.files.wordpress.com/2012/11/aaroncopland.png?w=497" alt="" title="AaronCopland"   class="size-full wp-image-330" /></a><p class="wp-caption-text">&#8220;Fanfare for the Common Man&#8221;, Aaron Copland</p></div>
<p>Analysis Services goes even deeper with Dimension Security, and also offers the concept of Cell Security, but this common man had had enough security for one night, so that will be saved for another day.</p>
<p>Tomorrow is the last day of the PASS Summit, and also the last day of my project; I fly back to Toronto on Saturday morning. I&#8217;ve got mixed feelings about winding it all down. I&#8217;ll blog tomorrow about how I&#8217;m going to proceed from here, and share some final thoughts on the experience as a whole.</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/dimension-security/'>Dimension Security</a>, <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=311&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/08/dimensionsecurity/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/flyover.png" medium="image">
			<media:title type="html">FlyOver</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/newusers.png" medium="image">
			<media:title type="html">NewUsers</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/deeliciousnewrole.png" medium="image">
			<media:title type="html">DeeliciousNewRole</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/justdelicious20122.png" medium="image">
			<media:title type="html">JustDelicious2012</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/confectionschema.png" medium="image">
			<media:title type="html">ConfectionSchema</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/justchocolate.png" medium="image">
			<media:title type="html">JustChocolate</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/deelicious_choc_gum.png" medium="image">
			<media:title type="html">Deelicious_Choc_Gum</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/aaroncopland.png" medium="image">
			<media:title type="html">AaronCopland</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 5: 11:30pm: The 34 Were Heard!</title>
		<link>http://olapsprint.com/2012/11/08/day5/</link>
		<comments>http://olapsprint.com/2012/11/08/day5/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 08:01:07 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[PowerView]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=275</guid>
		<description><![CDATA[PASS Summit 2012 Day 1 Day 5 of my OLAP sprint &#8211; which I can now more accurately term a MOLAP sprint (or maybe MOLAP meander) &#8211; began with the official opening of PASS Summit 2012. DBAs, BI Developers, etc. from near and far packed into the ballroom at the Seattle Convention Center to hear [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=275&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>PASS Summit 2012 Day 1</strong><br />
Day 5 of my OLAP sprint &#8211; which I can now more accurately term a MOLAP sprint (or maybe MOLAP meander) &#8211; began with the official opening of PASS Summit 2012. DBAs, BI Developers, etc. from near and far packed into the ballroom at the Seattle Convention Center to hear Ted Kummert (VP of the Business Platform Division at Microsoft) give a keynote address, highlighting some of the new features of SQL Server 2012, as well as giving a sense of Microsoft&#8217;s vision for the future of the SQL Server product stack. There were some good demos of things like columnstore indexes, and a few interesting announcements, including:</p>
<ul>
<li>SQL Server 2012, SP1 is now available for <a title="Microsoft SQL Server 2012, SP1" href="http://www.microsoft.com/en-us/download/details.aspx?id=35575" target="_blank">download</a></li>
<li>Project &#8216;Hekaton&#8217;, which will introduce in-memory processing for OLTP databases. This is scheduled to be released in &#8216;the next major release&#8217; of SQL Server.</li>
</ul>
<p>You can catch the Keynote and all the demos <a title="PASS Summit 2012 Keynote" href="http://www.microsoft.com/sqlserver/en/us/default.aspx" target="_blank">here </a>if you missed it.</p>
<p><strong>Amir Netz and Angelina Jolie</strong><br />
The unequivocal star of the show this morning was Amir Netz, a Technical Fellow at Microsoft, who works as an architect on their BI products. The title &#8216;Technical Fellow&#8217; is one I enjoy. It&#8217;s refreshingly clear and unpretentious compared to the litany of acronyms that often follow people&#8217;s names (myself included, an MCTS) and yet it&#8217;s also somehow humorous in an old-timey, British way. The weight that the title bears, however, is nothing to smirk at &#8211; Technical Fellows are the highest level of technical leadership at Microsoft, and apparently there aren&#8217;t very many of them at all.</p>
<p>The most engaging thing about Amir is his passion and exuberance for BI. He took us through a Power View demonstration that brought the following conclusion to bear: if you want to make profitable movies with Angelina Jolie, cast her in animated movies where you can&#8217;t see her on screen.</p>
<div id="attachment_279" class="wp-caption alignnone" style="width: 370px"><a href="http://olapsprint.files.wordpress.com/2012/11/shark1.jpg"><img class="size-full wp-image-279" title="Shark1" alt="" src="http://olapsprint.files.wordpress.com/2012/11/shark1.jpg?w=497"   /></a><p class="wp-caption-text">Angelina Jolie in &#8220;Shark Tales&#8221;</p></div>
<p><strong>Power View for MOLAP</strong><br />
The punchline had the whole room laughing, but the best part was yet to come. Amir announced that Power View was going to be available for reporting against MOLAP models! They&#8217;re implementing it by supporting full DAX querying against multidimensional cubes. Since I skirted the tabular model, I don&#8217;t know much about DAX, except that it more closely resembles the Excel expression language than anything else, and it&#8217;s not as mind destroying (to borrow Pete Myers&#8217; phrase) to learn.</p>
<p>Now, those of you who have been following along at home will know that I&#8217;ve got some humble pie to eat. <a title="Day 4: 9:55pm: The Halfway&nbsp;Point" href="http://olapsprint.com/2012/11/06/day4/" target="_blank">Just last night</a>, I suggested that the fervor for Power View on MOLAP probably hadn&#8217;t reached critical mass (just <a href="http://connect.microsoft.com/SQLServer/feedback/details/713196/enable-power-view-to-access-multidimensional-models#details" title="Microsoft Connect" target="_blank">34 votes on Connect</a>), and made irreverent comments about farting in the wind, and the cathartic &#8211; if hopeless &#8211; act of voting.</p>
<p>Well, the joke&#8217;s on me, because as of Amir&#8217;s announcement this morning, Microsoft has proven me wrong. So, there&#8217;s pie on my face for sure, but a big smile under that pie, because I&#8217;ll get to play with Power View on my cube.</p>
<p>As for the actual release date for the support: I spoke with a couple of Microsoft BI engineers tonight at the Microsoft pavilion, but nobody seemed to know exactly when it would be happening. Fingers crossed it&#8217;s sometime soon.</p>
<p><strong>A Home for my Cube</strong><br />
Having put together a halfway decent Analysis Services cube, I started to wonder what the Best Practices were for the underlying hardware layer. I found <a title="Karan's Blog" href="http://karanspeaks.com/" target="_blank">Karan Gulati</a>, a terrific and very friendly Microsoft Support Escalation Engineer who had come to the PASS Summit all the way from Bangalore India. Karan was one of many Microsoft Engineers working in the SQL Clinic here at PASS. The SQL Clinic is arguably reason enough on its own to justify coming to PASS. The ability to sit down and have real conversations with people who know the product inside and out is fantastic. Last year, I had a question about the Reporting Services .NET control, and got introduced to Brian Hartman, who turned out to be the guy who wrote the control! Such a treat to have such great access to experts.</p>
<p>I had taken done some quick projections on how my underlying OLTLP database might grow over the next 5 years, and came up with a decent approximation of what the size of my corresponding data warehouse and Analysis Services cube would be as well. I`m on the very low-end of what the Microsoft SQL Server product stack is capable of supporting, so although I knew I&#8217;d be able to fit my solution on relatively inexpensive hardware, I wanted to know what the recommendations were. Not surprisingly, the recommendation was to separate my OLTP system from my data warehouse, my data warehouse from my OLAP cube, and my Reporting Services instance from my OLAP cube. Everything on its own box. The reason is fairly straight-forward, the different services require different consideration for their hardware specs.</p>
<p>While I accept this answer from a holistic technical perspective, I&#8217;m likely going to have to house some of the same services on the same boxes, in order to be cost-effective.</p>
<p>I also spoke with a Dell representative tonight, about their appliance model (HP has a similar one), which is an interesting alternative. Basically, you buy a server whose pricing includes not only the hardware, but also the O/S license, SQL Server license, and support as well. This is a more high-end solution that I will need if I get around to implementing an OLAP solution any time soon, but an intriguing option nonetheless. There&#8217;s more info on Microsoft&#8217;s site, <a title="SQL Server BI Appliances" href="http://www.microsoft.com/sqlserver/en/us/solutions-technologies/appliances.aspx" target="_blank">here</a>. Dell also had a <a title="Dell SQL Server Advisor Tool" href="http://advisors.dell.com/advisorweb/Advisor.aspx?advisor=214e88fe-eb6e-4d1c-86bf-b7d7dd092c38-000d9e&amp;c=us&amp;l=en&amp;g_5&amp;dgc=IR&amp;cid=FY12W24-PLE-MUL-OI-LEO-SQL_Server_Advisor&amp;lid=SQL-Advisor-US" target="_blank">very cool interactive SQL Server Advisor tool</a>, which takes you through a series of questions about your data assets and environment preferences and spits out a very comprehensive solution, including Hardware, Software, and Services elements.</p>
<div id="attachment_288" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/dell.png"><img class="size-full wp-image-288" title="Dell" alt="" src="http://olapsprint.files.wordpress.com/2012/11/dell.png?w=497&#038;h=329" height="329" width="497" /></a><p class="wp-caption-text">My results from the Dell SQL Server Advisor Tool</p></div>
<p>The day ended well: I was one of the first 200 people in line at the Pragmatic Works booth, and got a free signed copy of Wrox&#8217;s &#8220;SQL Server Integration Services 2012&#8243;, which will help nicely when it comes times to load my data warehouse and process my cube. Thank you, Pragmatic Works!</p>
<p>I stopped by Chipotle&#8217;s for a  chicken burrito &#8211; no surprises there &#8211; before heading back to the hotel, completely exhausted from a long day.<br />
Looking forward to some great sessions tomorrow.<br />
The sprint continues.</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/powerview/'>PowerView</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=275&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/08/day5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/shark1.jpg" medium="image">
			<media:title type="html">Shark1</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/dell.png" medium="image">
			<media:title type="html">Dell</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 4: 9:55pm: The Halfway Point</title>
		<link>http://olapsprint.com/2012/11/06/day4/</link>
		<comments>http://olapsprint.com/2012/11/06/day4/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 06:00:58 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[PowerView]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=230</guid>
		<description><![CDATA[I spent most of the day today in Pete Myers&#8217; full-day precon session, &#8220;Zero to BI Semantic Model with SQL Server 2012&#8243;. Pete gave a great presentation, and like yesterday, I came away with some key insights, and points of clarification. (He also referred to MDX as &#8220;Mind Destroying Expression&#8221;, which I got a laugh [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=230&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I spent most of the day today in Pete Myers&#8217; full-day precon session, &#8220;Zero to BI Semantic Model with SQL Server 2012&#8243;. Pete gave a great presentation, and like yesterday, I came away with some key insights, and points of clarification. (He also referred to MDX as &#8220;Mind Destroying Expression&#8221;, which I got a laugh out of.) The session focused on comparing the Tabular and Multidimensional models. The choice between the two models is multifaceted, and though Multidimensional has been along for much longer, it would seem that Tabular has all of the momentum. I&#8217;ve <a href="http://olapsprint.com/2012/11/03/day-1-1006am-the-first-fork-tabular-vs-multidimensional/" title="Day 1: 10:06am – The First Fork – Tabular vs&nbsp;Multidimensional" target="_blank">already made my bed</a> for the week with the Multidimensional model, but weighing the pros and cons for a long-term solution is going to take some careful thought and planning.</p>
<p><strong>Power View</strong><br />
One obvious advantage of the Tabular model is Power View, a very slick BI delivery tool. The demos of Power View that I&#8217;ve seen are impressive &#8211; data coming to life in reports with animated measures growing and shrinking as they move across dimension axes &#8211; very interactive stuff.  <a href="https://businessintelligencedemoportal.com/sites/contosoenergy/SitePages/pvrsample.aspx" title="Power View interactive demo" target="_blank">Take it for a spin</a> if you haven&#8217;t seen it yet. If you watched John White on CNN tonight, working that <a href="http://www.cnn.com/election/2012/ecalculator#?battleground" title="CNN Electoral Map" target="_blank">electoral map</a> like a sushi chef, you&#8217;ve got an idea of what Power View can do.</p>
<p>Before I learned that it was only available in Tabular mode, I downloaded a trial license of Excel 2013, and tried to connect Power View to my Multidimensional model, but was rejected unceremoniously with the following error message:</p>
<div id="attachment_234" class="wp-caption alignnone" style="width: 448px"><a href="http://olapsprint.files.wordpress.com/2012/11/doh.png"><img src="http://olapsprint.files.wordpress.com/2012/11/doh.png?w=497" alt="" title="NoPowerViewForYOu"   class="size-full wp-image-234" /></a><p class="wp-caption-text">No Power View for Multidimensional</p></div>
<p>So, in the spirit of democracy and today&#8217;s US Presidential elections, I joined 34 other unhappy Multidimensional BI developers on the <a href="http://connect.microsoft.com/SQLServer/feedback/details/713196/enable-power-view-to-access-multidimensional-models" title="Microsoft Connect: Enable Power View to access Multidimensional models" target="_blank">Microsoft Connect thread</a> and registered my vote for enabling Power View to access Multidimensional models. And while I doubt that 35 votes will get any late-night product road-map meetings convened over in Redmond, the voting was cathartic. (NB: this is the kind of thing my colleague John would call farting in the wind.)</p>
<p><a href="http://olapsprint.files.wordpress.com/2012/11/voteforpowerpivotonmd.png"><img src="http://olapsprint.files.wordpress.com/2012/11/voteforpowerpivotonmd.png?w=497&#038;h=196" alt="" title="VoteForPowerPivotOnMD" width="497" height="196" class="alignnone size-full wp-image-251" /></a></p>
<p><strong>SSRS Matrix Report Comparison (OLTP vs OLAP)</strong><br />
On the topic of BI delivery, Pete Myers had an interesting statistic regarding response times. He referenced a study that said if end users had to wait longer than 5 &#8211; 8 seconds between submitting a request for data and receiving the response, they not only lost faith in the BI system, but also forgot what it was they were querying.  </p>
<p>If Business Analysts are dozing off at 5-8 seconds, have I got a report for you.</p>
<p>Back at the office, we have an SSRS report that gets run a few times a month, on an ad-hoc basis. It&#8217;s a gnarly thing with lots of aggregates, and even a few sub-reports (to accomplish distinct counts where the report matrix couldn&#8217;t), and it&#8217;s sitting on an OLTP relational database.</p>
<p>I remoted in to my workstation, ran the report, and the ran a quick query on the ExecutionLog3 view on the ReportServer. It returned a total execution time of about 75 seconds, which was right in the wheelhouse for that report.</p>
<div id="attachment_240" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/old_ssrs_red.png"><img src="http://olapsprint.files.wordpress.com/2012/11/old_ssrs_red.png?w=497&#038;h=32" alt="" title="OLD_SSRS_Red" width="497" height="32" class="size-full wp-image-240" /></a><p class="wp-caption-text">75 seconds on OLTP</p></div>
<p>I wondered what the performance would be on the same report sitting on top of an OLAP cube. So, I put a similar report together quickly in Report Builder and uploaded it to the instance of Reporting Services running on my laptop. The results weren&#8217;t surprising, but still very impressive: 0.185 seconds.</p>
<div id="attachment_247" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/new_ssrs.png"><img src="http://olapsprint.files.wordpress.com/2012/11/new_ssrs.png?w=497&#038;h=30" alt="" title="NEW_SSRS" width="497" height="30" class="size-full wp-image-247" /></a><p class="wp-caption-text">0.185 seconds on OLAP</p></div>
<p>Every BI developer out there is saying &#8220;Duh&#8221; right now, but I wanted to see this for myself: OLAP delivering on its promise of high-speed querying against previously aggregated results.</p>
<p><strong>Half Time</strong><br />
Today represents roughly the mid-way point of my OLAP sprint. I&#8217;m pleased with my progress thus far &#8211; I&#8217;ve got a prototype cube built with some basic proof-of-concept reports, and my knowledge is growing in big leaps daily. Wednesday through Friday, I&#8217;m hoping to interact with some of the great people here in Seattle at the PASS Summit, and take advantage of all the expertise.</p>
<p>More specifically, I&#8217;d like to get some questions answered around hardware platforms, licensing, and security, so hopefully those answers are out there.</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/powerview/'>PowerView</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=230&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/06/day4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/doh.png" medium="image">
			<media:title type="html">NoPowerViewForYOu</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/voteforpowerpivotonmd.png" medium="image">
			<media:title type="html">VoteForPowerPivotOnMD</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/old_ssrs_red.png" medium="image">
			<media:title type="html">OLD_SSRS_Red</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/new_ssrs.png" medium="image">
			<media:title type="html">NEW_SSRS</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 3: 11:29pm: BI Immersion</title>
		<link>http://olapsprint.com/2012/11/05/day-3-1129pm-bi-immersion/</link>
		<comments>http://olapsprint.com/2012/11/05/day-3-1129pm-bi-immersion/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 07:32:17 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ESRI]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=184</guid>
		<description><![CDATA[Great day today. Brian and Devin Knight&#8217;s full-day precon session was filled with lots of great BI info and demos. They&#8217;re both entertaining, so it&#8217;s not difficult to stay engaged for the whole day, though the information download is a bit like drinking from a fire hose. The big takeaways for me were the explanations [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=184&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Great day today.</p>
<p>Brian and Devin Knight&#8217;s full-day precon session was filled with lots of great BI info and demos. They&#8217;re both entertaining, so it&#8217;s not difficult to stay engaged for the whole day, though the information download is a bit like drinking from a fire hose. The big takeaways for me were the explanations and discussions on cube dimensions, including dimension hierarchies and attribute relationships. The explanation of how compound key columns in dimension attributes are necessary in hierarchies (to resolve cryptic Visual Studio error messages) relieved a lot of pain for me. The other main takeaway for me was the importance of a solid data warehouse in the MOLAP model (it doesn&#8217;t seem to exist in the Tabular model). Brian made the statement that 70% of a BI project takes place in SSIS, tending to the data warehouse, which surprised me.</p>
<p>So, I spent some time cleaning up my pseudo-data warehouse, which is really just a handful of views that I&#8217;ve built in my OLTP system. This would be an untenable model in any environment other than on a laptop in a hotel room. I modified my views to include a few more joins, so that I could create more comprehensive dimensions, and removed columns that I knew I wasn&#8217;t going to be using. So, my cube is now looking not so hacky:</p>
<div id="attachment_188" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/monday_new_cube.png"><img src="http://olapsprint.files.wordpress.com/2012/11/monday_new_cube.png?w=497&#038;h=376" alt="" title="Monday_New_Cube" width="497" height="376" class="size-full wp-image-188" /></a><p class="wp-caption-text">Monday&#8217;s Cube</p></div>
<p>I also spent some time in SSMS playing with MDX, and came away feeling that MDX is not for dilettantes. I managed to put together a few queries, which I&#8217;ll include at the end of this post, but this was very much me playing the role of Don Quixote, galloping on my steed, with a bucket on my head, tilting at windmills.</p>
<div id="attachment_190" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/dqwindmill.gif"><img src="http://olapsprint.files.wordpress.com/2012/11/dqwindmill.gif?w=497&#038;h=422" alt="" title="DQWindmill" width="497" height="422" class="size-full wp-image-190" /></a><p class="wp-caption-text">What?! No code completion for MDX?</p></div>
<p>I finished the day on a good note. I downloaded Report Builder 3, and an <a href="http://www12.statcan.ca/census-recensement/2006/geo/bound-limit-eng.cfm" title="Statistics Canada Census Geographic Boundary Files" target="_blank">ESRI shapefile from Statistics Canada</a>, and put together a report which visualizes gross sales by province nicely. In the same way that it was nice to see my data come to life in my first experience with the cube browser late on Saturday night, it was great to see my data reflected in a visualization tonight.</p>
<p><a href="http://olapsprint.files.wordpress.com/2012/11/map.png"><img src="http://olapsprint.files.wordpress.com/2012/11/map.png?w=497&#038;h=313" alt="" title="Map" width="497" height="313" class="alignnone size-full wp-image-193" /></a></p>
<p>As far as data visualizations go, it&#8217;s just the tip of the iceberg, but I wanted to get it under my belt. With any luck, I&#8217;ll be able to move forward to the more interactive and dynamic tools.</p>
<p>On another note, the food at PASS was outstanding. A well-rounded plate (two, actually) of salad, potatoes, veggies, and salmon was a nice compliment to the rest of my not-so-balanced diet of chicken burritos and Heineken.</p>
<p>Okay &#8211; here&#8217;s the MDX:</p>
<p><strong>MDX Query #1</strong><br />
A query to retrieve the Total Price measure (gross sales) with tuples specified on 3 different dimensions:<br />
	- DimRetailer (City)<br />
	- DimProduct (Confection Type Major)<br />
	- DimDate (Year)<br />
In plain English, the measure being retrieved means something like: the gross sales of chocolate sold in Summerside (PEI), in 2012<br />
<code>SELECT Measures.[Total Price] ON COLUMNS<br />
FROM [OLAP Sprint DW]<br />
WHERE<br />
	(<br />
		[DimRetailer].[Geography].[CAN].[Atlantic].[PE].[Summerside],<br />
		[DimProduct].[Confection Type Major Desc].[Chocolate],<br />
		[DimDate].[Year Name].[Calendar 2012]<br />
	);</code></p>
<p><strong>MDX Query #2</strong><br />
- Added a gropuing attribute from the DimRetailer dimension (Province) to the SELECT clause<br />
- Used a range for the Calendar Year attribute in the FROM clause.<br />
<code>SELECT<br />
	Measures.[Total Price] ON COLUMNS,<br />
	[DimRetailer].[Retailer State Prov Abr].ALLMEMBERS ON ROWS<br />
FROM [OLAP Sprint DW]<br />
WHERE<br />
	(<br />
		[DimRetailer].[Retailer Country Abr].[CAN],<br />
		[DimProduct].[Confection Type Major Desc].[Chocolate],<br />
		[DimDate].[Year Name].[Calendar 2011]:[DimDate].[Year Name].[Calendar 2012]<br />
	);</code></p>
<p><strong>MDX Query #3</strong><br />
- Used the TopCount function in the SELECT clause to achieve the following:<br />
Return top 5 Sales Reps (no house accounts) in 2012, measured by the Total Price measure.<br />
<code>SELECT<br />
	{[Measures].[DCount of Retailers], [Measures].[Total Price] } ON COLUMNS,<br />
	TopCount( [DimSalesRep].[Sales Rep Full Name].MEMBERS, 6, [Measures].[Total Price]) ON ROWS<br />
FROM [OLAP Sprint DW]<br />
WHERE<br />
	(<br />
		[DimSalesRep].[Sales Rep Is House Account].[False],<br />
		[DimDate].[Year Name].[Calendar 2012]<br />
	)</code></p>
<br /> Tagged: <a href='http://olapsprint.com/tag/esri/'>ESRI</a>, <a href='http://olapsprint.com/tag/mdx/'>MDX</a>, <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=184&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/05/day-3-1129pm-bi-immersion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/monday_new_cube.png" medium="image">
			<media:title type="html">Monday_New_Cube</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/dqwindmill.gif" medium="image">
			<media:title type="html">DQWindmill</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/map.png" medium="image">
			<media:title type="html">Map</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 2: 11:47pm: Hoisted by my own Petard!</title>
		<link>http://olapsprint.com/2012/11/04/day-2-1147pm-hoisted-by-my-own-petard/</link>
		<comments>http://olapsprint.com/2012/11/04/day-2-1147pm-hoisted-by-my-own-petard/#comments</comments>
		<pubDate>Mon, 05 Nov 2012 07:48:56 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[Red Gate]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=178</guid>
		<description><![CDATA[&#8220;Chump change&#8221;, I said. &#8220;Stuff the Goose&#8221;, I said. Well, I&#8217;m eating those words now. It would seem that trying to cram 150 million rows into the fact table in my pseudo-data warehouse did not agree with my disk drive. I started the data generation job, using Red Gate&#8217;s SQL Data Generator (which is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=178&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&#8220;Chump change&#8221;, I said.<br />
&#8220;Stuff the Goose&#8221;, I said.</p>
<p>Well, I&#8217;m eating those words now.<br />
It would seem that trying to cram 150 million rows into the fact table in my pseudo-data warehouse did not agree with my disk drive.</p>
<p>I started the data generation job, using <a href="http://www.red-gate.com/products/sql-development/sql-data-generator/" title="Red Gate's SQL Data Generator" target="_blank">Red Gate&#8217;s SQL Data Generator</a> (which is a great tool; this is clearly the carpenter&#8217;s fault, to use the analogy), and then went off to the gym, had a shower, grabbed a bite to eat, etc. I sat back down to work, and wasn&#8217;t paying attention to growing size of my data and log files. I was making progress in SSMS writing some basic MDX, but was eventually harangued to the point of interruption by the low disk space warnings, and subsequent fallout from having no space on my C:\ drive. And so I had to abort my MDX fun and take some action. I spent more time than I would have liked to undoing the damage, but can&#8217;t help but laugh at my predicament.</p>
<p>Tomorrow the PASS Summit 2012 begins, and I&#8217;ve got a full-day session with Brian and Devin Knight on <a href="http://www.sqlpass.org/summit/2012/Sessions/SessionDetails.aspx?sid=3351" title="Building a SQL Server 2012 BI Platform" target="_blank">Building a SQL Server 2012 BI Platform</a>, which should be great. I&#8217;ll find some time after all that to post my thoughts on MDX &#8211; assuming my laptop is still in working order and I haven&#8217;t blown everything up.</p>
<p>This wouldn&#8217;t be fun if it was all a piece of cake, right?</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/red-gate/'>Red Gate</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=178&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/04/day-2-1147pm-hoisted-by-my-own-petard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 2: 9:35am</title>
		<link>http://olapsprint.com/2012/11/04/day-2-935am/</link>
		<comments>http://olapsprint.com/2012/11/04/day-2-935am/#comments</comments>
		<pubDate>Sun, 04 Nov 2012 17:44:36 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[Red Gate]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=154</guid>
		<description><![CDATA[Dawn of Day 2 &#8211; 6 days of dev to go. I&#8217;m pleased with my progress thus far: in something like 36 hours I&#8217;ve used SQL Server Data Tools to build a very rudimentary Mutlidimensional OLAP Cube, with one Measure and a handful of Dimensions. I spent some time exploring different sections of my data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=154&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Dawn of Day 2 &#8211; 6 days of dev to go.</p>
<p>I&#8217;m pleased with my progress thus far: in something like 36 hours I&#8217;ve used SQL Server Data Tools to build a very rudimentary Mutlidimensional OLAP Cube, with one Measure and a handful of Dimensions. I spent some time exploring different sections of my data using the Cube Browser and was excited with the results and the myriad possibilities for analysis.</p>
<p>Today will be my last full day of unstructured time for development, so I want to take full advantage. Tomorrow <a title="PASS Summit 2012" href="http://www.sqlpass.org/summit/2012/" target="_blank">PASS Summit 2012</a> kicks off across the street, and I&#8217;ve got two full-day seminars to look forward to on Monday and Tuesday, followed by three days of conference sessions before heading back to Toronto.</p>
<p>I&#8217;d to accomplish a few things today:</p>
<p><strong>Stuff the Goose:</strong><br />
I&#8217;ve got just under 7 million rows in my lone Fact table.<br />
Chump change.<br />
To really understand the scaling potential, I&#8217;m going to fill that skinny Fact table with a lot more data. I&#8217;ve always been a fan of <a title="Red Gate" href="http://www.red-gate.com/" target="_blank">Red Gate</a>&#8216;s DBA tools, and will use their <a title="Red Gate's SQL Data Generator" href="http://www.red-gate.com/products/sql-development/sql-data-generator/" target="_blank">SQL Data Generator</a> to that end today.</p>
<p><strong>Speak the Language:</strong><br />
Cube Browsing in SSDT was fun &#8211; seeing the results grid light-up instantaneously as I dragged and dropped Measures and Dimensions &#8211; so I&#8217;ll be venturing back into familiar territory with SSMS and trying to replicate the results using MDX. I&#8217;m already feeling quite saturated with the all of new OLAP nomenclature, so I&#8217;ll have to find some room in my head for the MDX syntax. I&#8217;m comforted by the sight of the familiar SELECT, FROM, and WHERE structures, but know that the experience is going to be different from writing TSQL.</p>
<p>Time for some breakfast, and then it&#8217;s back to battle.<br />
Looks like the weather will cooperate with 6 more days of programming:</p>
<div id="attachment_172" class="wp-caption aligncenter" style="width: 308px"><a href="http://olapsprint.files.wordpress.com/2012/11/025.png"><img class=" wp-image-172 " title="Programming Weather" alt="" src="http://olapsprint.files.wordpress.com/2012/11/025.png?w=298&#038;h=447" height="447" width="298" /></a><p class="wp-caption-text">Programming Weather</p></div>
<br /> Tagged: <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/red-gate/'>Red Gate</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=154&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/04/day-2-935am/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/025.png" medium="image">
			<media:title type="html">Programming Weather</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 1: 1:58am &#8211; Eureka</title>
		<link>http://olapsprint.com/2012/11/04/day-1-158am-eureka/</link>
		<comments>http://olapsprint.com/2012/11/04/day-1-158am-eureka/#comments</comments>
		<pubDate>Sun, 04 Nov 2012 08:58:51 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=139</guid>
		<description><![CDATA[I went back to the drawing board with my dimensions, as they were the ones causing me all the trouble. To be more specific, I took out the elephant gun and started them from scratch. Because I&#8217;m working from an OLTP datasource, and not a data warehouse that might be a bit cleaner, I was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=139&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I went back to the drawing board with my dimensions, as they were the ones causing me all the trouble.</p>
<p>To be more specific, I took out the elephant gun and started them from scratch.</p>
<p>Because I&#8217;m working from an OLTP datasource, and not a data warehouse that might be a bit cleaner, I was getting into trouble. Trouble to the tune of missing values, duplicate values, and the like, in my dimension attributes.</p>
<p>So, I wrote some quick and dirty TSQL UPDATE statements against my base OLTP tables, and then wrote some views in order to accomplish a bit of horizontal and vertical filtering.</p>
<p>Back in SSDT, I defined some hierarchies, and processed the dimensions one at a time, so that I could review the errors and warnings as they came up, and not be crushed by 29 errors at once.</p>
<p>I was rewarded for my patience:<br />
<div id="attachment_141" class="wp-caption alignnone" style="width: 498px"><a href="http://olapsprint.files.wordpress.com/2012/11/deployment-completed-successfully.png"><img src="http://olapsprint.files.wordpress.com/2012/11/deployment-completed-successfully.png?w=497" alt="" title="Deployment Completed Successfully"   class="size-full wp-image-141" /></a><p class="wp-caption-text">&#8220;Ta Da!&#8221;</p></div></p>
<p>Those three words &#8211; &#8220;Deployment Completed Successfully&#8221; &#8211; were music to my ears.</p>
<p>I flipped over to the Cube Browser tab in my newly-minted Cube and started to experiment. The Cube Browser is where the whole OLAP/Analysis Services experience really started to come to life. It was exciting to see the hierarchies and measures in action &#8211; a visual confirmation that my data was starting to take its proper shape. I was able to drag and drop the Dimension attributes and Measures quickly around the interface and was giddy at how quickly the results were updated. The filtering was straight-forward and intuitive, and allowed me to quickly spot trends in the data. </p>
<p><a href="http://olapsprint.files.wordpress.com/2012/11/cube-browsing.png"><img src="http://olapsprint.files.wordpress.com/2012/11/cube-browsing.png?w=497&#038;h=305" alt="" title="Cube Browsing" width="497" height="305" class="alignnone size-full wp-image-144" /></a></p>
<p>I got through 200 pages of my Wrox book, and managed to get a very rudimentary cube up and running today, so I&#8217;ll sleep well tonight!</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=139&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/04/day-1-158am-eureka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/deployment-completed-successfully.png" medium="image">
			<media:title type="html">Deployment Completed Successfully</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/cube-browsing.png" medium="image">
			<media:title type="html">Cube Browsing</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 1: 5:49pm &#8211; Progress, and then 28 Errors and 7 Warnings</title>
		<link>http://olapsprint.com/2012/11/03/progress/</link>
		<comments>http://olapsprint.com/2012/11/03/progress/#comments</comments>
		<pubDate>Sun, 04 Nov 2012 00:50:11 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=114</guid>
		<description><![CDATA[Spent the morning and afternoon reading up on the basic elements of a multidimensional model, including the data warehouse, facts, measures, dimensions, attributes, hierarchies, cubes, etc. The lingua franca of SQL Server Analysis Services is a bit of a headache, but I&#8217;m sure I&#8217;ll get used to thinking in those terms before too much longer. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=114&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Spent the morning and afternoon reading up on the basic elements of a multidimensional model, including the data warehouse, facts, measures, dimensions, attributes, hierarchies, cubes, etc. The lingua franca of SQL Server Analysis Services is a bit of a headache, but I&#8217;m sure I&#8217;ll get used to thinking in those terms before too much longer. Two-dimensional life in OLTP was so much simpler: rows and columns!</p>
<p>I &#8216;modeled&#8217; my first schema on a notepad at the pub across the street from the hotel, while taking down a cheeseburger. Although it looks more like a grocery list than a star or snowflake schema, it&#8217;s a start. From what I&#8217;ve read, I don&#8217;t understand why everyone wouldn&#8217;t want a snowflake schema, to take advantage of more complex hierarchies, but I&#8217;m in no position to be asking that question yet.</p>
<div id="attachment_123" class="wp-caption alignnone" style="width: 144px"><a href="http://olapsprint.files.wordpress.com/2012/11/photo1.jpg"><img class=" wp-image-123 " title="First Model" alt="" src="http://olapsprint.files.wordpress.com/2012/11/photo1.jpg?w=134&#038;h=180" height="180" width="134" /></a><p class="wp-caption-text">Poor Man&#8217;s Schema</p></div>
<p>Once back at the hotel, I created a data warehouse in the relational database engine in SSMS from a copy of our production OLTP database. I&#8217;m not worrying about using SSIS to load the data warehouse from the OLTP source yet &#8211; I&#8217;ll save that for later.</p>
<p>From there, I jumped over to SSDT, and in about 30 minutes, quickly knocked out the following:</p>
<ol>
<li>Created an Analysis Services Multidimensional Project</li>
<li>Created a data source</li>
<li>Created a data source view</li>
<li>Created a cube</li>
<li>Created some dimensions</li>
</ol>
<p>All of the wizards in SSDT made it very easy, and I had a &#8216;this is too good to be true&#8217; feeling, but nonetheless couldn&#8217;t resist feeling a bit pleased with myself for having filled the design surface with so many shiny new things.</p>
<div id="attachment_117" class="wp-caption alignnone" style="width: 507px"><a href="http://olapsprint.files.wordpress.com/2012/11/first-cube1.png"><img class="size-full wp-image-117 " title="First Project in SSDT" alt="" src="http://olapsprint.files.wordpress.com/2012/11/first-cube1.png?w=497&#038;h=309" height="309" width="497" /></a><p class="wp-caption-text">Progress!</p></div>
<p>My fears were confirmed when I went to deploy the solution back to the server and received no less than <strong>28 errors and 7 warnings</strong>:</p>
<div id="attachment_126" class="wp-caption alignnone" style="width: 310px"><a href="http://olapsprint.files.wordpress.com/2012/11/ohdeardeploymentfailed.png"><img class="size-medium wp-image-126  " title="Oh Dear Deployment Failed" alt="" src="http://olapsprint.files.wordpress.com/2012/11/ohdeardeploymentfailed.png?w=300&#038;h=77" height="77" width="300" /></a><p class="wp-caption-text">Oh dear.</p></div>
<p>That&#8217;s a lot of errors and warnings. So, I&#8217;m going to take a break, find some food, and dive back in later tonight when my confidence has recovered.</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=114&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/03/progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/photo1.jpg?w=224" medium="image">
			<media:title type="html">First Model</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/first-cube1.png" medium="image">
			<media:title type="html">First Project in SSDT</media:title>
		</media:content>

		<media:content url="http://olapsprint.files.wordpress.com/2012/11/ohdeardeploymentfailed.png?w=300" medium="image">
			<media:title type="html">Oh Dear Deployment Failed</media:title>
		</media:content>
	</item>
		<item>
		<title>Day 1: 10:06am &#8211; The First Fork &#8211; Tabular vs Multidimensional</title>
		<link>http://olapsprint.com/2012/11/03/day-1-1006am-the-first-fork-tabular-vs-multidimensional/</link>
		<comments>http://olapsprint.com/2012/11/03/day-1-1006am-the-first-fork-tabular-vs-multidimensional/#comments</comments>
		<pubDate>Sat, 03 Nov 2012 17:29:18 +0000</pubDate>
		<dc:creator>simondoubt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Multidimensional]]></category>
		<category><![CDATA[PASS Summit 2012]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tabular]]></category>

		<guid isPermaLink="false">http://olapsprint.com/?p=107</guid>
		<description><![CDATA[The first fork in the road seems to be picking an OLAP model &#8211; Tabular or Multidimensional. I&#8217;m going with Multidimensional. As I stated in the outset, it&#8217;s not my intention to be thorough in my research and decision-making this week. So, this Microsoft White Paper, and Chapter 1 from my Wrox book have given [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=107&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The first fork in the road seems to be picking an OLAP model &#8211; Tabular or Multidimensional.</p>
<p>I&#8217;m going with Multidimensional.</p>
<p>As I stated in the outset, it&#8217;s not my intention to be thorough in my research and decision-making this week. So, <a href="http://msdn.microsoft.com/en-us/library/hh994774.aspx" title="Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services" target="_blank">this Microsoft White Paper</a>, and Chapter 1 from my Wrox book have given me enough input to choose the Multidimensional model. </p>
<p>Loosely, the factors in my decision are:</p>
<p>The Multidimensional model has been around a lot longer (5 releases of SQL Server), and is described as the &#8216;Traditional&#8217; model. Presumably this means it is more stable and mature. I&#8217;m also hoping there are more resources out there for me to learn it.</p>
<p>The Tabular model is intriguing to me mostly for its newness. The in-memory xVelocity (aka Vertipaq) engine sound like lots of fun, and I know that I&#8217;m ignoring an opportunity to build a quicker, simpler solution using the Tabular model, but I can&#8217;t help but feel like it is somehow a shortcut that will bite me later on. It also seems to involve a lot of Excel. With all due respect to Excel and its legion of followers, I didn&#8217;t come all the way to PASS in Seattle to play in Excel all day. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Like I said, I&#8217;m making snap decisions to get this built, so there we are &#8211; Multidimensional it is.</p>
<p>The 6am breakfast of coffee and Pringles has run their course, so my next decision will be where to get some food.</p>
<br /> Tagged: <a href='http://olapsprint.com/tag/multidimensional/'>Multidimensional</a>, <a href='http://olapsprint.com/tag/pass-summit-2012/'>PASS Summit 2012</a>, <a href='http://olapsprint.com/tag/sql-server/'>SQL Server</a>, <a href='http://olapsprint.com/tag/tabular/'>Tabular</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olapsprint.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olapsprint.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olapsprint.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olapsprint.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olapsprint.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olapsprint.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olapsprint.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olapsprint.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olapsprint.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olapsprint.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olapsprint.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olapsprint.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olapsprint.com&#038;blog=42323919&#038;post=107&#038;subd=olapsprint&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olapsprint.com/2012/11/03/day-1-1006am-the-first-fork-tabular-vs-multidimensional/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8685e05553d2632a12d9f86f2c8b90e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simondoubt</media:title>
		</media:content>
	</item>
	</channel>
</rss>
