<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1989982134938467457</id><updated>2026-05-12T17:29:08.544-07:00</updated><category term="Introduction to SSIS"/><category term="SSIS"/><category term="SSIS Basics"/><category term="Big Data"/><category term="Data Quality Services"/><category term="BISM"/><category term="Big Data Analytics"/><category term="DQS"/><category term="Power View"/><category term="SQL Server 2012"/><category term="Tabular Model"/><category term="Apache Hadoop"/><category term="BI Semantic Model"/><category term="Charts"/><category term="Cleansing"/><category term="Column Store Index"/><category term="Data Quality Services Architecture"/><category term="Excel Services"/><category term="File Tables"/><category term="Full text Search"/><category term="Hadoop"/><category term="Hadoop Hive with MSBI"/><category term="KPI"/><category term="Microsoft Power View"/><category term="Power Pivot"/><category term="Power View Reports"/><category term="Power View in Excel 2013"/><category term="SQL Server"/><category term="SQL Server 2012 BISM Tabular Model"/><category term="SQL Server 2012 Tabular Model"/><category term="SSAS 2012 Tabular Model"/><category term="SharePoint 2013"/><category term="ADO.NET"/><category term="Always On"/><category term="Analysis Services 2012"/><category term="Analytic Reports"/><category term="Bing Maps"/><category term="Business Intelligence Development Studio"/><category term="Cloud"/><category term="Clustered Index"/><category term="Column to Row"/><category term="Columnar Oriented-DB"/><category term="Composite Index"/><category term="Connection Managers"/><category term="Contained Database"/><category term="Control Flow"/><category term="Covering Index"/><category term="Create Column Store Index"/><category term="DAX"/><category term="DQS Cleansing"/><category term="DQS Cleansing Transformation"/><category term="DQS Cleansing Transformation Editor"/><category term="Dashboard"/><category term="Dashboards"/><category term="Data Flow"/><category term="Data Flow Task"/><category term="Data Flow Transformations"/><category term="Data Quality Client"/><category term="Data Quality Projects"/><category term="Decomposition Tree"/><category term="Drill down"/><category term="Drill up"/><category term="ETL"/><category term="Event Handlers"/><category term="Excel 2010"/><category term="Extract Transform and Load"/><category term="FILESTREAM"/><category term="File Tables in SQL Server 2012"/><category term="Filters"/><category term="Getting Started - BISM Tabular Model"/><category term="Hadoop Hive"/><category term="Hadoop data in Excel"/><category term="Hadoop on Windows Azure"/><category term="Hadoop on Windows Server"/><category term="Hadoop with SQL Server 2012"/><category term="Heap Table"/><category term="Hierarchies"/><category term="HiveODBC"/><category term="In-Memory Analytics"/><category term="Index"/><category term="Index Design"/><category term="Index Structures"/><category term="Indexed View"/><category term="Installing SQL Server"/><category term="KPIs"/><category term="Knowledge Base Management"/><category term="Maps"/><category term="Matching"/><category term="Microsoft BI"/><category term="Microsoft BI tools with Hadoop"/><category term="Monitoring"/><category term="New in SQL Server 2012"/><category term="Nonclustered Indexes"/><category term="Number of rows / records in all the tables in SQL Server"/><category term="OLEDB"/><category term="Office 365"/><category term="PPS"/><category term="PPS features"/><category term="Partially Contained Database"/><category term="Partitioned View"/><category term="PerformancePoint Services"/><category term="Pie Charts"/><category term="Pivot"/><category term="Power Pivot in Excel 2010"/><category term="PowerPivot"/><category term="PowerShell in SQL Server 2012"/><category term="Profiling"/><category term="Report"/><category term="Report Styles"/><category term="SMO Assemblies"/><category term="SMO in PowerShell"/><category term="SQL Server 2012 BI"/><category term="SQL Server Configuration"/><category term="SQL Server Data Tools"/><category term="SQL Server Heap"/><category term="SQL Server Index Basics"/><category term="SQL Server Integration Services"/><category term="SQL Server Setup"/><category term="SSAS 2012"/><category term="SSIS Task"/><category term="Scatter Chart"/><category term="Scorecard"/><category term="Scorecards"/><category term="Search"/><category term="Security"/><category term="SharePoint"/><category term="SharePoint Repository"/><category term="Standard View"/><category term="Transformations"/><category term="Transpose Table"/><category term="Unique Index"/><category term="View"/><category term="ad-hoc report"/><category term="multidimensional model"/><title type='text'>SQLServerBrains</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-7558118035273855804</id><published>2012-08-24T21:29:00.000-07:00</published><updated>2012-08-24T21:29:17.362-07:00</updated><title type='text'>Business Intelligence : New capabilities delivered for end users in Excel 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ability to analyze data ranging from a few rows to hundreds of millions of rows with extreme analytical performance on your desktop using Excel data models powered by xVelocity in-memory analytics engine&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Opportunity to speed up analysis in Excel by easily cleaning up and shaping your data with Flash Fill; by previewing, applying conditional formatting, creating tables, charts and PivotTables using Quick Analysis; by easily navigating multidimensional and tabular data models and creating trend charts to analyze information over time using Quick Explore.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;em style=&quot;background-color: white; color: #424242; font-size: small; line-height: 19.5px;&quot;&gt;&lt;span size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Quick Explore enables a user to look at the product categories summarized by Sales Quantity with 1 click:&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;em style=&quot;background-color: white; color: #424242; font-size: small; line-height: 19.5px;&quot;&gt;&lt;span size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/2656.image_5F00_383A5386.png&quot; style=&quot;background-color: white; color: #00749e; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; outline: none;&quot;&gt;&lt;img alt=&quot;Quick Explore&quot; border=&quot;0&quot; height=&quot;209&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/2671.image_5F00_thumb_5F00_5710C764.png&quot; style=&quot;background-image: none; border: 0px; display: inline; max-width: 100%; overflow: hidden; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;Quick Explore&quot; width=&quot;476&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Quick Analysis suggests a Pivot Table type with a preview of actual data:&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/2577.Quick_2D00_Analysis_5F00_173F9B1A.png&quot; style=&quot;color: #00749e; outline: none;&quot;&gt;&lt;img alt=&quot;Quick Analysis&quot; border=&quot;0&quot; height=&quot;310&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/7380.Quick_2D00_Analysis_5F00_thumb_5F00_6CA3BA3C.png&quot; style=&quot;background-image: none; border: 0px; display: inline; max-width: 100%; overflow: hidden; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;Quick Analysis&quot; width=&quot;493&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Empower users of all levels to access, mash-up and analyze data from virtually any source and rapidly create compelling analytical applications with PowerPivot.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot Diagram View shows the data relationship:&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/4403.image_5F00_39AB49CD.png&quot; style=&quot;color: #00749e; outline: none; text-decoration: none;&quot;&gt;&lt;img alt=&quot;PowerPivot Diagram View&quot; border=&quot;0&quot; height=&quot;271&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/6052.image_5F00_thumb_5F00_4CEC006C.png&quot; style=&quot;background-image: none; border: 0px; display: inline; max-width: 100%; overflow: hidden; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;PowerPivot Diagram View&quot; width=&quot;507&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; color: #424242; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-top: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Provide stunning data visualization to discover new insights at the speed of thought with a highly interactive and familiar data exploration, visualization, and presentation experience for users of all levels with Power View.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Interactive visualization with Power View in Excel 2013:&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/2337.image_5F00_7D9F0817.png&quot; style=&quot;background-color: white; color: #00749e; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 1em; line-height: 19.5px; outline: none; text-decoration: none;&quot;&gt;&lt;img alt=&quot;Power View in Excel 2013&quot; border=&quot;0&quot; height=&quot;388&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/2337.image_5F00_thumb_5F00_4FD13F52.png&quot; style=&quot;background-image: none; border: 0px; display: inline; max-width: 100%; overflow: hidden; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;Power View in Excel 2013&quot; width=&quot;650&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px; margin-top: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;New capabilities delivered for IT:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px; margin-top: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;At the same time, we are strengthening our IT management and oversight capability by&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enabling discovery and assessment of user-created spreadsheets with SharePoint 2013&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enabling comparing spreadsheets, tracking lineage, conducting interactive diagnostics and creating spreadsheet analysis reports with Inquire in Excel&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SharePoint 2013 discovery and assessment criteria setup:&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/3482.SharePoint_2D00_Discovery_5F00_3BC102D1.png&quot; style=&quot;color: #00749e; outline: none; text-decoration: none;&quot;&gt;&lt;img alt=&quot;SharePoint 2013 discovery and assessment&quot; border=&quot;0&quot; height=&quot;350&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/5141.SharePoint_2D00_Discovery_5F00_thumb_5F00_498322FF.png&quot; style=&quot;background-image: none; border: 0px; display: inline; max-width: 100%; overflow: hidden; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;SharePoint 2013 discovery and assessment&quot; width=&quot;657&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; color: #424242; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-top: 12px;&quot;&gt;
&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Inquire in Excel showing spreadsheet lineage and workbook analysis:&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;background-color: white; color: #424242; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;
&lt;div style=&quot;font-size: 1em; margin-top: 12px;&quot;&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/6102.image_5F00_6AC9C2C6.png&quot; style=&quot;color: #00749e; outline: none;&quot;&gt;&lt;img alt=&quot;Inquire in Excel&quot; border=&quot;0&quot; height=&quot;381&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-09-metablogapi/4861.image_5F00_thumb_5F00_0B8D85AE.png&quot; style=&quot;background-image: none; border: 0px; display: inline; max-width: 100%; overflow: hidden; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;Inquire in Excel&quot; width=&quot;659&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/7558118035273855804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/business-intelligence-new-capabilities.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7558118035273855804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7558118035273855804'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/business-intelligence-new-capabilities.html' title='Business Intelligence : New capabilities delivered for end users in Excel 2013'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-2658164008423925000</id><published>2012-08-15T23:18:00.001-07:00</published><updated>2012-08-20T23:28:48.661-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="In-Memory Analytics"/><category scheme="http://www.blogger.com/atom/ns#" term="Pivot"/><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot"/><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot in Excel 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Power Pivot with Excel 2010 - Features and Getting Started</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot for Excel is an add-on for Excel 2010. PowerPivot allows users to conduct powerful business intellegence (BI) in an environment that is familier. It&#39;s a free download from Microsoft and allows users to work with extremely large data sets. Before PowerPivot, this kind of analysis was limited to enterprise BI tools such as SAS and Business Objects.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot uses an in-memory engine called VertiPaq. This new SSAS engine takes advantage of the increased RAM available in most personal computers today.&amp;nbsp;Most IT shops are challenged with the resources needed to build out an enterprise BI environment. PowerPivot moves some of this work closer to the business user. While there are many features in PowerPivot for Excel.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
ch_client = &quot;msr_nitin2&quot;;
ch_width = 550;
ch_height = 250;
ch_type = &quot;mpu&quot;;
ch_sid = &quot;Chitika Default&quot;;
ch_color_site_link = &quot;0000CC&quot;;
ch_color_title = &quot;0000CC&quot;;
ch_color_border = &quot;FFFFFF&quot;;
ch_color_text = &quot;000000&quot;;
ch_color_bg = &quot;FFFFFF&quot;;
&lt;/script&gt;
&lt;script src=&quot;http://scripts.chitika.net/eminimalls/amm.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Work With Very Large Data Sets&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;If you open Microsoft Excel and move to the very bottom of a worksheet, you will see that the maximum number of rows is 1,048,576. This represents about a million rows of data. With PowerPivot for Excel, there is no limit on the number of rows of data. While this is a true statement, the actual limitation is based on the version of Microsoft Excel you are running and whether you are going to publish your spreadsheet to SharePoint 2010.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
If you are running the 64-bit version of Excel, PowerPivot can reportedly handle about 2 GB of data. You must have enough RAM to make this work. If you plan to publish your PowerPivot based Excel spreadsheet to SharePoint 2010, the maximize file size is also 2 GB. The bottom line is PowerPivot for Excel can handle millions of records. If you hit the maximum, you will receive a memory error.&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;Combine Data From Different Sources&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This has to be one of the most important features in PowerPivot for Excel. Excel has always been able to handle different data sources such as SQL Server, XML, Microsoft Access and even web based data. The problem comes when you need to created relationships between different data sources. There are 3rd party products available to help with this, and you can use Excel functions like VLOOKUP to &quot;join&quot; data. But these methods are impractical for large data sets. PowerPivot for Excel is built to accomplish this task.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Within PowerPivot, you can import data from virtually any data source. I have found that one of the most useful data sources is a SharePoint List. I have used PowerPivot for Excel to combine data from SQL Server and a list from SharePoint. You will need SharePoint 2010 to make this work along with the ADO.Net runtime installed on the SharePoint environment. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
When you connect PowerPivot to a SharePoint list, you are actually connecting to a Data Feed. To create a Data Feed from a SharePoint list, open the list and click on the List ribbon. Then click on Export as Data Feed and save it. The feed is available as a URL in PowerPivot for Excel.&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There is one challenge that will be resolved by Microsoft soon. PowerPivot for Excel only supports inner joins. If you need to do an outer join, you will need to wait until an update is released from Microsoft or tweak your data so that an inner join can be used.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create Visually Apealing Analytical Models&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot for Excel allows you to output a variety of visual data to your Excel worksheet. You can return data in a PivotTable, PivotChart, Chart and Table (horizontal and vertical), Two Charts (horizontal and vertical), Four Charts and a Flattened PivotTable. The power comes when you create a worksheet that includes multiple outputs. This provides a dashboard view of the data that makes analysis really easy. Even your executives should be able to interact with your worksheet if you build it correctly. &lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Slicers&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;, which shipped with Excel 2010, makes it simple to visually filter data.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Use DAX to Create Calculated Fields for Slicing and Dicing Data&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;DAX stands for Data Analysis Expressions and is the formula language used in PowerPivot tables. There are similarities between Excel formulas and DAX. The DAX formula language is used primarily in creating calculated columns. Check out the DAX Reference in TechNet for a complete reference.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
In a regular Pivot Table in Excel that included a properly formated date field, you can use grouping to include the ability to filter or group by year, quarter, month and day. In PowerPivot, you need to create these as calculated columns to accomplish the same thing. Add a column for each way you need to filter or group data in your Pivot Table. Many of the date functions in DAX are the same as Excel formulas which makes this a snap.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
For example, use =YEAR([&lt;em&gt;date column&lt;/em&gt;]) in a new calculated column to add the year to your data set in PowerPivot. You can then use this new YEAR field as a slicer or group by in your Pivot Table.&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Publish Dashboards to SharePoint 2010&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If your company is like mine, dashboard are still the work of your IT team. PowerPivot when combined with SharePoint 2010 puts the power of dashboards into the hands of your users. One of the prerequisites of publishing PowerPivot driven charts and tables to SharePoint 2010 is the implementation of PowerPivot for SharePoint on your SharePoint 2010 farm&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Installing PowerPivot&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The PowerPivot plugin for Excel can be downloaded from the official 
PowerPivot site: &lt;/span&gt;&lt;a href=&quot;http://www.powerpivot.com/&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;www.powerpivot.com&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;.  
  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot can be installed on both x86 and x64 systems including Windows XP 
sp3, Windows Vista sp1, and Windows 7.  If you aren’t installing it on Windows 
7, you will need to install .Net Framework 3.5 SP1.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A minimum of 1G of memory is required to run PowerPivot, but 2G is 
recommended.   Depending on the solution, more memory for PowerPivot can 
increase the performance of the transformations due to its in-memory processing 
capabilities.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Also on the PowerPivot site is a link to a trial for Microsoft Office 2010 
Professional Plus if you don’t already have it installed.  If you customize the 
installation of the Office Suite, you need to choose at least Excel and the 
Office Shared Tools.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once Microsoft Office is installed, you can download the PowerPivot install 
from the download page on the PowerPivot site.  Locate and click on the 
PowerPivot install file.  The add-in will actually install the next time you run 
Excel, at which time you will be asked to approve the installation of the 
PowerPivot add-in.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOPjsmh-2D_KWWeIDvw0IH7gIVGwySWCiW6FZ09U1a8w_HcAasEHZCOgSsMyzcCb1OTkNHN67I-IS6gu9GhNHL852p9zVyn8YZEq4KssLwD7bozKYYyxVuwmB_OhCtro0hgLvzJEcqpcI/s1600/untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOPjsmh-2D_KWWeIDvw0IH7gIVGwySWCiW6FZ09U1a8w_HcAasEHZCOgSsMyzcCb1OTkNHN67I-IS6gu9GhNHL852p9zVyn8YZEq4KssLwD7bozKYYyxVuwmB_OhCtro0hgLvzJEcqpcI/s1600/untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Creating Your First PowerPivot&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now that the PowerPivot add-in is installed, you can see that you have a new 
PowerPivot tab across the top of Excel.  Clicking on that tab displays the 
PowerPivot ribbon.  To select the data to use for your PowerPivot, you will need 
to click on the PowerPivot Window button (highlighted on the left below).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLMd_acLqiqgpfPiD48vhHTY-YlCrLjgyCCpYeljrKQ4hN8jOO34qw6GMJwwfbmY9_khsGILJ59xGOISN90RmUTo4RuAFm14uQFnjoCSSqJEYD3XU0OiBgJGY0rwLaKVBm511FT5oFGFE/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLMd_acLqiqgpfPiD48vhHTY-YlCrLjgyCCpYeljrKQ4hN8jOO34qw6GMJwwfbmY9_khsGILJ59xGOISN90RmUTo4RuAFm14uQFnjoCSSqJEYD3XU0OiBgJGY0rwLaKVBm511FT5oFGFE/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the PowerPivot window, select Get External Data from Database -&amp;gt; From SQL 
Server.  Notice that you can also get data from many other sources including 
data feeds, text files, and the web.  In this case, however, we are going to use 
the AdventureWorks2008DW sample database.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8ebEzGSc14GFBxkJpJ_x0QjqJykyTfNaa2jPkhbsvFF_EPJzI2K3e3C_6v84AasJiGrb84InoDGV1K3OxfUdmvz8lN_2tRZVQmYcMAqLUW2wqzOypVPKZU3rKePu1x2RVXlSaLr2uaEQ/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8ebEzGSc14GFBxkJpJ_x0QjqJykyTfNaa2jPkhbsvFF_EPJzI2K3e3C_6v84AasJiGrb84InoDGV1K3OxfUdmvz8lN_2tRZVQmYcMAqLUW2wqzOypVPKZU3rKePu1x2RVXlSaLr2uaEQ/s320/3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the Table Import Wizard, specify localhost for the server and 
AdventureWorks2008DW as the Database name.  If you need to install 
AdventureWorks2008DW, you can find it &lt;/span&gt;&lt;a href=&quot;http://msftdbprodsamples.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZVEYAk36p_rlqp7QlyoKYkrrSajarZThnIEapoBW_GXI4O7uCakqmfxkWgpWtO5C3Z255AH8jkxnDEtLO9RIlCwk8bGQsGTnVJxFgiU4EbobUZZeeLxnb0H_IV_a72fvV4HfMj__qTk/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZVEYAk36p_rlqp7QlyoKYkrrSajarZThnIEapoBW_GXI4O7uCakqmfxkWgpWtO5C3Z255AH8jkxnDEtLO9RIlCwk8bGQsGTnVJxFgiU4EbobUZZeeLxnb0H_IV_a72fvV4HfMj__qTk/s1600/4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hit Next and make sure to select “Select from a list of tables and views to 
choose the data to import” from the next screen.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSAVWXdWn3x43U4WuS1ynUPJgPqkZhD6PffMNB7ftZr61Y45V_owevqfekOvqbzdaGhQd_NXIfA_P5x_CzAEF29aGVoUkcqi7aXE2wMjeOTTILvuHz5Te3oTEaStxrLJvtUHLt-x4EsEI/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSAVWXdWn3x43U4WuS1ynUPJgPqkZhD6PffMNB7ftZr61Y45V_owevqfekOvqbzdaGhQd_NXIfA_P5x_CzAEF29aGVoUkcqi7aXE2wMjeOTTILvuHz5Te3oTEaStxrLJvtUHLt-x4EsEI/s1600/5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From the table list, select the FactResellerSales table and rename it to 
ResellerSales in the Friendly Name column.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSAZ2qJeegun2tG8GvlLQdx92PFWvBgPUhsh6pnF03IbUF6-tRg8iTcBX0JJ5OwQ5eI58SFXdCf55xZXNwK8ceCjL8S8LNnOrB-lAPIPedJH9bsYolpaYBR6l0yIWLedIWWkTRkEPHvXs/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSAZ2qJeegun2tG8GvlLQdx92PFWvBgPUhsh6pnF03IbUF6-tRg8iTcBX0JJ5OwQ5eI58SFXdCf55xZXNwK8ceCjL8S8LNnOrB-lAPIPedJH9bsYolpaYBR6l0yIWLedIWWkTRkEPHvXs/s1600/6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;img border=&quot;0&quot; height=&quot;263&quot; id=&quot;Picture 7&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image007.jpg&quot; width=&quot;255&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;While you are there, click the Select Related Tables button.  This selects the 7 
tables in the database that have a relationship with the FactResellerSales 
table.  Click Preview &amp;amp; Filter just to have a look; we won’t change anything 
here, though you could use it to filter out rows and columns from the model.&lt;/span&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;236&quot; id=&quot;Picture 8&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image008.jpg&quot; width=&quot;383&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click Cancel to get out of Preview &amp;amp; Filter and then hit Finish on the 
Table Import Wizard screen.  This brings up the following window which displays 
the progress on each table import.&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;263&quot; id=&quot;Picture 9&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image009.jpg&quot; width=&quot;256&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
﻿&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A Details link displays in the message column on each import line if there is 
information or errors regarding the import.  Notice there is a detail link on 
final step, data preparation.  Clicking that displays a popup window with 
information about the data preparation.  Most of it is successful, but it does 
inform you of a few errors.  For instance, self-joins are not supported in the 
case of employee.  Fortunately, none of these affect the pivot we are 
creating.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;263&quot; id=&quot;Picture 10&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image010.jpg&quot; width=&quot;255&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Closing the Table Import Wizard reveals the model from which we will work.  
First, let’s tweak a few things.  You see each imported table is represented on 
its own tab in the model.  Let’s select the ResellerSales tab.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;360&quot; id=&quot;Picture 12&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image011.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scroll all the way to the right and click on “Add Column” in the header.  For 
the expression, subtract TotalProductCost from SalesAmount.  You can either type 
in the expression as it appears below, or build it as you click the columns.&lt;/span&gt; 
&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 13&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image012.jpg&quot; width=&quot;488&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now we need to give our new computed column a better name than 
ComputedColumn1.  Right-click on the column header and select “Rename Column” 
from the drop down menu.  Change the name to “Profit”.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;360&quot; id=&quot;Picture 14&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image013.jpg&quot; width=&quot;550&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To get started on the Pivot Table, we need to switch back to the workbook 
itself.  You can either just click on the spreadsheet in the background or you 
can use the toolbar button that looks like the Excel icon (next to Formatting) 
to switch back.  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once back in the workbook, select the PivotTable button and choose Chart and 
Table (Horizontal) from the menu.  This allows you to create  both a chart and 
table for your data contained on one table.  The chart will be on the left and 
data will be on the right.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;360&quot; id=&quot;Picture 15&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image014.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When asked for a decision on placing it in a new or existing workbook, choose 
the existing workbook.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;79&quot; id=&quot;Picture 16&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image015.jpg&quot; width=&quot;189&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Field List panel on your right controls the contents of the pivot.  Let’s 
begin by dragging the fields we are interested in from the list into their 
respective areas.  First drag the amount fields for TotalProcuctCost, 
SalesAmount, and Profit from the ResellerSales table down to the Values list.  
Drag the SalesTerritoryRegion from DimSalesTerritory to the Row Labels list.  
Similarly, drag the ResellerName column from the DimReseller table down to the 
Row Labels list and drop it in below the SalesTerritoryRegion column.  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now that the report is filled in, we’ll clean it up a little.  Change the 
header “Row Labels” to “Region\Reseller”.  Change the headers over the three 
amount fields to remove “Sum of” from the name.  Your pivot report and Field 
List panel should resemble the following screen shot.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 19&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image016.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It’s starting to look good, but the chart is way too busy.  Maybe we should 
just look at one region at a time.  So let’s add a horizontal slicer.  From the 
Field List, choose SalesTerritoryRegion again and drag it to the Slicers 
Horizontal list.  Now you see a button for each region displayed at the top of 
the report.  Click on France.  You’ll see the report and chart filter down to 
display just the region of France and its resellers.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 20&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image017.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Let’s further narrow down the chart by doing a manual filter using the filter 
button on the chart for ResellerName.  From the list, first click Select All to 
unselect all the resellers, then pick just Accessories Network, Ace Bicycle 
Supply, and Atypical Bike Company.  This reduces the Resellers displayed on the 
chart to just these three.  Note that if we would have selected resellers not 
from France (our existing Region filter), the chart would be empty.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 21&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image018.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The resulting chart is much easier to read having just the three resellers of 
interest graphed.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 22&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image019.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;We are not quite done.  It’s bothering me that our amounts have more than 2 
decimal places, so let’s take care of that real quick.  Select all the data for 
the three amount columns and when the formatting menu appears, select the $ icon 
as shown below.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 23&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image020.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And now, the final product.  Congratulations on completing your first 
PowerPivot report.&lt;/span&gt;&lt;/div&gt;
&lt;img border=&quot;0&quot; height=&quot;359&quot; id=&quot;Picture 24&quot; src=&quot;http://www.databasejournal.com/img/2010/09/DD_PowerPivot_image021.jpg&quot; width=&quot;625&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/zxVZOW56XwI?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/2658164008423925000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/power-pivot-with-excel-2010-features.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2658164008423925000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2658164008423925000'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/power-pivot-with-excel-2010-features.html' title='Power Pivot with Excel 2010 - Features and Getting Started'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOPjsmh-2D_KWWeIDvw0IH7gIVGwySWCiW6FZ09U1a8w_HcAasEHZCOgSsMyzcCb1OTkNHN67I-IS6gu9GhNHL852p9zVyn8YZEq4KssLwD7bozKYYyxVuwmB_OhCtro0hgLvzJEcqpcI/s72-c/untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-7225665880127979360</id><published>2012-08-10T10:22:00.001-07:00</published><updated>2012-08-18T19:38:16.606-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Indexed View"/><category scheme="http://www.blogger.com/atom/ns#" term="Partitioned View"/><category scheme="http://www.blogger.com/atom/ns#" term="Standard View"/><category scheme="http://www.blogger.com/atom/ns#" term="View"/><title type='text'>Views and its types in SQL Server 2008</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A view contains rows and columns, just like a real table. The fields in a view are fields from one or more real tables in the database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can add SQL functions, WHERE, and JOIN statements to a view and present the data as if the data were coming from one single table.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; line-height: 17.33333396911621px; margin-bottom: 10px; padding: 0px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SQL Server 2008 organizes user-defined views into three major&amp;nbsp;categories:&lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;background-color: white; line-height: 17.33333396911621px; margin: 0px; padding: 0px 0px 10px;&quot;&gt;




&lt;script type=&quot;text/javascript&quot;&gt;
//interstitial ad
clicksor_enable_inter = true; clicksor_maxad = -1;  
clicksor_hourcap = -1; clicksor_showcap = 2;
//connect widget
clicksor_adhere_opt = &#39;left:50%&#39;;
//default pop-under house ad url
clicksor_enable_pop = true; clicksor_frequencyCap = -1;
durl = &#39;&#39;;//default banner house ad url 
clicksor_default_url = &#39;&#39;;
clicksor_banner_border = &#39;#A0D000&#39;; clicksor_banner_ad_bg = &#39;#FFFFFF&#39;;
clicksor_banner_link_color = &#39;#000000&#39;; clicksor_banner_text_color = &#39;#666666&#39;;
clicksor_banner_image_banner = true; clicksor_banner_text_banner = true;
clicksor_layer_border_color = &#39;#A0D000&#39;;
clicksor_layer_ad_bg = &#39;#FFFFFF&#39;; clicksor_layer_ad_link_color = &#39;#000000&#39;;
clicksor_layer_ad_text_color = &#39;#666666&#39;; clicksor_text_link_bg = &#39;&#39;;
clicksor_text_link_color = &#39;&#39;; clicksor_enable_text_link = true;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;amp;pid=267187&amp;amp;adtype=&amp;amp;sid=432205&quot;&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href=&quot;http://www.yesadvertising.com&quot;&gt;affiliate marketing&lt;/a&gt;&lt;/noscript&gt;

&lt;li style=&quot;list-style-position: inside; margin: 0px; padding: 0px 0px 0px 20px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Standard Views:&lt;/strong&gt;&amp;nbsp;Most of the time, we create this kind of view where we use single or more that one tables, use JOINs and other clauses and pull the data out. The tables are saved on a single physical file, most of the time on primary data file – that is .mdf file. All tables don’t have any kind of partitions – I’ll discuss partitions in Partitions Views section below. So,&amp;nbsp;most of&amp;nbsp;views that we write&amp;nbsp;come under this category.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span id=&quot;more-488&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-position: inside; margin: 0px; padding: 0px 0px 0px 20px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Indexed Views:&lt;/strong&gt;&amp;nbsp;Usually views pull the data out from underlying tables and utilize indexes created on table columns. However,&amp;nbsp;an indexed&amp;nbsp;view allows us to create a unique clustered index on it – allowing us to physically keep a separate copy of sorted data based on which column we created a unique clusetered index. This&amp;nbsp;dramatically improves the view’s performance for some types of queries.&amp;nbsp;An indexed view works best for queries that are giving summary data. However, this type of view is not recommended in case&amp;nbsp;there is high frequencyof data insert, update or delete on underlying table(s).&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-position: inside; margin: 0px; padding: 0px 0px 0px 20px;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong style=&quot;font-family: Verdana, sans-serif; margin: 0px; padding: 0px;&quot;&gt;Partitioned Views:&lt;/strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This type of view joins horizontally partitioned data from a set of members table across one or more servers. We partition a table horizontally and keep data partitions&amp;nbsp;either on one server or on multiple servers (federated servers) in order to gain performance. We may sub-categorize this category into two:&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;ul style=&quot;margin: 0px; padding: 0px 0px 10px;&quot;&gt;
&lt;li style=&quot;list-style-position: inside; margin: 0px; padding: 0px 0px 0px 20px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Local Partitioned Views:&lt;/strong&gt;&amp;nbsp;This joins required tables on the same instance of SQL Server ie. same SQL Server engine.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-position: inside; margin: 0px; padding: 0px 0px 0px 20px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Distributed Partitioned Views:&lt;/strong&gt;&amp;nbsp;This joins required tables across servers i.e. multiple SQL Server engines.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 17.33333396911621px;&quot;&gt;&lt;b&gt;Standard Views:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana;&quot;&gt;In SQL Server a view represents a virtual table. You can say it is a subset of a table. Just like a real table, a view consists of rows with columns, and we can retrieve data from a view (sometimes even update data in a view). The fields in the view&#39;s virtual table are the fields of one or more real tables in the database.&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div align=&quot;justify&quot; style=&quot;background-color: white; outline: none 0px;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;letter-spacing: -1px; margin: 1.2em 0px 0.3em; padding: 0px 0px 0.1em; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Creating a view, by example&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The following is an example of a simple SQL Server view using the Student table. Note: You may have to update some of the rows to add data to see the effects of this view.&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;IF ( OBJECT_ID(&#39;dbo.vw_students1&#39;) IS NOT NULL ) 
   DROP VIEW dbo.vw_students1 
GO

CREATE VIEW dbo.vw_students1 
AS
  SELECT 
    lastname    , 
    firstname   , 
    (firstname + &#39; &#39; + lastname) as &quot;Fullname_fl&quot;,
    (lastname + &#39;, &#39; + firstname) as &quot;Fullname_lf&quot;,
    birth_dttm,  
    DATEDIFF(yy, birth_dttm, GETDATE()) - 
    CASE 
       WHEN MONTH(birth_dttm) &amp;gt; MONTH(GETDATE()) 
            OR 
            (MONTH(birth_dttm) = MONTH(GETDATE()) 
             AND DAY(birth_dttm) &amp;gt; DAY(GETDATE())
            ) 
    THEN 1 ELSE 0 
    END as &quot;Age&quot;  
    FROM   Students        
GO  &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In general, you should adopt some naming standard for your views. This standard is vw_&amp;lt;name of view&amp;gt;. The name should be somewhat reflective of the purpose of the view. You can clearly see that I did not do such a good job with this. Sometimes coming up with a short descriptive name for your view is easier said than done.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The syntax for creating a view is...&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace; margin: 0px; padding: 0px;&quot;&gt;CREATE OR REPLACE VIEW `&amp;lt;your_view_name&amp;gt;`&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace; margin: 0px; padding: 0px;&quot;&gt;AS&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;...followed by a normal SQL SELECT. This SELECT can include a WHERE clause or anything else for that matter that can be put into a SELECT statement. The scenarios are endless. It really depends on the purpose of the view.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As you can see in our view we are formatting the first and last name. This is a pretty common thing to do, By having a view that already does this we save having to write that function in every query where this is a requirement. You can also see that we have take the birth date column and calculated age.&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;letter-spacing: -1px; margin: 1.2em 0px 0.3em; padding: 0px 0px 0.1em; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Executing a View&lt;/span&gt;&lt;/h2&gt;
&lt;h3 style=&quot;letter-spacing: -1px; margin: 1.2em 0px 0.3em; padding: 0px 0px 0.1em; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Execute an SQL View&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 1.5em; padding: 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The example below shows all of the code from the view. You could also do a SELECT *, or further restrict the columns you want to see. You can also add additional row restriction to the view as we have done.&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;SELECT  TOP 100
        lastname     , 
        firstname    , 
        Fullname_fl  , 
        Fullname_lf  , 
        birth_dttm   , 
        Age         
FROM    dbo.vw_students1 (NOLOCK) 
WHERE Age is not null
GO  &lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Indexed View&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the surface, an indexed view is the same thing as a normal view, however the critical difference is that an indexed view actually allows you to create a clustered index on it, effectively working around the &quot;one clustered index per table&quot; limitation. The downside to this is that the indexed view is a full copy of the data from the underlying tables, so for space considerations you will need to take this into account when using them.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Let&#39;s look first at how to create a normal view, so that we have something to compare to as we create an indexed view&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;create&amp;nbsp;view&amp;nbsp;ContactsView&amp;nbsp;as&amp;nbsp;
(&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select&amp;nbsp;[Users].[FirstName],&amp;nbsp;[Users].[LastName],&amp;nbsp;[Contacts].*&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;from&amp;nbsp;[Users]&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;inner&amp;nbsp;join&amp;nbsp;[Contacts]&amp;nbsp;on&amp;nbsp;[Contacts].[UserID]&amp;nbsp;=&amp;nbsp;[Users].[UserId]&amp;nbsp;
);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What this will do is create a pretty flexible view that will only pull the first and last name of the user from the users table, and all of the columns from the Contacts table and automatically pick up any new columns that are added to the Contacts table, with no further modifications.&amp;nbsp; Indexed views require a more rigid definition of what they will return.&amp;nbsp; For this reason, we cannot use a wildcard (*) in the underlying query.&amp;nbsp; Each column must be individually called out; also,&amp;nbsp;each table named in the query must be in 2 part dot notation, referencing both the schema of the table and the table name itself, and the view must be declared with&amp;nbsp;schemabinding&amp;nbsp;enabled for it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Below is the modified query to create a view capable of being an indexed view:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;create&amp;nbsp;view&amp;nbsp;[dbo].[OrganizationContactsView]&amp;nbsp;with&amp;nbsp;schemabinding&amp;nbsp;as&amp;nbsp;
(&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select&amp;nbsp;[FirstName],&amp;nbsp;[LastName],&amp;nbsp;[Contacts].[UserID],[Contacts].[ContactDescription],&amp;nbsp;[Contacts].[IsPublic]&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;from&amp;nbsp;[dbo].[Contacts]&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;inner&amp;nbsp;join&amp;nbsp;[dbo].[Users]&amp;nbsp;on&amp;nbsp;[Contacts].[UserID]&amp;nbsp;=&amp;nbsp;[Users].[UserId]&amp;nbsp;
&amp;nbsp;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Now, we need to create the clustered index on it.&amp;nbsp; Clustered indexes on a view must be unique, otherwise you will not be able to create one; nonclustered indexes will work fine.&amp;nbsp; For the present example, a UserId will only be in the contacts table once per Organization, so we can make a unique clustered index spanning the OrgId and UserId columns, like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;create&amp;nbsp;unique&amp;nbsp;clustered&amp;nbsp;index&amp;nbsp;IX_OrganizationContactsView_OrgId&amp;nbsp;on[OrganizationContactsView](OrgId,UserId)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small; text-align: justify;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Partitioned views&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; text-align: justify;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; text-align: justify;&quot;&gt;Partitioned views are used to access data that has been horizontally split, or partitioned, across multiple tables. These tables can be in the same or different databases—or even spread across multiple servers. Partitioning of tables is done to spread the I/O and processing load of large tables across multiple disks or servers.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;/div&gt;
&lt;h5 style=&quot;text-align: justify;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;tables in&quot;&gt;&lt;/a&gt;You combine the tables in a partitioned view by using a UNION ALL&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the data&quot;&gt;&lt;/a&gt;&amp;nbsp;statement that causes the data from the separate tables to appear as if they were one table. These separate tables are referred to as&amp;nbsp;&lt;span class=&quot;docEmphasis&quot;&gt;member tables&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span class=&quot;docEmphasis&quot;&gt;base tables&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;a&quot;&gt;&lt;/a&gt;. The member tables in a SELECT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;must all&quot;&gt;&lt;/a&gt;&amp;nbsp;statement of the view must all be structured in the same way, and the view must adhere to the following restrictions:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;be included&quot;&gt;&lt;/a&gt;All the columns from the member tables should be included in the view definition.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;in the&quot;&gt;&lt;/a&gt;Columns with the same ordinal position in the SELECT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the same&quot;&gt;&lt;/a&gt;&amp;nbsp;list should have the same data type.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;be used&quot;&gt;&lt;/a&gt;The same column cannot be used multiple times in the SELECT list.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;must be&quot;&gt;&lt;/a&gt;A partitioning column that segments the data must be identified and needs to have the same ordinal position across all the member table SELECT statements.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;The partitioning&quot;&gt;&lt;/a&gt;The partitioning column cannot be a computed column, an identity, a default, or a time stamp.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;in the&quot;&gt;&lt;/a&gt;The data values in the partitioning column cannot overlap in the underlying tables.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;must be&quot;&gt;&lt;/a&gt;The partitioning column must be part of the primary key of the member table.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the partitioned&quot;&gt;&lt;/a&gt;The member tables in the partitioned view need a CHECK constraint on the partitioning column.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;only once&quot;&gt;&lt;/a&gt;A table can appear only once as part of the UNION ALL statement.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;computed columns&quot;&gt;&lt;/a&gt;The member tables cannot have indexes created on computed columns in the table.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;member table&quot;&gt;&lt;/a&gt;The number of columns in the member table primary key constraints should be the same.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;should have&quot;&gt;&lt;/a&gt;All member tables should have the same ANSI PADDING setting when created.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;for creating&quot;&gt;&lt;/a&gt;The list of restrictions for creating partitioned views is extensive, but the creation of a partitioned view is relatively straightforward and intuitive. Consider, for example, the Sales.SalesOrderHeader table in the Adventureworks2008&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the type&quot;&gt;&lt;/a&gt;database. This table is relatively small, but it is the type of table that could have a large number of rows and experience heavy utilization. To balance the workload against this table, you could use a partitioned view that utilizes base tables that each contain a separate year’s data.&amp;nbsp;&lt;a class=&quot;docLink&quot; href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot;&gt;Listing 1&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;shows the&quot;&gt;&lt;/a&gt;&amp;nbsp;shows the CREATE TABLE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the base&quot;&gt;&lt;/a&gt;&amp;nbsp;statements to create the base tables for each year. The yearly tables are intended to hold summarized daily numbers, and each contains only a subset of the columns in the Sales.SalesOrderHeader table.&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;h5 class=&quot;docExampleTitle&quot; id=&quot;title-ID0E45FK&quot; style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Listing 1. Creating the Base Tables for a Partitioned View&lt;/span&gt;&lt;/h5&gt;
&lt;div&gt;
&lt;pre class=&quot;preFixedHeight&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;CREATE TABLE Sales.Sales_2001
(
    OrderDay datetime NOT NULL
        CHECK (OrderDay BETWEEN &#39;20010101&#39; AND &#39;20011231&#39;),
    SubTotal money NOT NULL ,
    TaxAmt money not null,
    Freight money not null,
 CONSTRAINT PK_Sales_2001_OrderDay PRIMARY KEY CLUSTERED (OrderDay ASC)
)

CREATE TABLE Sales.Sales_2002
(
    OrderDay datetime NOT NULL,
        CHECK (OrderDay BETWEEN &#39;20020101&#39; AND &#39;20021231&#39;),
    SubTotal money NOT NULL ,
    TaxAmt money not null,
    Freight money not null,
 CONSTRAINT PK_Sales_2002_OrderDay PRIMARY KEY CLUSTERED (OrderDay ASC)
)

CREATE TABLE Sales.Sales_2003
(
    OrderDay datetime NOT NULL
        CHECK (OrderDay BETWEEN &#39;20030101&#39; AND &#39;20031231&#39;),
    SubTotal money NOT NULL ,
    TaxAmt money not null,
    Freight money not null,
 CONSTRAINT PK_Sales_2003_OrderDay PRIMARY KEY CLUSTERED (OrderDay ASC)
)

CREATE TABLE Sales.Sales_2004
(
    OrderDay datetime NOT NULL
        CHECK (OrderDay BETWEEN &#39;20040101&#39; AND &#39;20041231&#39;),
    SubTotal money NOT NULL ,
    TaxAmt money not null,
    Freight money not null,
 CONSTRAINT PK_Sales_2004_OrderDay PRIMARY KEY CLUSTERED (OrderDay ASC)
)&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: x-small; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;preFixedHeight&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Notice that each table has a primary key on OrderDay&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;that a&quot; style=&quot;font-size: small; white-space: normal;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small; white-space: normal;&quot;&gt;, the partitioning column. Also notice that a CHECK&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;each table&quot; style=&quot;font-size: small; white-space: normal;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small; white-space: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; white-space: normal;&quot;&gt;constraint is defined for each table; it ensures that only orders for the given year can be stored in the table.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h5 style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-size: 12px; font-weight: normal;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;is best&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;To demonstrate the power of a partitioned view, it is best to populate the base tables that will be used by the view.&lt;a class=&quot;docLink&quot; href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot;&gt;Listing 2&lt;/a&gt;&amp;nbsp;contains a series of INSERT statements&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;that&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;select from&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;the&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;Sales.SalesOrderHeader table and populate the base tables.&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;The SELECT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;day and&quot;&gt;&lt;/a&gt;&amp;nbsp;statements summarize several key columns by day and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;contain a WHERE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the result&quot;&gt;&lt;/a&gt;&amp;nbsp;clause that limits the result to orders for the respective years.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/h5&gt;
&lt;h5 class=&quot;docExampleTitle&quot; id=&quot;title-ID0EEAGK&quot; style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Listing 2. Populating the Base Tables for a Partitioned View&lt;/span&gt;&lt;/h5&gt;
&lt;pre class=&quot;preFixedHeight&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;INSERT Sales.Sales_2001
   SELECT CONVERT(VARCHAR(8),OrderDate,112),
      SUM(SubTotal), SUM(TaxAmt), SUM(Freight)
    FROM Sales.SalesOrderHeader
    WHERE OrderDate between &#39;20010101&#39; AND &#39;20011231&#39;
    GROUP BY CONVERT(VARCHAR(8),OrderDate,112)
INSERT Sales.Sales_2002
   SELECT CONVERT(VARCHAR(8),OrderDate,112),
      SUM(SubTotal), SUM(TaxAmt), SUM(Freight)
    FROM Sales.SalesOrderHeader
    WHERE OrderDate between &#39;20020102&#39; AND &#39;20021231&#39;
    GROUP BY CONVERT(VARCHAR(8),OrderDate,112)

INSERT Sales.Sales_2003
   SELECT CONVERT(VARCHAR(8),OrderDate,112),
      SUM(SubTotal), SUM(TaxAmt), SUM(Freight)
    FROM Sales.SalesOrderHeader
    WHERE OrderDate between &#39;20030101&#39; AND &#39;20031231&#39;
    GROUP BY CONVERT(VARCHAR(8),OrderDate,112)

INSERT Sales.Sales_2004
   SELECT CONVERT(VARCHAR(8),OrderDate,112),
      SUM(SubTotal), SUM(TaxAmt), SUM(Freight)
    FROM Sales.SalesOrderHeader
    WHERE OrderDate between &#39;20040102&#39; AND &#39;20041231&#39;
    GROUP BY CONVERT(VARCHAR(8),OrderDate,112)&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre class=&quot;codesnippet&quot; style=&quot;padding: 0px; text-align: start;&quot;&gt;&lt;h5 style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
Now that you have the populated base table, you can create a partitioned view and ensure that the view is selecting only from the base tables that it needs.&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;in this&quot;&gt;&lt;/a&gt;Two types of partitioned views are discussed in this article: local and distributed. A local partitioned view utilizes base tables found on the same server. A distributed partitioned view contains at least one base table that resides on a different (remote) server. The focus in the section is on local partitioned views. The T-SQL for creating a local partitioned view named Sales.vw_Sales_Daily&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;is shown&quot;&gt;&lt;/a&gt;&amp;nbsp;is shown in&amp;nbsp;&lt;a class=&quot;docLink&quot; href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot;&gt;Listing 3&lt;/a&gt;.&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;h5 class=&quot;docExampleTitle&quot; id=&quot;title-ID0E6AGK&quot; style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Listing 3. Creating a Local Partitioned View&lt;/span&gt;&lt;/h5&gt;
&lt;pre style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;Create View Sales.vw_Sales_Daily
 as
      SELECT * FROM Sales.Sales_2001
       UNION ALL
      SELECT * FROM Sales.Sales_2002
       UNION ALL
      SELECT * FROM Sales.Sales_2003
       UNION ALL
      SELECT * FROM Sales.Sales_2004&lt;/span&gt;&lt;/pre&gt;
&lt;h5 style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;div class=&quot;docText&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
The best way to validate that a partitioned view is working properly is to run a conditional SELECT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;and display&quot;&gt;&lt;/a&gt;&amp;nbsp;against the view and display the execution plan. If the partitioned view is functioning properly, it should be accessing only the base tables it needs to satisfy the SELECT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;all the&quot;&gt;&lt;/a&gt;&amp;nbsp;and should not access all the tables in the view unless it needs to. The following example shows a sample SELECT against the new partitioned view:&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;pre&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;SELECT * FROM Sales.vw_Sales_Daily
 WHERE OrderDay &amp;gt; &#39;20040701&#39;
   and SubTotal &amp;gt; 2000&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;div class=&quot;docText&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;statement and&quot;&gt;&lt;/a&gt;If you execute this statement and review the actual execution plan, you see that an index seek is performed against the Sales.Sales_2004 table. This is the correct result, given that the SELECT statement is targeting order data from 2004.&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;h4 class=&quot;docSection2Title&quot; id=&quot;title-ID0E3DGK&quot; style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Modifying Data Through a Partitioned View&lt;/span&gt;&lt;/h4&gt;
&lt;h5 style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
You can modify data via a partitioned view if the SQL statement performing the modification meets certain conditions, as described here:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;the partitioned&quot;&gt;&lt;/a&gt;All columns in the partitioned view must be specified in the INSERT statement. Columns that include a DEFAULT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;are also&quot;&gt;&lt;/a&gt;&amp;nbsp;constraint or allow nulls are also subject to this requirement.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
The DEFAULT&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;partitioned views&quot;&gt;&lt;/a&gt;&amp;nbsp;keyword cannot be used on inserts to partitioned views or on updates to partitioned views.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
UPDATE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;statements cannot&quot;&gt;&lt;/a&gt;&amp;nbsp;statements cannot modify PRIMARY KEY&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;member tables&quot;&gt;&lt;/a&gt;&amp;nbsp;columns if the member tables have text, ntext, or image columns.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;to a&quot;&gt;&lt;/a&gt;Inserts and updates to a partitioned view are not allowed if the view contains a time stamp.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;partitioned view&quot;&gt;&lt;/a&gt;Identity columns in a partitioned view cannot be modified by an INSERT or UPDATE statement.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
INSERT, UPDATE, and DELETE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;against a&quot;&gt;&lt;/a&gt;&amp;nbsp;statements are not allowed against a partitioned view if there is a self-join with the same view or with any of the member tables in the statement.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;ch27note08&quot;&gt;&lt;/a&gt;&lt;div class=&quot;docNote&quot;&gt;
&lt;div class=&quot;docNoteTitle&quot;&gt;
Note&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;in the&quot;&gt;&lt;/a&gt;Data can be modified through partitioned views only in the Enterprise and Developer Editions of SQL Server 2008.&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;iddle2746&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;iddle2796&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;iddle4800&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;iddle7615&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;in this&quot;&gt;&lt;/a&gt;In addition to the conditions shown in this list, you must also satisfy any restrictions that apply to the member tables. Check constraints, foreign key constraints, and any other table-level restrictions must be accounted for in the modification statement. The user executing the modification against the partitioned view must have the appropriate INSERT, UPDATE, or DELETE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;member tables&quot;&gt;&lt;/a&gt;&amp;nbsp;permissions on the member tables for the update to succeed.&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;h4 class=&quot;docSection2Title&quot; id=&quot;title-ID0E3HGK&quot; style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Distributed Partitioned Views&lt;/span&gt;&lt;/h4&gt;
&lt;h5 style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
Microsoft provides distributed partitioned views (DPVs) as a primary means to scale out a database server. Scalability allows an application or a database to utilize additional resources, which allows it to perform more work. There are two kinds of scalability: scaleup and scaleout. A scaleup solution focuses on a single server scaled to provide more processing power than its predecessor. An example of scaleup would be migrating from a server with a single dual-core processor to a machine with 4-quad-core processor. Scaleout solutions include the addition of servers to augment the overall processing power.&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;they utilize&quot;&gt;&lt;/a&gt;DPVs are similar to local partitioned views, but they utilize one or more tables located on a remote server. The placement of partitioned data on remote servers allows the processing power of more than one server to be utilized. The partitioning is intended to be transparent to the application and allow for additional partitions and servers as the application’s needs scale.&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;The following&quot;&gt;&lt;/a&gt;The following list outlines the basic requirements for creating a DPV:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;definition is&quot;&gt;&lt;/a&gt;A linked server definition is added to each member server that will contain the partitioned data. The linked server contains the connection information required to run distributed queries on another member server.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
The lazy schema validation&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;to&quot;&gt;&lt;/a&gt;&amp;nbsp;option is set to true&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;member servers&quot;&gt;&lt;/a&gt;&amp;nbsp;on each of the member servers, using sp_serveroption&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;for performance&quot;&gt;&lt;/a&gt;. This option is set for performance reasons and allows the query processor to skip schema checking of remote tables if the query can be satisfied on a single member server.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;docList&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;DPV references&quot;&gt;&lt;/a&gt;A DPV is created on each member server. This DPV references the local tables in addition to the tables found on the other member servers.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a class=&quot;docLink&quot; href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot;&gt;Listing 3&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;used to&quot;&gt;&lt;/a&gt;&amp;nbsp;shows SQL commands that can be used to satisfy the requirements in the preceding list. The DPV created in the last portion of the script is similar to the local partitioned view created in the previous section. The key difference in this DPV example is the inclusion of a distributed query that retrieves records for Sales.Sales_2002&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;The remote&quot;&gt;&lt;/a&gt;from a remote server. The remote server in this example is named DbSvrXP.&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;h5 class=&quot;docExampleTitle&quot; id=&quot;title-ID0EMJGK&quot; style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Listing 3. Creating a Distributed Partitioned View&lt;/span&gt;&lt;/h5&gt;
&lt;pre style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Courier New, Courier, monospace;&quot;&gt;Exec sp_addlinkedserver @server=&#39;dbsvrxp&#39;,
      @srvproduct=&#39;&#39;,
      @provider=&#39;MSDASQL&#39;,
      @provstr=&#39;DRIVER={SQL Server};
SERVER=dbsvrxp;UID=linklogin;PWD=pw;Initial Catalog=Adventureworks2008&#39;
—Set the server option for improved DPV performance
exec sp_serveroption dbsvrxp, &#39;lazy schema validation&#39;, true

Create View Sales.vw_Sales_Daily
 as
      SELECT * FROM Sales.Sales_2001
       UNION ALL
      SELECT * FROM dbsvrxp.Adventureworks2008.Sales.Sales_2002
       UNION ALL
      SELECT * FROM Sales.Sales_2003
       UNION ALL
      SELECT * FROM Sales.Sales_2004&lt;/span&gt;&lt;/pre&gt;
&lt;h5 style=&quot;text-align: justify; white-space: normal;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
The DPV created in&amp;nbsp;&lt;a class=&quot;docLink&quot; href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot;&gt;Listing 3&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;The example&quot;&gt;&lt;/a&gt;&amp;nbsp;contains only one remote table. The example could be further expanded to have each table in the UNION&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;mind that&quot;&gt;&lt;/a&gt;&amp;nbsp;clause on a different remote server. Keep in mind that the DPV CREATE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;statement needs&quot;&gt;&lt;/a&gt;&amp;nbsp;statement needs to be adjusted when run on the remote server(s). The tables that are local on one server are now remote on the other server, and those that are remote can now be local.&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;are properly&quot;&gt;&lt;/a&gt;If the DPVs are properly defined, SQL Server 2008 attempts to optimize their performance by minimizing the amount of data transferred between member servers. The query processor retrieves the CHECK&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;each member&quot;&gt;&lt;/a&gt;&amp;nbsp;constraint definitions from each member table. This allows the query processor to map the specified search arguments to the appropriate table(s). The query execution plan then accesses only the necessary tables and retrieves only the remote rows needed to complete the SQL statement.&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;through a&quot;&gt;&lt;/a&gt;Data can be modified through a DPV as well. Updatable DPVs, which were introduced in SQL Server 2000, are still available in SQL Server 2008. Data modifications are performed against a view, allowing true transparency. The view is accessed as if it were a base table, and the user or application is unaware of the actual location of the data. If it is configured properly, SQL Server determines via the WHERE&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;update query&quot;&gt;&lt;/a&gt;&amp;nbsp;clause specified in the update query which partition defined in the view must be updated rather than updating all tables in the join.&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;ch27note09&quot;&gt;&lt;/a&gt;&lt;div class=&quot;docNote&quot;&gt;
&lt;div class=&quot;docNoteTitle&quot;&gt;
Note&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;only in&quot;&gt;&lt;/a&gt;Data can be modified through distributed partitioned views only in the Enterprise and Developer Editions of SQL Server 2008&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/7225665880127979360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/views-and-its-types-in-sql-server-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7225665880127979360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7225665880127979360'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/views-and-its-types-in-sql-server-2008.html' title='Views and its types in SQL Server 2008'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-7747404419255871238</id><published>2012-08-09T03:10:00.001-07:00</published><updated>2012-08-18T19:38:36.968-07:00</updated><title type='text'>Partitioning in SQL Server 2008</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Partitioning is a feature designed to improve the performance of queries made against a very large table. It works by having more than one subset of data for the same table. All the rows are not directly stored in the table, but they are distributed in different partitions of this table. When you query the table looking for data in a single partition, or just a few, then due to the presence of these different subsets, you should receive a quicker response from the server.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There has been a long history, in SQL Server, as this feature has evolved. It first started with partitioned views. A developer had to create different tables having same schema and use these tables through a UNION operation in a view. Now after 2005, your tables and indexes can also be partitioned. This feature is further improved upon in SQL Server 2008.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SQL Server only supports one type of partitioning, which is Range Partitions. More specifically I should say &#39;Horizontal Range Partitions&#39;. This the partitioning strategy in which data is partitioned based on the range that the value of a particular field falls in. The other partitioning types are reference, hash, list etc. partitions, which are not supported currently in SQL Server.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Simply saying, when we partition a table, we define on which portion of a table a particular row will be stored. Now you must be wondering what would be the criterion that a specific row would be saved in a particular partition. There are actually rules defined for ranges of data to fill a particular partition. These ranges are based on a particular column; this is called the Partition Key. It should be noted that these ranges are non-overlapping. To achieve this, a &lt;em&gt;Partition Function&lt;/em&gt; and a &lt;em&gt;Partition Scheme&lt;/em&gt; is defined.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There might be many questions in your mind. Let&#39;s go step by step. We start with the terminologies used in Partitioning.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;


&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;PARTITION FUNCTIONS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Partition Function is the function that defines the number of partitions. This is the first step in the implementation of partitioning for your database object. One partition function can be used to partition a number of objects. The type of partition is also specified in the partition function, which currently can only be &#39;RANGE&#39;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Based on the fact about boundary values for partitions that which partition they should belong to, we can divide partition function into two types:&lt;/span&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Left:&lt;/strong&gt; The first value is the maximum value of the first partition.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Right:&lt;/strong&gt; The first value is the minimum value of the second partition.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The syntax for the creation of a partition function is as follows:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CREATE PARTITION FUNCTION partition_function_name ( input_parameter_type )&lt;br /&gt;AS RANGE [ LEFT | RIGHT ]&lt;br /&gt;FOR VALUES ( [ boundary_value [ ,...n ] ] ) [ ; ]&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;e.g.&lt;/strong&gt; &lt;br /&gt;Generally the input_parameter_type is numeric. SQL Server supports only certain input_parameter_types. The list of partition functions defined can be obtained by using the SYS.PARTITION_FUNCTIONS catalog view:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SELECT * FROM sys.partition_functions&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The first thing that you would want to do is to test whether your partition function is implemented as per your desire or not. Specially, we can check if it is working on boundary values. You can check it with the special function provided: $Partition. We test the partition function MyPartitionFunc2 created by us earlier. In this SQL, we are verifying to which partition, (Partition Key = 100), would belong to.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;SELECT $PARTITION.MYPARTITIONFUNC2(100) [PARTITION NUMBER]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;To find out the boundary values defined by partition functions, partition_range_values catalog view is available.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;SELECT * FROM SYS.PARTITION_RANGE_VALUES
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Though SQL Server does not directly support List Partitioning, you can create list partitions by tricking the partition function to specify the values with the LEFT clause. After that, put a CHECK constraint on the table, so that no other values are allowed to be inserted in the table specifying Partition Key column any value other than the &#39;list&#39; of values.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;PARTITION SCHEME&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;This is the physical storage scheme that will be followed by the partition. To define scheme, different file groups are specified, which would be occupied by each partition. It must be remembered that all partitions may also be defined with only one file group.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;After the definition of a partition function, a partition scheme is defined. The partition scheme just like specifying an alignment for data i.e. it specifies the specific file groups used during partitioning an object. Though it is possible to create all partitions on PRIMARY but it would be best if these different partitions are stored in a separate file groups. This gives some performance improvement even in the case of single core computers. It would be best if these file groups are on different discs on a multi core processing machine.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The syntax for creating partition schema is as follows:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;CREATE PARTITION SCHEME partition_scheme_name&lt;br /&gt;AS PARTITION partition_function_name&lt;br /&gt;[ ALL ] TO ( { file_group_name | [ PRIMARY ] } [ ,...n ] )&lt;br /&gt;[ ; ]
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The list of partition schemes can be obtained by using the SYS.PARTITION_SCHEMES.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;SELECT * FROM SYS.PARTITION_SCHEMES&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;To get the list of all data spaces SYS.DATASPACES catalog view may be used:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;SELECT * FROM SYS.DATA_SPACES&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;PARTITIONED TABLE&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;After creation of a partition scheme, a table may be defined to follow that scheme. In this case the table is called PARTITIONED. A partitioned table may have a partitioned index. Partition aligned index views may also be created for this table. These index and view may be based on different partition strategy (partition function and partition scheme).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;There may be question in your mind if it is possible to partition your table using multiple columns. The answer may be YES or NO. Why? No, because there is no such direct support for this in SQL Server. Yes, because you can still do that by using persisted computed column based on any number of columns you want. It must be remembered that this is still a single dimension partition.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;Now you might be wondering whether your existing tables could be partitioned or not. For partitioning your existing table just drop the clustered index on your table and recreate it on the required partition scheme.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CREATE TABLE&lt;br /&gt;[ database_name . [ schema_name ] . | schema_name . ] table_name&lt;br /&gt;( { &amp;lt;column_definition&amp;gt; | &amp;lt;computed_column_definition&amp;gt; }&lt;br /&gt;[ &amp;lt;table_constraint&amp;gt; ] [ ,...n ] )&lt;br /&gt;[ ON { partition_scheme_name ( partition_column_name ) | filegroup&lt;br /&gt;| &quot;default&quot; } ]&lt;br /&gt;[ { TEXTIMAGE_ON { filegroup | &quot;default&quot; } ] [ ; ]
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;SQL Server 2008 has introduced an exciting new feature, &#39;FileStream&#39;. Remember if you have any column specified which is based on &lt;em&gt;filestream&lt;/em&gt; data, you have to follow some additional steps to get things to work with partitioning.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;PARTITIONED INDEX&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span class=&quot;inlineCode&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
We can also partition our indexes, and this should contribute to improved performance. If indexes are partitioned they serve as the local indexes for each partition. We can also go with Global indexes on a partitioned table without caring about the different partitions of the table.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
It must be remembered that indexes can be partitioned using a different partition key than the table. The index can also have different numbers of partitions than the table. We cannot, however, partition the clustered index differently from the table. To partition an index, ON clause is used, specifying the partition scheme along with the column when creating the index:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CREATE NONCLUSTERED INDEX MyNonClusteredIndex ON dbo.MyTable(MyID1)&lt;br /&gt;ON MyPartitionScheme(MyID2);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can see that Mytable is indexed on the MyID1 column, but the index is partitioned on the MyID2 column. If your table and index use the same Partition function then they are called Aligned. If they go further and also use the same partition scheme as well, then they are called Storage Aligned (note this in the figure below). If you use the same partition function for partitioning index as used by the table, then generally performance is improved.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy_nq1LyyQTs-GqsktaubGxRdOE3Uc52NLnZMrijmc9l9L_AtxESnN2IitSnoWe41wzURLfTUlKo0JLjAhwCcH46YGo1BTTj2QBOwXWZVGFl_6jifra398caBjzRajbn-05ULYoe1pEEQ/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy_nq1LyyQTs-GqsktaubGxRdOE3Uc52NLnZMrijmc9l9L_AtxESnN2IitSnoWe41wzURLfTUlKo0JLjAhwCcH46YGo1BTTj2QBOwXWZVGFl_6jifra398caBjzRajbn-05ULYoe1pEEQ/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;PARTITION ALIGNED INDEX VIEWS&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Partition aligned index views allow to efficiently create and manage summary aggregates in relational data. The query results are materialized immediately and persisted in physical storage in the database. This is an extension of Indexed views which existed in SQL Server 2005. Earlier, it was difficult to manage index views on partitioned table. This is because switching in and out the partition was not possible as the data was not distributed in a partitioned way in the indexed view. Indexed views were required to be dropped before this operation. In SQL Server 2008, this became possible with the introduction of Partition Aligned Index Views. In this way Indexed views have now evolved to become &#39;Partition Aware&#39;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;It is said that these types of index views increase the speed and efficiency of queries on the partitioned data. The following conditions should be true if an index view has to be partition aligned with the table on which this view is defined.&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The partition functions of the indexes of the indexed view and table must define the same number of partitions, their boundary values and the partition must be based on the same column.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The projection list of the view definition includes the partitioning column (as opposed to an expression that includes the partitioning column) of the partitioned table.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Where the view definition performs a grouping, the partitioning column is one of the grouping columns included in the view definition.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Where the view references several tables (using joins, sub queries, functions, and so on), the indexed view is partition-aligned with only one of the partitioned tables.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;These views can be local or distributed. The local partitioned index view is the one in which all partitions lie on the same SQL Server instance. For a distributed one, different partitions of tables, queried in single view, reside on different SQL Server instances across the network. The distributed partitioned views are specially used to support federation of SQL Server instances.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;strong&gt;CREATE A PRACTICE DATABASE&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Before looking at an example implementation of partitioning, let us create a new database to test this feature. Let us create a database with two file groups FG1 and FG2. Make sure that you create PartitionPractice folder in C directory before running the following query:&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;USE master&lt;br /&gt;GO&lt;br /&gt;CREATE DATABASE MyPartitionPracticeDB&lt;br /&gt;ON PRIMARY&lt;br /&gt;( NAME = db_dat,&lt;br /&gt;FILENAME = &#39;c:\PartitionPractice\db.mdf&#39;,&lt;br /&gt;SIZE = 4MB),&lt;br /&gt;FILEGROUP FG1&lt;br /&gt;( NAME = FG1_dat,&lt;br /&gt;FILENAME = &#39;c:\PartitionPractice\FG1.ndf&#39;,&lt;br /&gt;SIZE = 2MB),&lt;br /&gt;FILEGROUP FG2&lt;br /&gt;( NAME = FG2_dat,&lt;br /&gt;FILENAME = &#39;c:\PartitionPractice\FG2.ndf&#39;,&lt;br /&gt;SIZE = 2MB)&lt;br /&gt;LOG ON&lt;br /&gt;( NAME = db_log,&lt;br /&gt;FILENAME = &#39;c:\PartitionPractice\log.ndf&#39;,&lt;br /&gt;SIZE = 2MB,&lt;br /&gt;FILEGROWTH = 10% );&lt;br /&gt;GO&lt;br /&gt;USE MyPartitionPracticeDB&lt;br /&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;1. STEP # 01 (Create partition function)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CREATE PARTITION FUNCTION partfunc (int) AS&lt;br /&gt;RANGE LEFT FOR VALUES (1000, 2000, 3000, 4000, 5000);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;2. STEP # 02 (Create partition scheme)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CREATE PARTITION SCHEME MyPartitionScheme AS&lt;br /&gt;PARTITION MyPartfunc TO&lt;br /&gt;([FG1], [FG2])&lt;br /&gt;GO
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;3. STEP # 03 (Create table or index based on the partition scheme)&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The important clause related to partitioning is ON clause in CREATE TABLE statement. We create our table MyPartitionedTable as follows:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;CREATE TABLE MyPartionedTable&lt;br /&gt;(&lt;br /&gt; ID int PRIMARY KEY,&lt;br /&gt; Name VARCHAR(50)&lt;br /&gt;)&lt;br /&gt;ON MyPartitionScheme(ID)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;GUI SUPPORT FOR PARTITIONING&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Great GUI support is provided in SQL Server 2008 for partitioning. If you see the properties of a table, you can easily find partition related properties under the Storage tab.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFSlcwSd8lDqoQx0iQOry8AsZr9i8nKqfkg7sjymg2LEd_KOF75eL0PQuhaP1mzVgUlkcH7D27BL-wAgH_YQtqzDtA4fGnA1Oz8R_Ep33L0zt-jEEa4hKnO1vg8MKS58Clq7__XwOZUQw/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;254&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFSlcwSd8lDqoQx0iQOry8AsZr9i8nKqfkg7sjymg2LEd_KOF75eL0PQuhaP1mzVgUlkcH7D27BL-wAgH_YQtqzDtA4fGnA1Oz8R_Ep33L0zt-jEEa4hKnO1vg8MKS58Clq7__XwOZUQw/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;There is no support of partitioning at the time of table creation, but later you can use the wizard for partitioning. There is a new partitioning wizard introduced in SQL Server 2008 Management Studio.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;CREATE PARTITIONS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;After the creation of a non-partitioned table, it can then be partitioned. To ensure the ease of partitioning, GUI support is available in SQL Server Management Studio. Not only can you create partitions in a non-partitioned table but you can also manage partitions in an already partitioned table.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Just right click a non-partitioned table and look at the following pop-up menu i.e. the Create Partition option under Storage menu:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhut4vAmpt96xlHSEhseNhvtgsDDvOWeIwEs4k-HLe2DY7OjW4ZdvQ1C76AzOwWWLXjN8f-3zqb9J63wH7dg7zWU5TLf5-WjBT_M9lMIYBvP7kp04z6OIrRYPpf-GSPhvtxRvJXFA_RvYg/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhut4vAmpt96xlHSEhseNhvtgsDDvOWeIwEs4k-HLe2DY7OjW4ZdvQ1C76AzOwWWLXjN8f-3zqb9J63wH7dg7zWU5TLf5-WjBT_M9lMIYBvP7kp04z6OIrRYPpf-GSPhvtxRvJXFA_RvYg/s320/3.png&quot; width=&quot;296&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;When you select this option, an easy to use wizard is started to allow you to create partitions. Remember, you can also use already existing partition functions and scheme to partition a table. You can also create new ones and the wizard allows you to enter the details for the partition function, it allows the LEFT or RIGHT options, and for entering the details of the partition scheme. It also asks for the details of file groups for new partitions.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9KggOstytxWbT5ZAnetZ0nzoKPqBGZObx14zN6K-aIqmpi9A6lDzR0Gnlb1lqPyJ1PJ0zrVAY5AJ0djCg864RfZmqvz_NDLGtnD7nh4DMiQG26sumU0fZuh3g0DYoN2ESPcvo59Whv6s/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9KggOstytxWbT5ZAnetZ0nzoKPqBGZObx14zN6K-aIqmpi9A6lDzR0Gnlb1lqPyJ1PJ0zrVAY5AJ0djCg864RfZmqvz_NDLGtnD7nh4DMiQG26sumU0fZuh3g0DYoN2ESPcvo59Whv6s/s320/4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;This wizard is very easy to use and allows the developer to generate partition functions, partition schemes and other options if none of the already existing ones fits the user&#39;s needs. There are also some third party solutions available to manage partitioning of your objects outside SQL Server Management Studio.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;ADDITIONAL OPERATIONS WITH PARTITIONS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;SQL Server also supports other operations with partitions. These operations help in managing a partitioned object. They are as follows:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;1. Split&lt;br /&gt;2. Merge&lt;br /&gt;3. Switch&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Remember that these operations are meta data operations and do not involve any movement of data.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;ADDING A NEW PARTITION&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;This operation is supported to accommodate the continuous changes when a new Partition needs to be added if the already existing partitions are very large. This is technically called a Partition Split. ALTER TABLE statements support partition split with the required options. To split a partition, the ALTER PARTITION FUNCTION statement is used.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
ALTER PARTITION FUNCTION MyPartitionFunction()&lt;br /&gt;
SPLIT RANGE (5000)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;But before splitting, a new file group must be created and added to the partition scheme using the partition function being modified, otherwise, this statement would cause an error while executing.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;REMOVING AN EXISTING PARTITION&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The Merge operation is used to remove an existing partition. The syntax of MERGE statement is nearly the same as the SPLIT statement. This statement would remove the partition created in SPLIT command shown before this.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
ALTER PARTITION FUNCTION MyPartitionFunction ()&lt;br /&gt;
MERGE RANGE (5000)&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;SWITCHING A PARTITION&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;This operation is used to switch a partition in or out of a partitioned table. It must be remembered that for switching in, the already existing partition must be empty within the destination table. In the following example, we are switching in a table MyNewPartition as 4th partition to MyPartitionedTable.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
ALTER TABLE MyNewPartTable switch TO MyPartitionedTable PARTITION &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;In the following example we are switching partition 3 out to a table MyPartTable:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
ALTER TABLE MyPartitionedTable switch PARTITION 4 TO MyNewPartTable&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;We partitioned our table because of large amount of data. In order to speed up data retrieval, we have incorporated several indexes on our table. This would certainly help in satisfying the query requirements of users, but it adds additional time while updating or adding records to the table given the large amount of data in the table. So it is better that we insert our records in an empty table, which is exactly same as the partitioned table. Insert new records in that table and then switch that partition into the partitioned table. We discuss this further as we will be discussing the Sliding Window Technique.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The requirement for the table when switching in and out of a partition means that both of them must also have same clustered and non-clustered indexes, and additionally, the same constraints.&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;PARTITIONING AND PARALLEL EXECUTION:&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;If you have multiple processing cores on your server then partitioning your large tables could also result in more optimized parallel execution plans by the database engine. It must be remembered that in SQL Server 2005, a single thread was created per partition (at max). So if there are less number of partitions then the number of processors, all the cores were not optimally utilized and some processors used to be sitting idle. With SQL Server 2008, this restriction has been removed. Now all processors can be used to satisfy the query requirement.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;When SQL Server uses parallel execution plan for partition tables, you can see Parallelism operator in the execution plan of the query. In actual there are multiple threads working on different partitions of the table. Each partition is processed by a single thread. We can control parallel plan of our queries by using MAXDOP hint as part of query or plan guide. First we see how we could control the degree of parallelism using query hints:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
SELECT * FROM MyPartitionedTable&lt;br /&gt;
ORDER BY OrderDate DESC&lt;br /&gt;
OPTION (MAXDOP 4)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;The plan can also be created to support parallelism:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
EXEC sp_create_plan_guide &lt;br /&gt;
@name = N&#39;Guide1&#39;, &lt;br /&gt;
@stmt = N&#39;SELECT * FROM MyPartitionedTable&lt;br /&gt;
ORDER BY OrderDate DESC&#39;, &lt;br /&gt;
@type = N&#39;SQL&#39;,&lt;br /&gt;
@module_or_batch = NULL, &lt;br /&gt;
@params = NULL, &lt;br /&gt;
@hints = N&#39;OPTION (MAXDOP 4)&#39;;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Remember if you are creating a custom plan guide for your query then you must not have specified (Maximum Degree Of Parallelism) MAXDOP = 1 as an option. Additionally the configuration option of maximum degree of parallelism for the server should be appropriately set.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
sp_configure &#39;show advanced options&#39;, 1;&lt;br /&gt;
GO&lt;br /&gt;
RECONFIGURE WITH OVERRIDE;&lt;br /&gt;
GO&lt;br /&gt;
sp_configure &#39;max degree of parallelism&#39;, 0;&lt;br /&gt;
GO&lt;br /&gt;
RECONFIGURE WITH OVERRIDE;&lt;br /&gt;
GO
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;You can also set the configuration settings of the instance from the Properties window of the instance selected from the object explorer in the SQL Server Management Studio.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1dZEEh7TMPREEW7IfAucRjEGvGGphvU57ECIdHQauf22ltucBxW2k1iNhFLUx27U1e8RIj5pHSchWFH1J_h1br4iRukiIqeiUkUFAmAc4d-6pAcBCytwQ8gNdlLWkDvWQDypK6VEgojs/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1dZEEh7TMPREEW7IfAucRjEGvGGphvU57ECIdHQauf22ltucBxW2k1iNhFLUx27U1e8RIj5pHSchWFH1J_h1br4iRukiIqeiUkUFAmAc4d-6pAcBCytwQ8gNdlLWkDvWQDypK6VEgojs/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;MULTITHREADED PARTITION ACCESS&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Threading support for partitions has also been improved in SQL Server 2008. Earlier in 2005 one thread was assigned to each partition. So if there are e.g. 40 threads available and table has only 2 partitions then only 2 threads may be utilized for accessing these partitions&#39; data. In 2008, all the partitions are accessed by all the available threads. These threads access table partitions in a round robin fashion.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;You need to make sure that the &#39;max worker thread&#39; configuration is properly set for your SQL Server instance.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
SELECT * FROM SYS.CONFIGURATIONS&lt;br /&gt;
WHERE NAME = &#39;max worker threads&#39;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;This feature is also important in the case of non-partitioned table. This is because back in 2005 if we had large amounts of data in a non-partitioned table then only one thread was available to it. Now in 2008 all the available thread could utilize it which results in boosting the performance of data access.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Many operations can be done in parallel due to partitioning like loading data, backup and recovery and query processing.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;SLIDING WINDOW TECHNIQUE&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
SQL Server cannot have an unlimited number of partitions. The limitation is 1000 partitions in 2005. Based on this limitation we cannot switch in partitions forever. So, how to resolve this? The Sliding Window Technique is the answer.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
According to this technique, a table always has some specified number of partitions. As the new partition comes, the oldest partition is switched out of the table and archived. This process can goes on forever. Additionally, this should be very fast to do since it is a metadata operation.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This technique could give a drastic boost in performance based on the fact that so long as data is being loaded into the source staging table, your partitioned table is not locked at all. You can even improve that using bulk inserts. After it is loaded the switching in process is basically a metadata operation.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This process is so regular that you can automate this using dynamic SQL. The tasks to be followed are as follows:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Managing staging tables for switching in and out the partitions.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Switching new partition in and old partition out of the table.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Archive staging table in which data is archived and remove both staging tables.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://1.gvt0.com/vi/_D4Eu-GDboU/0.jpg&quot; height=&quot;266&quot; width=&quot;320&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/_D4Eu-GDboU&amp;fs=1&amp;source=uds&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/_D4Eu-GDboU&amp;fs=1&amp;source=uds&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/7747404419255871238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/partitioning-in-sql-server-2008.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7747404419255871238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7747404419255871238'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/partitioning-in-sql-server-2008.html' title='Partitioning in SQL Server 2008'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy_nq1LyyQTs-GqsktaubGxRdOE3Uc52NLnZMrijmc9l9L_AtxESnN2IitSnoWe41wzURLfTUlKo0JLjAhwCcH46YGo1BTTj2QBOwXWZVGFl_6jifra398caBjzRajbn-05ULYoe1pEEQ/s72-c/1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-2706034341681793849</id><published>2012-08-09T01:55:00.000-07:00</published><updated>2012-08-18T19:38:58.862-07:00</updated><title type='text'>Partitioning a SQL Server Database Table - Basics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Partitioning a SQL Server database table is a three-step process:&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create the partition function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create the partition scheme&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Partition the table&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The remainder of this article explores each of those steps in further detail.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Step 1: Creating a Partition Function&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The partition function defines [u]how[/u] you want SQL Server to partition the data.  At this point, we’re not concerned with any particular table, we’re just generically defining a technique for splitting data.&lt;br /&gt;&lt;br /&gt;We define the partitions by specifying the boundaries of each partition.  For example, suppose we have a Customers table that contains information on all of our customers, identified by a unique customer number, ranging from 1 to 1,000,000.  We might decide to partition that table into four equally spaced partitions, using the following partition function (I’ll call it customer_partfunc):&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;pre&gt;&lt;code&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;em&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt; CREATE PARTITION FUNCTION customer_partfunc (int)
 AS RANGE RIGHT
 FOR VALUES (250000, 500000, 750000)&lt;/span&gt;
&lt;/em&gt;&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;These boundaries define four partitions.  The first contains all values less than 250,000.  The second contains values between 250,000 and 499,999.  The third contains values between 500,000 and 749,999.  All values greater than or equal to 750,000 go in the fourth partition.&lt;br /&gt;&lt;br /&gt; Notice that I used the &quot;RANGE RIGHT&quot; clause in this example.  This indicates that the boundary value itself should go in the partition on the right side.  Alternatively, if I had used &quot;RANGE LEFT&quot;, the first partition would have included all values less than [u]or equal to[/u] 250,000; the second partition would have included values between 250,001 and 500,000, and so on.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Step 2: Creating a Partition Scheme&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once you have a partition function describing [u]how[/u] you want to split your data, you need to create a partition scheme defining [u]where[/u] you want to partition it.  This is a straightforward process that links partitions to filegroups.  For example, if I had four filegroups named &quot;fg1&quot; through &quot;fg4&quot;, the following partition scheme would do the trick:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;pre&gt;&lt;code&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;em&gt; CREATE PARTITION SCHEME customer_partscheme
 AS PARTITION customer_partfunc
 TO (fg1, fg2, fg3, fg4)
 &lt;/em&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Notice that we now link a partition function to the partition scheme, but we still haven’t linked the partition scheme to any specific database table.  That’s where the power of reusability comes into play.  We could use this partition scheme (or just the partition function, if we desired) on any number of database tables.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Step 3: Partitioning a Table&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After defining a partition scheme, you’re now ready to create a partitioned table.  This is the simplest step of the process.  You simply add an &quot;ON&quot; clause to the table creation statement specifying the partition scheme and the table column to which it applies.  You don’t need to specify the partition function because the partition scheme already identifies it.&lt;br /&gt;&lt;br /&gt;For example, if you wanted to create a customer table using our partition scheme, you would use the following Transact-SQL statement:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;pre&gt;&lt;code&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;em&gt; CREATE TABLE customers (FirstName nvarchar(40), LastName nvarchar(40), CustomerNumber int)
 ON customer_partscheme (CustomerNumber)
 &lt;/em&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;That’s everything you need to know about partitioning tables in Microsoft SQL Server!  Remember to leverage the power of reusability by writing generic partition functions and partition schemes that might apply to multiple tables!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/2706034341681793849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/partitioning-sql-server-database-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2706034341681793849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2706034341681793849'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/partitioning-sql-server-database-table.html' title='Partitioning a SQL Server Database Table - Basics'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-2791175812225873035</id><published>2012-08-05T01:38:00.000-07:00</published><updated>2012-08-18T19:39:28.660-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Analysis Services 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="BI Semantic Model"/><category scheme="http://www.blogger.com/atom/ns#" term="BISM"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="multidimensional model"/><category scheme="http://www.blogger.com/atom/ns#" term="Office 365"/><category scheme="http://www.blogger.com/atom/ns#" term="SSAS 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Tabular Model"/><title type='text'>Analysis Services 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Most important point to make about Analysis Services 2012 is that it is really two&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;products in one. Analysis Services in the SQL Server 2008 R2 release and before is still present, but it&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;is now called the Multidimensional model. It has had a few improvements relating to performance,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;scalability, and manageability, but there is no new major functionality. Meanwhile, there is a new&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;version of Analysis Services that closely resembles PowerPivot—this is called the Tabular model.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;blockquote&gt;


&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;What Is the BI Semantic Model?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;One term that has been mentioned a lot in the discussions about Analysis Services 2012 is the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;BI Semantic Model or BISM. This term does not refer to either the Multidimensional or Tabular&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;models specifically but, instead, describes the function of Analysis Services in the Microsoft BI&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;stack: the fact that it acts as a semantic layer on top of a relational data warehouse, adding a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;rich layer of metadata that includes hierarchies, measures, and calculations. In that respect, it&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;is very similar to the term Unified Dimensional Model that was used around the time of the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SQL Server 2005 launch. In some cases, the term BI Semantic Model has referred to the Tabular&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;model only, but this is not correct.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiBGII3CHufC-CR0K5LWsJrkMFcQmZ9-gK-HazUlHEq82IcW8hRoTsToWH2-LAfA0C5uWcUPIryPyWlmOdzobkXNXTam5JIBI0F3MKIar5Hi5BTnHUvbrCtEg8acyXZKm_JnBqLPy3Lo0/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiBGII3CHufC-CR0K5LWsJrkMFcQmZ9-gK-HazUlHEq82IcW8hRoTsToWH2-LAfA0C5uWcUPIryPyWlmOdzobkXNXTam5JIBI0F3MKIar5Hi5BTnHUvbrCtEg8acyXZKm_JnBqLPy3Lo0/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1j7moJ0DnvCIeB9e-i5c63Vd7S0cUfds4CycU2IuklHg1XNmr6T5Pl7tcJh4-eYP9m3lRDehMcSJk7DRqCqcrmGtukbTb4sCIevIS5CzoePl2KDTUiMUblPRZ7_jfouThFxbjybq_dmQ/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1j7moJ0DnvCIeB9e-i5c63Vd7S0cUfds4CycU2IuklHg1XNmr6T5Pl7tcJh4-eYP9m3lRDehMcSJk7DRqCqcrmGtukbTb4sCIevIS5CzoePl2KDTUiMUblPRZ7_jfouThFxbjybq_dmQ/s1600/Capture2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4IPm-HM_8MSkK3rB3p5RSirVkh8__9HueNDbKFtBMER7TKiMSNfsdQERt_dd0m81fRfcrEGuiwPB4LIjz0BvKUy2boJUb-H7w9WQ2RVOayV8lLq7W13ga0U1nEEodmxsNGakZMYL5QTs/s1600/Capture3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4IPm-HM_8MSkK3rB3p5RSirVkh8__9HueNDbKFtBMER7TKiMSNfsdQERt_dd0m81fRfcrEGuiwPB4LIjz0BvKUy2boJUb-H7w9WQ2RVOayV8lLq7W13ga0U1nEEodmxsNGakZMYL5QTs/s1600/Capture3.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Why Have Two Models?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Why has this split happened? Although Microsoft does not want to make any public comments on&amp;nbsp;this topic, there are a number of likely reasons.&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Analysis Services Multidimensional is getting old. It was designed in an age of 32-bit servers with one or two processors and less than a gigabyte of RAM, when disk-based storage was the only option for databases. Times have changed, and modern hardware is radically different; now a new generation of memory-based, columnar databases has set the standard for query performance with analytic workloads, and Analysis Services must adopt this new 10 Microsoft SQL Server 2012 Analysis Services: The BISM Tabular Model technology to keep up. Retrofitting the new xVelocity in-memory engine into the existing Multidimensional model was not, however, a straightforward job, so it was necessary to introduce the new Tabular model to take full advantage of xVelocity.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Despite the success of Analysis Services Multidimensional, there has always been a perception that it is difficult to learn. Some database professionals, accustomed to relational data modeling, struggle to learn multidimensional concepts, and those that do find the learning curve is steep. Therefore, if Microsoft wants to bring BI to an ever-wider audience, it must simplify the development process—hence the move from the complex world of the Multidimensional model to the relatively simple and familiar concepts of the Tabular model.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Microsoft sees self-service BI as a huge potential source of growth, and PowerPivot is its entry into this market. It is also important to have consistency between the Microsoft self-service and corporate BI tools. Therefore, if Analysis Services must be overhauled, it makes sense to make it compatible with PowerPivot, with a similar design experience so self-service models can easily be upgraded to full-fledged corporate solutions.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Some types of data are more appropriately, or more easily, modeled by using the Tabular approach, and some types of data are more appropriate for a Multidimensional approach. Having different models gives developers the choice to use whichever approach suits their circumstances.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;The Future of Analysis Services&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Having two models inside Analysis Services, plus two query and calculation languages, is clearly not an ideal state of affairs. First and foremost, it means you have to choose which model to use at the start of your project, when you might not know enough about your requirements to know which one is appropriate—and this is the question we will address in the next section. It also means that anyone who decides to specialize in Analysis Services has to learn two technologies. Presumably, this state of affairs will not continue in the long term.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Microsoft has been very clear in saying that the Multidimensional model is not deprecated and that the Tabular model is not its replacement. It is likely that new features for Multidimensional will be released in future versions of Analysis Services. The fact that the Tabular and Multidimensional models share some of the same code suggests that some new features could easily be developed for both models simultaneously. The post on the Analysis Services blog previously referenced suggests that in time the two models will converge and offer much the same functionality, so the decision about which model to use is based on whether the developer prefers to use a multidimensional or relational way of modeling data. Support for DAX queries in the Multidimensional model, when it arrives, will represent one step in this direction.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
One other thing is clear about the future of Analysis Services: It will be moving to the cloud.&amp;nbsp;Microsoft has confirmed it is working&amp;nbsp;on a cloud-based version of Analysis Services and this, plus SQL Azure, SQL Azure Reporting Services, and Office 365, will form the core of the Microsoft cloud BI strategy.&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/2791175812225873035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/analysis-services-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2791175812225873035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2791175812225873035'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/analysis-services-2012.html' title='Analysis Services 2012'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiBGII3CHufC-CR0K5LWsJrkMFcQmZ9-gK-HazUlHEq82IcW8hRoTsToWH2-LAfA0C5uWcUPIryPyWlmOdzobkXNXTam5JIBI0F3MKIar5Hi5BTnHUvbrCtEg8acyXZKm_JnBqLPy3Lo0/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-5742144921666332816</id><published>2012-08-02T22:53:00.000-07:00</published><updated>2012-08-18T19:39:58.897-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Charts"/><category scheme="http://www.blogger.com/atom/ns#" term="Drill down"/><category scheme="http://www.blogger.com/atom/ns#" term="Drill up"/><category scheme="http://www.blogger.com/atom/ns#" term="Excel Services"/><category scheme="http://www.blogger.com/atom/ns#" term="Hierarchies"/><category scheme="http://www.blogger.com/atom/ns#" term="KPI"/><category scheme="http://www.blogger.com/atom/ns#" term="Maps"/><category scheme="http://www.blogger.com/atom/ns#" term="Pie Charts"/><category scheme="http://www.blogger.com/atom/ns#" term="Power View in Excel 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Styles"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><title type='text'>What’s new in Power View in Excel 2013 and in SharePoint 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc215398451&quot; name=&quot;_Toc215398451&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc204662450&quot; name=&quot;_Toc204662450&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View in Excel 2013 and Power View in SharePoint 2013 both provide an interactive data exploration, visualization, and presentation experience for all skill levels. Pull your data together in tables, matrices, maps, and a variety of charts in an interactive view that brings your data to life. Many of the features now in Power View in Excel 2013 were in Power View in SharePoint 2010, and new features have been added to both.&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;


&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733057&quot; name=&quot;_Toc328733057&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View in Excel 2013: New features&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;MultipleModelsOneWorkbook&quot; name=&quot;MultipleModelsOneWorkbook&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733058&quot; name=&quot;_Toc328733058&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View sheets can connect to different data models in one workbook&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Excel 2013, every workbook can contain an internal Data Model that you can modify in Excel, in PowerPivot, and even in a Power View sheet in Excel. You can base a Power View in Excel 2013 sheet on the Data Model in the same workbook or on an external data source – another workbook, or a tabular model deployed to a SQL Server 2012 Analysis Services (SSAS) instance. A single Excel workbook can contain multiple Power View sheets, and each of the sheets can be based on a different data model. A workbook can contain only one internal Data Model, but Power View sheets in a workbook can link either to that internal model or to an external data model. &lt;/span&gt;&lt;/div&gt;
&lt;ol class=&quot;cntIndent36&quot; start=&quot;1&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To base a Power View sheet on an external data model, insert a blank Excel worksheet in the workbook, and on the &lt;b class=&quot;ui&quot;&gt;Data&lt;/b&gt; tab &amp;gt; &lt;b class=&quot;ui&quot;&gt;Get External Data&lt;/b&gt; (by creating a connection or using an existing connection). &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ul class=&quot;cntIndent54&quot; type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you want to reuse a connection you already have in this workbook, click &lt;b class=&quot;ui&quot;&gt;Existing Connections&lt;/b&gt;, select the connection you want to use, and click &lt;b class=&quot;ui&quot;&gt;Open&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;cntIndent36&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b class=&quot;cntnote&quot;&gt; Note &lt;/b&gt;   If you get external data while in the PowerPivot window, it is automatically added to the internal Data Model, and so it isn’t a separate data model.&lt;/span&gt;&lt;/div&gt;
&lt;ol class=&quot;cntIndent36&quot; start=&quot;2&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Provide the needed information in the &lt;b class=&quot;ui&quot;&gt;Data Connection Wizard&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the last step, the &lt;b class=&quot;ui&quot;&gt;Import Data&lt;/b&gt; dialog box, click &lt;b class=&quot;ui&quot;&gt;Power View Report&lt;/b&gt;. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;cntIndent36&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Excel opens a new Power View sheet with the external data model in the Field List.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Each Power View sheet has its own charts, tables, and other visualizations. You can copy and paste a chart or other visualization from one sheet to another, but only if both sheets are based on the same data model. &lt;/span&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733059&quot; name=&quot;_Toc328733059&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733059&quot; name=&quot;_Toc328733059&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Modify the internal Data Model without leaving the Power View sheet&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now that you can create Power View sheets and an internal Data Model in an Excel 2013 workbook, if you base your Power View sheet on the internal Data Model, you can make some changes to the Data Model while you’re in the Power View sheet. For example: &lt;/span&gt;&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From the Field List in Power View in Excel, you can create relationships between different tables in the workbook.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If the Data Model in Excel has calculated fields, you can create KPIs based on those fields, and then add them to your Power View report.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;PVExcelSvcsWebAppO365&quot; name=&quot;PVExcelSvcsWebAppO365&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733060&quot; name=&quot;_Toc328733060&quot;&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View in Excel Services and Excel Web App, and in Office 365&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When you create Power View sheets in Excel, you can view and interact with them on-premises in Excel Services and in Office 365. You can only edit Power View sheets in Excel 2013 on a client computer.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On-premises, Power View isn’t supported on Excel Web App. In Office 2013, administrators can choose whether users view files with Excel Services or Excel Web App. If the administrator chooses to view workbooks with Excel Web App, you can’t view Power View sheets when viewing Excel workbooks in the browser. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Office 365, you don’t view Power View sheets using Excel Services. Instead you view them with Excel Web App Data Center, part of SharePoint Online. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733061&quot; name=&quot;_Toc328733061&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View in Excel 2013 and SharePoint 2013: New features&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733062&quot; name=&quot;_Toc328733062&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Pie charts&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Pie charts are simple or sophisticated in Power View. You can make a pie chart that drills down when you double-click a slice, or a pie chart that shows sub-slices within the larger color slices. You can cross-filter a pie chart with another chart. Say you click a bar in a bar chart. The part of the pie chart that applies to that bar is highlighted, and the rest of the pie is grayed.&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpyaTlnlxBD6b3pVOCSgcKlZ_m1N7yhh2-4Da_oySw5rgOqePIP2FI1oYsbHbgHs01Id0XD9_Zt4WlBixU3CMAu-YcJ1RtzXSuaQqbdkVwORw-1kLbPNs27WcXTQrnMu1rGRvY2G6qgjU/s1600/ZA102923307.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;190&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpyaTlnlxBD6b3pVOCSgcKlZ_m1N7yhh2-4Da_oySw5rgOqePIP2FI1oYsbHbgHs01Id0XD9_Zt4WlBixU3CMAu-YcJ1RtzXSuaQqbdkVwORw-1kLbPNs27WcXTQrnMu1rGRvY2G6qgjU/s320/ZA102923307.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733679&quot; name=&quot;_Toc328733679&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Examples of visualizations available in Power View&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPtaldLwiW5DWuXrRx5Y6Ly4YaXufuFz-qcIPvJIqySx4zP06W1y2rjuuucV_pKKTNX0MUXPNPN7We4XdFDGIvi2Mo0PJhtt3Q0KtXW1nMAqh-Zf8z290HQeNMQYugdRw08oU7wemMdH0/s1600/ZA102833868.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPtaldLwiW5DWuXrRx5Y6Ly4YaXufuFz-qcIPvJIqySx4zP06W1y2rjuuucV_pKKTNX0MUXPNPN7We4XdFDGIvi2Mo0PJhtt3Q0KtXW1nMAqh-Zf8z290HQeNMQYugdRw08oU7wemMdH0/s320/ZA102833868.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Slicer filtering the report to breads&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Tile flow navigation for tiles, currently on croissant&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Card in a tile container, filtered to the current tile (croissant)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Line chart in tile container showing quantities consumed and server, filtered to croissants January to December&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Multiples, filtered to breads and sorted in descending order by quantity served&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Column chart filtered to breads, showing quantities served and consumed&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733063&quot; name=&quot;_Toc328733063&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Maps&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Maps in Power View use Bing map tiles, so you can zoom and pan as you would with any other Bing map. Locations and fields are dots on the map: The bigger the value, the bigger the dot. When you add a multi-value series, you get pie charts on the map. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVLbB1yIMRkAeDOGMfbqnQNFrSOhWuX5XbvB5m2cSrvjNur2SEwpL99hw0HBSDrD-PPOTNvl10HuIBXYa1D_umLZYUxiFzYd1tc5bG82sv441WnsF7uIwIBqXxSVqnDfUWNN2rvhW4dsk/s1600/ZA102923303.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVLbB1yIMRkAeDOGMfbqnQNFrSOhWuX5XbvB5m2cSrvjNur2SEwpL99hw0HBSDrD-PPOTNvl10HuIBXYa1D_umLZYUxiFzYd1tc5bG82sv441WnsF7uIwIBqXxSVqnDfUWNN2rvhW4dsk/s320/ZA102923303.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733064&quot; name=&quot;_Toc328733064&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Key performance indicators (KPIs)&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can add &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;key performance indicators (KPIs)&lt;span class=&quot;AsstInlineDefText&quot;&gt;&lt;span class=&quot;ACICollapsed&quot; id=&quot;divInlineDef_-1835908867_1&quot;&gt; (key performance indicator (KPI): A quantifiable measure for gauging business objectives. The KPI gauges the performance of the value, defined by a base measure, against a target value, also defined by a measure or by an absolute value.)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; to your Power View report to show progress toward goals if the data model your Power View report is based on has them.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHBwvciITsG7Weo-BQ4sMIxw3pazR1D4bJATCGVUfZzBsGBKKRSCzagu7qpQztLat2heJG7laQofNXbrVYqnkwXHWGfl0XnfIVxtgwYdNmzlmYhO6-hlulal01tEo0otCgJWEUhtZTlk/s1600/ZA102923311.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHBwvciITsG7Weo-BQ4sMIxw3pazR1D4bJATCGVUfZzBsGBKKRSCzagu7qpQztLat2heJG7laQofNXbrVYqnkwXHWGfl0XnfIVxtgwYdNmzlmYhO6-hlulal01tEo0otCgJWEUhtZTlk/s1600/ZA102923311.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;KPIs are based on &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;calculated fields&lt;span class=&quot;AsstInlineDefText&quot;&gt;&lt;span class=&quot;ACICollapsed&quot; id=&quot;divInlineDef_1135983016_2&quot;&gt; (calculated field: A field in a PivotTable report or PivotChart report that uses a formula you create. Calculated fields can perform calculations by using the contents of other fields in the PivotTable report or PivotChart report.)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;. In Power View in Excel, you can actually create KPIs if the data model your Power View sheet is based on contains calculated fields. You create calculated fields and KPIs on the &lt;b class=&quot;ui&quot;&gt;PowerPivot&lt;/b&gt; tab in Excel, or by managing the Data Model in the PowerPivot window. Then you can add the KPIs you create to your Power View report.&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733065&quot; name=&quot;_Toc328733065&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Hierarchies&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If your data model has a hierarchy, you can use it in Power View. For example, the data model could have a hierarchy of Continent, Country/Region, State/Province, and City. In Power View you can add one field at a time, or you can add all the fields in the hierarchy at once.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If your data model doesn’t have a hierarchy, you can create one in Power View, too. Just adding multiple fields to the Rows or Columns box for a matrix creates a hierarchy for that matrix. Adding multiple fields to the Axis box of a chart creates a hierarchy for that chart.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can put fields in any order in a hierarchy. It needn’t be a natural hierarchy like Category &amp;gt; Subcategory &amp;gt; Product. It could be Category &amp;gt; Year &amp;gt; Continent. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The advantage of having the hierarchy in a data model is that you can use it in every Power View report you build on that data model. You can only create a hierarchy in the Data Model in Excel by going to the PowerPivot window&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733066&quot; name=&quot;_Toc328733066&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Drill up/drill down&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When you have a matrix with multiple fields in the rows or columns, you can set it to show levels, and that collapses the matrix to show only the top, or outermost, level. You double-click one value in that level to expand to show the values under that one in the hierarchy. To use the example in the Hierarchies section, if you set Power View to show levels, then you see only continent names in the matrix. Double-clicking a continent—say, Asia —shows the countries/regions in Asia, with an arrow to go back to continents. Double-clicking a country—say, India—shows the states/provinces of India, again with an arrow to go back up to countries/regions.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7zhg6U8VDXwybUNVg8K8o8qJuDSKqcbbPqqb9WTG5eRW8XEI4E7cO1sMeVLO7-UPlc1gfpcbBPFrHlU8UCWvDCfgbH0cHx60sYhiydAOBsLLhyphenhyphenvUuwDyWGVIXAwTB8gBg2I6XTrxTNc/s1600/ZA102923308.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7zhg6U8VDXwybUNVg8K8o8qJuDSKqcbbPqqb9WTG5eRW8XEI4E7cO1sMeVLO7-UPlc1gfpcbBPFrHlU8UCWvDCfgbH0cHx60sYhiydAOBsLLhyphenhyphenvUuwDyWGVIXAwTB8gBg2I6XTrxTNc/s1600/ZA102923308.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Charts work the same way. If you convert a matrix to a chart, you end up with a chart with multiple fields in the Axis box. Going back to the Continents example, if you double-click the Europe bar in a Continents bar chart,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiixnsiA1AKRcBomS6ik_QqXpfP8PEiFLjyVkTrwJCjEFwLYbDiB_uOlSck5D8HOS6FL5Fm1IKztEGdUt2o8N6yn-pVD4-0mJZ7-MDol3AUm0kFENtdCETZeZmny5ITAVL-vmoUWod8-1c/s1600/ZA102923310.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiixnsiA1AKRcBomS6ik_QqXpfP8PEiFLjyVkTrwJCjEFwLYbDiB_uOlSck5D8HOS6FL5Fm1IKztEGdUt2o8N6yn-pVD4-0mJZ7-MDol3AUm0kFENtdCETZeZmny5ITAVL-vmoUWod8-1c/s320/ZA102923310.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You see the bars for the countries/regions in Europe only, with an arrow to take you back up.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNuK-wVZ2IKWSlzJuTI_5_ClV1vrMFsph3VEfgBDiHKvvPytM08bikzSITsxlUM0FIi3dzBwvNa-Q5bME4JPiILHKqPPs_rYczO92zr6jjgdP5qh_rinkSwm3Lupj5FxmMH7Th7_JupZ0/s1600/ZA102923316.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNuK-wVZ2IKWSlzJuTI_5_ClV1vrMFsph3VEfgBDiHKvvPytM08bikzSITsxlUM0FIi3dzBwvNa-Q5bME4JPiILHKqPPs_rYczO92zr6jjgdP5qh_rinkSwm3Lupj5FxmMH7Th7_JupZ0/s1600/ZA102923316.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you open the Filter pane, you see that drilling down on either a chart or matrix is acting as a filter on that object. It is filtering the values in the object as you drill down, and removing the filter as you drill back up. It is only filtering that object, though. It isn’t filtering anything else on the sheet.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733067&quot; name=&quot;_Toc328733067&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc327459735&quot; name=&quot;_Toc327459735&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Report styles, themes, and text resizing&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733067&quot; name=&quot;_Toc328733067&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View has new report themes. When you change the theme, the new theme applies to all the Power View views in the report or sheets in the workbook.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View for SharePoint Server 2010 featured eight basic accent themes that controlled chart colors. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View in Excel 2013 and in SharePoint Server 2013 now features 39 additional themes with more varied chart palettes as well as fonts and background colors. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can also change the text size for all of your report elements.&lt;/span&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc327459735&quot; name=&quot;_Toc327459735&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733068&quot; name=&quot;_Toc328733068&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Backgrounds and background images&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can set the background of each view from white to black, with a number of gradient options. On darker backgrounds the text changes from black to white so it stands out better.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can also add background images to each view. Browse to an image file on your hard disk or elsewhere and apply it as the background image for a view. You can then set it to fit, stretch, tile, or be centered on the view, and set its transparency from 0% (invisible) to 100% (not at all transparent). The report stores a copy of the image.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can combine background and image for a variety of effects.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733069&quot; name=&quot;_Toc328733069&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Hyperlinks&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add a hyperlink to a text box in a view and link it to any Internet or email address. In Power View in Excel and in edit mode for a Power View report in SharePoint, you follow the hyperlink by clicking it while holding down the Ctrl key. In reading and full-screen modes in Power View in SharePoint, you just click the link.&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733070&quot; name=&quot;_Toc328733070&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Printing&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can print Power View views in SharePoint and in Excel. In both cases, what you print is what you see on the view when you send it to the printer. If the view contains a region with a scroll bar, the printed page contains the part of the region that is visible on the screen. If a view contains a region with tiles, then whichever tile is selected is the one that prints.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733071&quot; name=&quot;_Toc328733071&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Support for right-to-left languages&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View in SharePoint now has options to set the default direction for new views and the direction for a specific existing view. Unless you change it, the direction is the same as the direction for SharePoint. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View in Excel takes the setting for default direction from Excel. You can change those settings. In Excel, go to &lt;b class=&quot;ui&quot;&gt;File&lt;/b&gt; &amp;gt; &lt;b class=&quot;ui&quot;&gt;Options&lt;/b&gt; &amp;gt; &lt;b class=&quot;ui&quot;&gt;Advanced&lt;/b&gt; and look for &lt;b class=&quot;ui&quot;&gt;Default direction&lt;/b&gt;. You can also change the direction for a specific sheet in the same dialog box, without changing the default direction.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733072&quot; name=&quot;_Toc328733072&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View changes how it handles integers&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;By default, Power View for SharePoint 2010 aggregated decimal numbers, but treated integers as categories rather than aggregating them. A data model designer either in PowerPivot or in SQL Server Data Tools could set defaults for integers, but this was the default behavior. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Power View in Excel 2013 and in SharePoint 2013, Power View aggregates both decimal numbers and integers by default. A data model designer can still specify other default behavior, but that is the default. To change your data into a chart, at least one data column needs to be aggregated.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733073&quot; name=&quot;_Toc328733073&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View backward- and forward-compatibility&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_MailEndCompose&quot; name=&quot;_MailEndCompose&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View RDLX files in SharePoint are backward compatible, meaning that if you saved a Power View file in SharePoint 2010 with the SQL Server 2012 Reporting Services add-in, you can open and save it in Power View in SharePoint 2013 with the SQL Services 2012 Service Pack 1 (SP 1) Reporting Services add-in. The reverse isn’t true: You can’t open a newer-version Power View RDLX file in older versions of SharePoint and SQL Server Reporting Services.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733074&quot; name=&quot;_Toc328733074&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View and data models&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View and SQL Server Analysis Services data models are forward- and backward-compatible with each other:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can base a Power View file in SharePoint 2010 with the SQL Server 2012 Reporting Services add-in on an Excel 2013 data model or on a SQL Server 2012 SP 1 Analysis Services tabular model, and vice versa. However, some features such as hierarchies and KPIs are only available if you base a Power View report in SharePoint 2013 with the SQL Server 2012 SP 1 Reporting Services add-in on an Excel 2013 data model or on a SQL Server 2012 SP 1 Analysis Services tabular model.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733075&quot; name=&quot;_Toc328733075&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Power View and Excel Services&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View and Excel Services are backward- but not forward- compatible:&lt;/span&gt;&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; type=&quot;disc&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SharePoint 2013 is backward-compatible with Excel 2010 PowerPivot workbooks. If you upload an Excel 2010 PowerPivot workbook to SP15, you can open it in Excel Services and also base a Power View report on it.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SharePoint 2010 is not forward-compatible with Excel 2013 workbook Data Models. If you upload an Excel 2013 workbook with a Data Model to SharePoint 2010, it may not work properly in Excel Services and you can’t base a Power View report on it.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733071&quot; name=&quot;_Toc328733071&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; id=&quot;_Toc328733060&quot; name=&quot;_Toc328733060&quot;&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/5742144921666332816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/whats-new-in-power-view-in-excel-2013.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/5742144921666332816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/5742144921666332816'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/whats-new-in-power-view-in-excel-2013.html' title='What’s new in Power View in Excel 2013 and in SharePoint 2013'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpyaTlnlxBD6b3pVOCSgcKlZ_m1N7yhh2-4Da_oySw5rgOqePIP2FI1oYsbHbgHs01Id0XD9_Zt4WlBixU3CMAu-YcJ1RtzXSuaQqbdkVwORw-1kLbPNs27WcXTQrnMu1rGRvY2G6qgjU/s72-c/ZA102923307.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-3244041518573906689</id><published>2012-08-02T03:39:00.003-07:00</published><updated>2012-08-18T19:40:12.238-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bing Maps"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft BI"/><category scheme="http://www.blogger.com/atom/ns#" term="Power View in Excel 2013"/><title type='text'>Bing Maps in Microsoft Excel 2013 using Power View</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There has been a lot of buzz in the BI community since yesterday, 
and the reason is none other than the public preview of Office 2013 (Excel 2013 
in particular). There’s been a lot of articles written on the new features 
available and the integration of PowerPivot and Power View has really got 
everyone talking about.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View in Excel 2013 has the ability to create maps from your 
data and uses Bing maps for the same. Unlike the maps in SSRS, here you do have 
the ability to zoom and pan as needed. Also, Bing maps automatically detects the 
location and hence you don’t need to provide a shapefile or even the 
latitude/longitude information. In this blog, I will take you through the steps 
to create a map report in Power View.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;


&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Creating a basic map report&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1) Open up a new workbook Excel 2013 and then enter the following data in the 
cells
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Country&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td width=&quot;177&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Sales&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;USA&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;177&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Charlotte, North Carolina&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;100&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;USA&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;177&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Madison, Wisconsin&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;50&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;USA&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;177&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Jacksonville, Florida&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;140&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;USA&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;177&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Rochester, New York&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;40&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;USA&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;177&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Philadelphia, Pennsylvania&lt;/span&gt;&lt;/td&gt;&lt;td width=&quot;64&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;120&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) Select the entire data, go to the Insert tab and click on 
Power View icon&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibcLU0JWUvAnrOMh89HmF2esxwX7Wl3VQcFNFUOmB9kcbCFAOuOgIR6gv6Hwc6CLlsqzCw3Tujlj_VZvuPe_A5I3C_qL2_mgRmrx9eUE_cML2mFptv9gSf_myZ7kwkMpY1dULIvtqpzNM/s1600/image%5B3%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibcLU0JWUvAnrOMh89HmF2esxwX7Wl3VQcFNFUOmB9kcbCFAOuOgIR6gv6Hwc6CLlsqzCw3Tujlj_VZvuPe_A5I3C_qL2_mgRmrx9eUE_cML2mFptv9gSf_myZ7kwkMpY1dULIvtqpzNM/s1600/image%5B3%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You should get a loading screen while it takes a couple of seconds 
to open &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg_7bckkrtzSx_IUVsPNE06y3lh2Gaks5-HpMfZ-x36AvedLXKlxTB1gix6onYyyJOa9cEopNEv2TE6brZ5RQbylQ6aUIkDW3vjJXpZ5n2tAArI-TtPR_rFbCaUL6pdhWVXOvBg4Wc4g0/s1600/image%5B8%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg_7bckkrtzSx_IUVsPNE06y3lh2Gaks5-HpMfZ-x36AvedLXKlxTB1gix6onYyyJOa9cEopNEv2TE6brZ5RQbylQ6aUIkDW3vjJXpZ5n2tAArI-TtPR_rFbCaUL6pdhWVXOvBg4Wc4g0/s1600/image%5B8%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) Now click on the Country field, and then you should be able to 
see the Map icon appear on the menu above. Click on the Map icon as shown in the 
image below&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX6M7PdHZhBBX72ce8SAFjn31CyPFTy24sIi1nKMh8egqIdiNN7YfV-vfW_5UF3FSGiKe1ynNUdKMaNaasdOGtzSTzQBsTWY0vedPuLDWjYvJ-zW5vjDPM8uaaDpPuFu0keSM_jetxz6k/s1600/image%5B12%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX6M7PdHZhBBX72ce8SAFjn31CyPFTy24sIi1nKMh8egqIdiNN7YfV-vfW_5UF3FSGiKe1ynNUdKMaNaasdOGtzSTzQBsTWY0vedPuLDWjYvJ-zW5vjDPM8uaaDpPuFu0keSM_jetxz6k/s1600/image%5B12%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You should get a warning to enable content as the data needs to be 
sent to Bing to get geocoded. Click on enable content to proceed. Note that you 
would need an internet connection for implementing this.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9boAWVP1iPq0sexn1EIxPkVj8hg1cqeQ1wzBnTZlrzDmAea9G3O_10Tj1ncq2ZqFHlvuVaYYxITYr7pMfl82zom9qPQQIr3ftF2RLk98KcyB7v9aOpI23r_dqmesFM9Hm2gI2NFhPHOo/s1600/image%5B16%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9boAWVP1iPq0sexn1EIxPkVj8hg1cqeQ1wzBnTZlrzDmAea9G3O_10Tj1ncq2ZqFHlvuVaYYxITYr7pMfl82zom9qPQQIr3ftF2RLk98KcyB7v9aOpI23r_dqmesFM9Hm2gI2NFhPHOo/s1600/image%5B16%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4) Now you can pretty much rearrange your fields by dragging them 
into the areas below. I have dragged Sales into the Size, City into Locations as 
well as Color. So I get a map report below which shows the cities as bubbles 
with corresponding colors and size as the amount of sales&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1odeNMMdOhVi3axWyBc7GruIoGYXvjhnyDgR-q3Hcpqd11ynSANJAuXSI01ImKwv9cIm9rpv9uYB9PZgW9-55Qb-6x_2hNou1_5ArQ1Rs4XhpHMHRLKxARLi24qCuoKs4og6N_pgB7i0/s1600/image%5B20%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1odeNMMdOhVi3axWyBc7GruIoGYXvjhnyDgR-q3Hcpqd11ynSANJAuXSI01ImKwv9cIm9rpv9uYB9PZgW9-55Qb-6x_2hNou1_5ArQ1Rs4XhpHMHRLKxARLi24qCuoKs4og6N_pgB7i0/s1600/image%5B20%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5) You can also play around with other properties like Title, 
Legend, Data Labels and Map Background. They are present when you click on the 
Layout tab.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxT7OC6-dSnR4kVhrvXnIy3DJh-2NE-osHeQbxcGoRSrpmhnvy9IvXUoLDwHSzD-3BmJMzFBkLtdGsbPmqRYmA6Y2oYBR_oPBpjv6SPp00nHL3pU_J3_i0B9YEoWeOQp27RWlbDGYRvYo/s1600/image%5B24%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxT7OC6-dSnR4kVhrvXnIy3DJh-2NE-osHeQbxcGoRSrpmhnvy9IvXUoLDwHSzD-3BmJMzFBkLtdGsbPmqRYmA6Y2oYBR_oPBpjv6SPp00nHL3pU_J3_i0B9YEoWeOQp27RWlbDGYRvYo/s1600/image%5B24%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It is interesting to note that the data used for creating the Power 
View report gets imported into PowerPivot by default. This is because Power View 
can only communicate through DAX currently, and hence needs a tabular model 
behind it. The PowerPivot model can be viewed by clicking on the PowerPivot tab 
and then selecting the manage tab&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgImxuWIOWNR2Qb3NTWwtladdno9WhzGU5-5ouD9oHLIrxUG8hu9x_fbgWrA3ryJxQBW8cVldbD4MPxm-ClZjKibZg4YsxgGdoSFC_NItcleO-gHNApQN0lHdmDpkWeYyqYGb3ADF9seD8/s1600/image%5B28%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;117&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgImxuWIOWNR2Qb3NTWwtladdno9WhzGU5-5ouD9oHLIrxUG8hu9x_fbgWrA3ryJxQBW8cVldbD4MPxm-ClZjKibZg4YsxgGdoSFC_NItcleO-gHNApQN0lHdmDpkWeYyqYGb3ADF9seD8/s320/image%5B28%5D.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Since there is no way to add additional data into this model 
without deleting and recreating the table, it would be a good practice to create 
the PowerPivot model first from linked tables, and then using the PowerPivot 
fields to create the Power View report. This way, we will be able to keep on 
adding data as long as there is a link between the table and PowerPivot. I will 
be showing you how to do this in the next part&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Creating a drill down in map report&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1) Select the same set of data in excel, go to the PowerPivot tab and select the 
Add to Data Model icon as shown below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBP352Hp69liyKF2MgCrJLREHVIfs1PvbzSjIuS8uc4_xrfhMN_FPBK3WFV5rF99lWf5D6efD8Qlm-xKpTcyRwh86vO8ryNwO1oQn8E-JICxQr5GcHNOgqNpBveWzSx-5E-_w0H8CqLGE/s1600/image%5B35%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBP352Hp69liyKF2MgCrJLREHVIfs1PvbzSjIuS8uc4_xrfhMN_FPBK3WFV5rF99lWf5D6efD8Qlm-xKpTcyRwh86vO8ryNwO1oQn8E-JICxQr5GcHNOgqNpBveWzSx-5E-_w0H8CqLGE/s1600/image%5B35%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Note that you can still create Power View reports 
directly, but we will be using this technique for the reasons mentioned above 
earlier.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) Select the home tab, then click on Pivot table option and 
select Power View to create Power View report&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMv8R4cVv41ZxTh-qizo41F8vM0AEqE-AkGxwD8OXDp-KZKX3N1a2rmaOPePTyKIUjDnYZO0rukySsN1ADGEq2LyWVIrbtvK-fS9ZAEEtx7QaUl6-wWnzAvj9CvY2sZwYfbkgQ9Gqbf88/s1600/image%5B39%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMv8R4cVv41ZxTh-qizo41F8vM0AEqE-AkGxwD8OXDp-KZKX3N1a2rmaOPePTyKIUjDnYZO0rukySsN1ADGEq2LyWVIrbtvK-fS9ZAEEtx7QaUl6-wWnzAvj9CvY2sZwYfbkgQ9Gqbf88/s1600/image%5B39%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It is recommended to set the reporting properties of the Country 
and City field, so that Power View can recognize them as geographical entities, 
as shown in the image below&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaEeZ9DVYDUHLbtdmt_Bo_UV_82XFDadlDhEwpAQCFkaf-y_3OQ49w8_HkJyIOTx6KwW-MqXVBNl8eecKcXR4mQnmI_fHdxbvvtB0c7Om7guFUE_elsGVY88YstuqZRC6jEMQsw3c9T0A/s1600/image%5B43%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaEeZ9DVYDUHLbtdmt_Bo_UV_82XFDadlDhEwpAQCFkaf-y_3OQ49w8_HkJyIOTx6KwW-MqXVBNl8eecKcXR4mQnmI_fHdxbvvtB0c7Om7guFUE_elsGVY88YstuqZRC6jEMQsw3c9T0A/s1600/image%5B43%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) Now you should be able to see Power View (in case you don’t, you 
can click on a blank cell, go to the Insert tab and click on Power View icon). 
Notice that the Country and City fields have a map icon&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGQ1WhoqG9yz1dqSy7Cb_oDwgrV_zj6qPNVLSXs8RxoWs_9u8DpzXfJQw6oR7Aa2ZvH-lAFkbeQGj5C_Bt07UeUl7SlaCzW6Xz3OFN18RDKQPfXyz9hB8jkovdBhBTUVTpq_HqEgpAEv8/s1600/image%5B46%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGQ1WhoqG9yz1dqSy7Cb_oDwgrV_zj6qPNVLSXs8RxoWs_9u8DpzXfJQw6oR7Aa2ZvH-lAFkbeQGj5C_Bt07UeUl7SlaCzW6Xz3OFN18RDKQPfXyz9hB8jkovdBhBTUVTpq_HqEgpAEv8/s1600/image%5B46%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4) Now click on the Country field, and then you should be able to 
see the Map icon appear on the menu above. Click on the Map and then drag both 
the country and city fields within locations. You can also put the Sales measure 
in the Size area. Now you should have a map report which drills down from the 
Country level to the city&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vKiUNeeHUC8anbPBayzeGvvQ7vTPIgOOq37oB3Kid_eXQSWo5Dm22oIoWyKndEiXq4z31dBPfVSfFHi8V1542FYWZH3qQBdBAwop4SFr4-8oTSWBAmmn_PDDTkVYZfOkHeQMQOj5DQ4/s1600/image%5B51%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vKiUNeeHUC8anbPBayzeGvvQ7vTPIgOOq37oB3Kid_eXQSWo5Dm22oIoWyKndEiXq4z31dBPfVSfFHi8V1542FYWZH3qQBdBAwop4SFr4-8oTSWBAmmn_PDDTkVYZfOkHeQMQOj5DQ4/s1600/image%5B51%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you double click on the blue dot in the center (which is USA), 
you will get the drill down report by cities. Notice that the title has 
automatically changed from Sales by Country to Sales by City. You can also click 
on the up arrow (highlighted in the image below) to return to the parent report&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbXo5Nc_2hyHTeu7AhAvD6HJj5Ajdz8AIabQn6oMbu-tQPPliS7yMiVbdTwrDBVOniq6eMnXK3TdKDOz6-UFk-xlu-W-gAT7Rt_mWCZPxuCO_v9Qr4Wpw5puq2ac7P120wD6Mj8IWlAGU/s1600/image%5B55%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbXo5Nc_2hyHTeu7AhAvD6HJj5Ajdz8AIabQn6oMbu-tQPPliS7yMiVbdTwrDBVOniq6eMnXK3TdKDOz6-UFk-xlu-W-gAT7Rt_mWCZPxuCO_v9Qr4Wpw5puq2ac7P120wD6Mj8IWlAGU/s1600/image%5B55%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can also create hierarchies in your PowerPivot 
model, and that can be directly added dragged and dropped to the Locations area. 
This will ensure that you don’t have to drag and drop each field individually 
and the drill down would be present across the entire hierarchy.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can also see the benefit of adding the linked 
table to the PowerPivot model instead of using a range. Now if I have to add 
data, I can just go to the excel sheet and append the rows that I want as shown 
below&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMnHSMwpws2s6mClQT5k9PahHxjP_CUxwVJQD0BsF3NJZAKbOIuth4d4LJDOti-MHwO1UAppXNoZLTH1EcriuJEYb-yG0ZyPNwCnAwFN8cZj_1FTDxAv2GrS42cFxJ4up8dTMjfmeTLjw/s1600/image%5B58%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMnHSMwpws2s6mClQT5k9PahHxjP_CUxwVJQD0BsF3NJZAKbOIuth4d4LJDOti-MHwO1UAppXNoZLTH1EcriuJEYb-yG0ZyPNwCnAwFN8cZj_1FTDxAv2GrS42cFxJ4up8dTMjfmeTLjw/s1600/image%5B58%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now, all I need to do is to go to my Power View sheet and refresh 
the report. You can see that the new data is already included in the 
report&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirIBvf_K20v4pWLy5aG46nFsZ-tzxWqpsZ2xXWLSWesckOrXNUQfQZvsw5db7G_3XklvKfNapzrQeYHYIa8dxp0ZRaXc9I_KVzgCiVLHpLSgx2CGQU2TfEAeIBuS6eAL1o-ycNXb_kZA/s1600/image%5B62%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirIBvf_K20v4pWLy5aG46nFsZ-tzxWqpsZ2xXWLSWesckOrXNUQfQZvsw5db7G_3XklvKfNapzrQeYHYIa8dxp0ZRaXc9I_KVzgCiVLHpLSgx2CGQU2TfEAeIBuS6eAL1o-ycNXb_kZA/s1600/image%5B62%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Creating Pie charts in map report&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1) Use the previous report, and then add the city to the Color 
area. Now you can see that there is a pie chart by cities at a country level&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTxSfiuvpYwHrJImQARhO9E4VQ0uuxMp8HCom1nlIi1hZpWOYK_dxLwsCpOaeuyo_m-ojqFObTJf-exY4GFpmPwRez_sQ_7ujlHfbmYkzhO1rLMr_Iv4iw4Yf1AEioUclqkMWfaSAl2N4/s1600/image%5B66%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTxSfiuvpYwHrJImQARhO9E4VQ0uuxMp8HCom1nlIi1hZpWOYK_dxLwsCpOaeuyo_m-ojqFObTJf-exY4GFpmPwRez_sQ_7ujlHfbmYkzhO1rLMr_Iv4iw4Yf1AEioUclqkMWfaSAl2N4/s1600/image%5B66%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) You can hover the mouse on the pie charts, and the pie chart 
will expand and show the tooltips as shown below&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDDV9WuTf2gDaJmImgwJ2xq4SIc5hqNB1wmX16m0JpohBSmecfaqMTIoCKRk0jiTw_8OHgpGEmx-Mkym41uJb_wfrs08dcPkVTBkbqT4HwKLlV9Wn5otKOtpHIBhsVAkiAbei2gaYGhtc/s1600/image%5B70%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDDV9WuTf2gDaJmImgwJ2xq4SIc5hqNB1wmX16m0JpohBSmecfaqMTIoCKRk0jiTw_8OHgpGEmx-Mkym41uJb_wfrs08dcPkVTBkbqT4HwKLlV9Wn5otKOtpHIBhsVAkiAbei2gaYGhtc/s1600/image%5B70%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can also use the horizontal / vertical multiples location areas 
to split it by the selected field as shown below&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrCdd99_romhtMtnZdNge5RS3NBhyo9vl9raF73ohKJv8DTxfC3MverP7RwlvcWgGm1igykLiMIYiZ7qKvkvFj28i5_fvGvvHDjDpQtQ7fnwlJhGtJ9y5OsEx1Q7ippM3weJLlyuWMCKo/s1600/image%5B74%5D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrCdd99_romhtMtnZdNge5RS3NBhyo9vl9raF73ohKJv8DTxfC3MverP7RwlvcWgGm1igykLiMIYiZ7qKvkvFj28i5_fvGvvHDjDpQtQ7fnwlJhGtJ9y5OsEx1Q7ippM3weJLlyuWMCKo/s1600/image%5B74%5D.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Similarly, you can use the Tile By option also 
(however, this feature is not available if you use the multiples 
option)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Another best practice is to concatenate your city 
names with state/country info also (as I have done in all the examples) as there 
might be duplicate city names and doing this will help Bing in geocoding it 
better. You can also do this operation as a calculated column in PowerPivot, if 
you don’t want the city names to be displayed with their country/region info 
appended&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/3244041518573906689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/bing-maps-in-microsoft-excel-2013-using.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/3244041518573906689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/3244041518573906689'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/bing-maps-in-microsoft-excel-2013-using.html' title='Bing Maps in Microsoft Excel 2013 using Power View'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibcLU0JWUvAnrOMh89HmF2esxwX7Wl3VQcFNFUOmB9kcbCFAOuOgIR6gv6Hwc6CLlsqzCw3Tujlj_VZvuPe_A5I3C_qL2_mgRmrx9eUE_cML2mFptv9gSf_myZ7kwkMpY1dULIvtqpzNM/s72-c/image%5B3%5D.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-5971933691113504722</id><published>2012-08-02T03:14:00.002-07:00</published><updated>2012-08-11T00:50:51.073-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Power View"/><category scheme="http://www.blogger.com/atom/ns#" term="Power View"/><category scheme="http://www.blogger.com/atom/ns#" term="Power View Reports"/><category scheme="http://www.blogger.com/atom/ns#" term="Scatter Chart"/><title type='text'>Scatter Chart over Time on the X-Axis and Play Axis</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As you have seen in many Power View demos, you can run the Scatter Chart over time by placing date/time onto the Play Axis.  This is pretty cool and it allows you to see trends over time on multiple dimensions.  But how about if you want to see time also on the x-axis?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Scenario&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this scenario, I’d like to see the number of devices on the y-axis, date on the x-axis, broken out by device make.  This can be easily achieved using a column bar chart.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKdNHE6FqetoX4eUMQxOZeB4tx3sd6e95HOAQkYTZ95cr_GiQIlCD2WV_O4dL2Uw4iZH8m7NxlIU1r_-bYk7FjMtq7JPc_9ITj9Qr6wvJtE6OA2Tb7VqkYBmAj8cMy8g2fKtXTEU1LCOk/s1600/image2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKdNHE6FqetoX4eUMQxOZeB4tx3sd6e95HOAQkYTZ95cr_GiQIlCD2WV_O4dL2Uw4iZH8m7NxlIU1r_-bYk7FjMtq7JPc_9ITj9Qr6wvJtE6OA2Tb7VqkYBmAj8cMy8g2fKtXTEU1LCOk/s1600/image2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;!--our content--&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Yet, if I wanted to add another dimension to this, such as the number of calls (QueryTime), the only way to do this without tiling is to use the Scatter Chart.  Yet, this will not yield the results you may like seeing either.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSy7S0XyNuOxRA0kuke3ymX7ekbplS36FBEavhvrl5jTEs0KoXjQhvt8pHMTorDBYGMTM8L-NlDayATW_FdV0vD9T6DnpMc5NqRUFlHltChkqFj9uYlbepd0vMmDl_RS1R9xo-TZHIdY/s1600/image3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSy7S0XyNuOxRA0kuke3ymX7ekbplS36FBEavhvrl5jTEs0KoXjQhvt8pHMTorDBYGMTM8L-NlDayATW_FdV0vD9T6DnpMc5NqRUFlHltChkqFj9uYlbepd0vMmDl_RS1R9xo-TZHIdY/s1600/image3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It does have a Play Axis of Date, but while the y-axis has count of devices (count of ClientID), the x-axis is the count of QueryTime – it’s a pretty lackluster chart.  Moving Count of QueryTime to the Bubble Size makes it more colorful but now all the data is stuck near the y-axis.  When you click on the play-axis, the bubbles only move up and down the y-axis.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIMHGoQP_6eKrJ2jtyCGnpo_NUnE0xiM8OsLZZalDqKLYcuwb4b9TbL8QSJLFCrhyphenhyphen7dbgGYtn-KHkGCGyzwYCKbOGM9QhC1CKDvAybEpxlbJh0MtRt87bbu2zIAHHbXfTK9UlqhE8nGAI/s1600/image4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIMHGoQP_6eKrJ2jtyCGnpo_NUnE0xiM8OsLZZalDqKLYcuwb4b9TbL8QSJLFCrhyphenhyphen7dbgGYtn-KHkGCGyzwYCKbOGM9QhC1CKDvAybEpxlbJh0MtRt87bbu2zIAHHbXfTK9UlqhE8nGAI/s1600/image4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Date on X-Axis and Play Axis&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So to solve the problem, the solution is to put the date on both the x-axis and the play axis.  Yet, the x-axis only allows numeric values – i.e. you cannot put a date into it.  So how do you around this limitation?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What you can do is create a new calculated column:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;DaysToZero = -1*(max([date]) – [date])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What this does is to calculate the number of days differing between the max([date]) within the [date] column as noted below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEV9B7yyf1abE_YjkDOi1YWL2KExmMs0L3fX1Pk3BYvT0FrhyphenhyphenvlnAW54g_2p_sPMAcFeJj7j9xlFYcJRc5VTAdcnlzdRblPu-8u0xQR1KqZrPfxub35HZwAjAu0JvtZEqCXjC7Aut0ICk/s1600/image5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEV9B7yyf1abE_YjkDOi1YWL2KExmMs0L3fX1Pk3BYvT0FrhyphenhyphenvlnAW54g_2p_sPMAcFeJj7j9xlFYcJRc5VTAdcnlzdRblPu-8u0xQR1KqZrPfxub35HZwAjAu0JvtZEqCXjC7Aut0ICk/s1600/image5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As you can see, the max([date]) is 7/30/2012 and the [DaysToZero] column has the value of datediff(dd, [Date], max([Date]))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once you have created the [DaysToZero] column, you can then place this column onto the x-axis of your Scatter Chart.   Below is the scatter chart configuration&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizhFUvy7m2DQZVXxb40uG63co8xWQ_gmMT1w7veAfhGOk_7w6vmXopy33MVV2axi9Mwyeem9ziuM8rrL4ugHIzNk7a_347FcSVDXK59UmOBe-R2e6m9mn0-l7n_qBA0ApH164Nb3rhdgo/s1600/scatterplot-over-time-config.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizhFUvy7m2DQZVXxb40uG63co8xWQ_gmMT1w7veAfhGOk_7w6vmXopy33MVV2axi9Mwyeem9ziuM8rrL4ugHIzNk7a_347FcSVDXK59UmOBe-R2e6m9mn0-l7n_qBA0ApH164Nb3rhdgo/s1600/scatterplot-over-time-config.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;With this configuration, you can see events occur over time when running the play axis as noted in the screenshots below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5jTBPH8_604Vy8mPWKv2IdrhkQCkKMeiQnQqOu6lLGFdjz2IqN4R69d3w2iFVKN-GerE3ZRXggHPpWAgWtOlP9k5611UnladCnSWSamuR0UQtk34CxfGeS4yg2daMMcLTBpdmdmjkX9o/s1600/scatterplot-over-time-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5jTBPH8_604Vy8mPWKv2IdrhkQCkKMeiQnQqOu6lLGFdjz2IqN4R69d3w2iFVKN-GerE3ZRXggHPpWAgWtOlP9k5611UnladCnSWSamuR0UQtk34CxfGeS4yg2daMMcLTBpdmdmjkX9o/s1600/scatterplot-over-time-2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLALYN2W0iHoItMuzXqLf0zKKonz5uyHVy-OVQ1sl_w7LaE-u9nxZUrqd6v_oMueY20HW54E1t8ltQN1sP_wu6wF7TZWrPkWHrFlJatDVcLPbf7EwgRI296E8bTeUljCQ9jx-mAVX_YJg/s1600/scatterplot-over-time-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLALYN2W0iHoItMuzXqLf0zKKonz5uyHVy-OVQ1sl_w7LaE-u9nxZUrqd6v_oMueY20HW54E1t8ltQN1sP_wu6wF7TZWrPkWHrFlJatDVcLPbf7EwgRI296E8bTeUljCQ9jx-mAVX_YJg/s1600/scatterplot-over-time-3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIek-KiYEBg6X5Ia9icIplcTLz9vdfbO9ocxrKsqJSE9Vs07pgnslXbz52Y1Pmcd9MS8E9Ec0nmVcjUfqpKe7n5bnhxldpmBsb2nQ0UrLhyphenhyphen8bGucCrN9O0oaAwDn_uFp9ogMrXbGns0AI/s1600/scatterplot-over-time-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIek-KiYEBg6X5Ia9icIplcTLz9vdfbO9ocxrKsqJSE9Vs07pgnslXbz52Y1Pmcd9MS8E9Ec0nmVcjUfqpKe7n5bnhxldpmBsb2nQ0UrLhyphenhyphen8bGucCrN9O0oaAwDn_uFp9ogMrXbGns0AI/s1600/scatterplot-over-time-1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/5971933691113504722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/scatter-chart-over-time-on-x-axis-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/5971933691113504722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/5971933691113504722'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/scatter-chart-over-time-on-x-axis-and.html' title='Scatter Chart over Time on the X-Axis and Play Axis'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKdNHE6FqetoX4eUMQxOZeB4tx3sd6e95HOAQkYTZ95cr_GiQIlCD2WV_O4dL2Uw4iZH8m7NxlIU1r_-bYk7FjMtq7JPc_9ITj9Qr6wvJtE6OA2Tb7VqkYBmAj8cMy8g2fKtXTEU1LCOk/s72-c/image2.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-7640768925924858597</id><published>2012-08-02T02:58:00.003-07:00</published><updated>2012-08-11T00:51:16.001-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Big Data Analytics"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop Hive"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot"/><title type='text'>Connecting PowerPivot to Hadoop on Azure – Self Service BI to Big Data in the Cloud</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This post describes the steps to connect Hadoop from PowerPivot.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Pre-requisites&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;a href=&quot;http://powerpivot.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot for Excel&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; (as of this post, using SQL Server 2012 RC1 version)&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Access to &lt;/span&gt;&lt;a href=&quot;http://hadooponazure.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hadoop on Azure CTP&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Configuration Steps&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The steps to follow are the:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Install the HiveODBC Driver&lt;/span&gt; (we will configure the DSN later)
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Steps 1 – 3 from &lt;span style=&quot;text-decoration: underline;&quot;&gt;Using the Excel Hive Add-In&lt;/span&gt; to open the ports in Hadoop on Azure&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtp_6iGfrlnNxH1eZwKMQ34bUNrYY07HnmxaDs6R3ZbQOMxGF9WK5kpWXKKwsMfICQBGkG7qfzwDFefVfl_RTFZsAxdHslXm-kRdCS4u83HkVtbMb04aygh4OBAuaEUxUq9KodXpn2X4/s1600/image7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtp_6iGfrlnNxH1eZwKMQ34bUNrYY07HnmxaDs6R3ZbQOMxGF9WK5kpWXKKwsMfICQBGkG7qfzwDFefVfl_RTFZsAxdHslXm-kRdCS4u83HkVtbMb04aygh4OBAuaEUxUq9KodXpn2X4/s1600/image7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;!--our content--&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) Create a Hive ODBC Data Source &amp;gt; File DSN&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here, we will go about creating a File DSN Hive ODBC Data Source.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To do this:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Go to the &lt;b&gt;ODBC Data Sources Administrator&lt;/b&gt; and click on the &lt;b&gt;File DSN&lt;/b&gt; tab.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGpVD_tWfnufgnOez2Ijn_1FKHS0er3fv-gXP0VXS16f1Wc31xPvofsUNaw_kYM9pNI3PY4ZP2o3HNELlpGb2pFzH7_GFKLLAC_gSLG9VsyCm-uQDbEFyqbYhpoWwJ0TysRI7coM4jZNM/s1600/image8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGpVD_tWfnufgnOez2Ijn_1FKHS0er3fv-gXP0VXS16f1Wc31xPvofsUNaw_kYM9pNI3PY4ZP2o3HNELlpGb2pFzH7_GFKLLAC_gSLG9VsyCm-uQDbEFyqbYhpoWwJ0TysRI7coM4jZNM/s1600/image8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on &lt;b&gt;Add, &lt;/b&gt;Choose &lt;b&gt;HIVE, &lt;/b&gt;Click&lt;b&gt; Next, &lt;/b&gt;Click &lt;b&gt;Browse&lt;/b&gt; to choose a location of the file; click &lt;b&gt;Finish&lt;/b&gt;.&lt;/span&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCKC8g-NPJfURyxYiSIsFeC_1-nGbH0RnA6jfPc5BOI02p0DpuQZlcIh8tco5ESXo1oCNdcxyeTtdm_tguGK3HDMGCiCLBfzlRYj54k2W0Bye_oGqQpjGwEuGTIdwkFi_Nx_firIvk6rQ/s1600/image9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCKC8g-NPJfURyxYiSIsFeC_1-nGbH0RnA6jfPc5BOI02p0DpuQZlcIh8tco5ESXo1oCNdcxyeTtdm_tguGK3HDMGCiCLBfzlRYj54k2W0Bye_oGqQpjGwEuGTIdwkFi_Nx_firIvk6rQ/s1600/image9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Open the File DSN you just created and click &lt;b&gt;Configure&lt;/b&gt;.&amp;nbsp; The &lt;b&gt;ODBC Hive Setup&lt;/b&gt;
 and configure the host (e.g. [clustername].cloudapp.net) and 
authentication information (the username is what you had specified when 
you had created the cluster)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPdhi1zxsmx5AiALNqmcybVQNe4pzKPIwfMYdaN03J4iL0bX-OTFTEJ4tShuHBlhNX6aSg2pJRS94-7WK8_Iz39eKdkjy5HH96ZkgsQcMkhddr1_hFFxxGTnr7ONl-KMugBn8EoVcq6mA/s1600/image10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPdhi1zxsmx5AiALNqmcybVQNe4pzKPIwfMYdaN03J4iL0bX-OTFTEJ4tShuHBlhNX6aSg2pJRS94-7WK8_Iz39eKdkjy5HH96ZkgsQcMkhddr1_hFFxxGTnr7ONl-KMugBn8EoVcq6mA/s1600/image10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) Connect PowerPivot to Hadoop on Azure via the HiveODBC File DSN&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Open up the PowerPivot ribbon and click on the &lt;b&gt;Get External Data from Other Sources&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPJ6yJJvQ8o2oxb-wPDFQavSJHXHft_7siKEOdj2LbaurQ_BoD5TYVZ2Il9CjDTD3gvk8wBMp69ju3SsDa8ENEXjiWu6w5lZ-nB32Q33PxH9F-vav-STzJ8rEh8dpCoxWu8NPwXRYxAAk/s1600/image11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPJ6yJJvQ8o2oxb-wPDFQavSJHXHft_7siKEOdj2LbaurQ_BoD5TYVZ2Il9CjDTD3gvk8wBMp69ju3SsDa8ENEXjiWu6w5lZ-nB32Q33PxH9F-vav-STzJ8rEh8dpCoxWu8NPwXRYxAAk/s1600/image11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From the &lt;b&gt;Table Import Wizard&lt;/b&gt;, click on the &lt;b&gt;Others (OLEDB/ODBC) &lt;/b&gt;and click&lt;b&gt; Next&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYvJqQ4l5QZHEblRD1vdDhbmzPracU-tSfwYSeHK2Baa9eToBZWY2aotJEWjraiXtzagquAZXRfIVPsl3s2xWFKw7FO1QE8MM0GprtiNeMmMDd9MwxRkr_Ekkn7dBmfYY1dcfu84Arw5I/s1600/image12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYvJqQ4l5QZHEblRD1vdDhbmzPracU-tSfwYSeHK2Baa9eToBZWY2aotJEWjraiXtzagquAZXRfIVPsl3s2xWFKw7FO1QE8MM0GprtiNeMmMDd9MwxRkr_Ekkn7dBmfYY1dcfu84Arw5I/s1600/image12.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;b&gt;
&lt;/b&gt;
&lt;li&gt;From here, click Build and the Data Link Properties, click on Provider, and ensure the Microsoft OLEDB Provider for ODBC Drivers is selected.&amp;nbsp;Click Next.&lt;/li&gt;
&lt;li&gt;In the Data Link Properties dialog, choose “Use connection string”, and click Build and choose the File DSN you had created from Step #2.&amp;nbsp; Enter in the password to your Hadoop on Azure cluster.&amp;nbsp; Click OK.&lt;/li&gt;
&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8X2hcuAHY9exA4b1SmAOcNBI2-dbpXb4eppkwbuMUj1lrmk_d3UEZGeuei1DIPnv_Bahof5uHWEJJLfbW23ufXL5pXJTE6PFox4kCy0ZGDGQTO6ErGxPfirQ0nA6fTz2eQ5-SCbAgFSk/s1600/image13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8X2hcuAHY9exA4b1SmAOcNBI2-dbpXb4eppkwbuMUj1lrmk_d3UEZGeuei1DIPnv_Bahof5uHWEJJLfbW23ufXL5pXJTE6PFox4kCy0ZGDGQTO6ErGxPfirQ0nA6fTz2eQ5-SCbAgFSk/s1600/image13.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The &lt;b&gt;Data Link Properties&lt;/b&gt; now contains a &lt;i&gt;connection string&lt;/i&gt; do the Hadoop on Azure cluster.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcXjQAjDyNvj2q1dtxgiwXDVZePTM4ATeYX6GH00gVlo9CGM5VKl2QKwtP5bYIRM3yXnlbB-iFkWgqn235sNKBjib5VAdrts_IlGp8T6W9RgryACRP0qBmZTq204OwRTb68v4m9x4HOBc/s1600/image14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcXjQAjDyNvj2q1dtxgiwXDVZePTM4ATeYX6GH00gVlo9CGM5VKl2QKwtP5bYIRM3yXnlbB-iFkWgqn235sNKBjib5VAdrts_IlGp8T6W9RgryACRP0qBmZTq204OwRTb68v4m9x4HOBc/s1600/image14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Note, after this dialog, verify that the password has been entered into the connection string that that has been built into the &lt;b&gt;Table Import Wizard&lt;/b&gt;.&amp;nbsp;
 Note, the blue arrow points to a lack of a PWD=&amp;lt;password&amp;gt; 
clause.&amp;nbsp; If the password isn’t specified, make sure to add it back in.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDtySncvb9ThgSIbyJhFaPQse3z3Bx6typZB2mEtKbA_YuXTpr9gsk9Ab_uv0VBQaZz1rQGUxX8wp9xINUi70EkYJjE7GcJMMm3QW7MIFB-YRyqVNiOTnVaTHLVodsxFznFLccB_oI1v0/s1600/image15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDtySncvb9ThgSIbyJhFaPQse3z3Bx6typZB2mEtKbA_YuXTpr9gsk9Ab_uv0VBQaZz1rQGUxX8wp9xINUi70EkYJjE7GcJMMm3QW7MIFB-YRyqVNiOTnVaTHLVodsxFznFLccB_oI1v0/s1600/image15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Click OK, click Next.&amp;nbsp; From here you will get the &lt;b&gt;Table Import Wizard&lt;/b&gt; and we are back to the usual PowerPivot steps.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Click on “Select from a list of tables and views to choose the data to import”&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSZI6kPoqsZyt9cdWc-nIcwnrkYrQZElycmDm85BqOz05UBkVic8kfSiwUn9iXd_m8EeZ9baFq7iKtdfbq_3kJiAvarh1irKcm5Hfdv4ZnWdqE0sbYRFTJowQEPhy0WI0GkUX6fRohsh0/s1600/image16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSZI6kPoqsZyt9cdWc-nIcwnrkYrQZElycmDm85BqOz05UBkVic8kfSiwUn9iXd_m8EeZ9baFq7iKtdfbq_3kJiAvarh1irKcm5Hfdv4ZnWdqE0sbYRFTJowQEPhy0WI0GkUX6fRohsh0/s1600/image16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Choose your table (e.g. hivesampletable) and import the data in.&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN2wivItymGleioTLBJRhbLT23Kim7qVDAseuVVj3KijM78L9EhyphenhyphenkLFgMCfTg9q_i1wiRg_haE2bostoydVfULM_NpALWtERDM2_A0rvkQYxuakledK8UnQaaH0GCOyv1Ma_RWbaOayho/s1600/image17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN2wivItymGleioTLBJRhbLT23Kim7qVDAseuVVj3KijM78L9EhyphenhyphenkLFgMCfTg9q_i1wiRg_haE2bostoydVfULM_NpALWtERDM2_A0rvkQYxuakledK8UnQaaH0GCOyv1Ma_RWbaOayho/s1600/image17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
It looks like a lot of steps but once you get into the flow of things, it’s actually a relatively easy flow.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/uh9bKWO1K7U?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/7640768925924858597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/connecting-powerpivot-to-hadoop-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7640768925924858597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7640768925924858597'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/connecting-powerpivot-to-hadoop-on.html' title='Connecting PowerPivot to Hadoop on Azure – Self Service BI to Big Data in the Cloud'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtp_6iGfrlnNxH1eZwKMQ34bUNrYY07HnmxaDs6R3ZbQOMxGF9WK5kpWXKKwsMfICQBGkG7qfzwDFefVfl_RTFZsAxdHslXm-kRdCS4u83HkVtbMb04aygh4OBAuaEUxUq9KodXpn2X4/s72-c/image7.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-1733853739054473462</id><published>2012-08-02T02:36:00.001-07:00</published><updated>2012-08-11T00:51:31.749-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache Hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="Big Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Big Data Analytics"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop data in Excel"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop Hive with MSBI"/><category scheme="http://www.blogger.com/atom/ns#" term="HiveODBC"/><title type='text'>Connect Excel to Hadoop on Azure via HiveODBC</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;One key feature of Microsoft’s Big Data Solution is solid integration of Apache Hadoop with the Microsoft Business Intelligence (BI) components. A good example of this is the ability for Excel to connect to the Hive data warehouse framework in the Hadoop cluster. This section walks you through using Excel via the Hive ODBC driver.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;color: #4f81bd; font-family: calibri; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Install the Hive ODBC Driver&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;color: #4f81bd; font-family: calibri;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;span style=&quot;color: #4f81bd; font-family: calibri;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;
&lt;li&gt;Ensure that Excel 2010 64-bit is already installed before installing the HiveODBC Driver.  &lt;/li&gt;
&lt;li&gt;Download the 64-bit Hive ODBC driver MSI file from the Portal by clicking the &lt;b&gt;Download&lt;/b&gt; tile after logging into &lt;a href=&quot;http://hadooponazure.com/&quot; target=&quot;_blank&quot;&gt;HadoopOnAzure.com &lt;img border=&quot;0&quot; src=&quot;http://social.technet.microsoft.com/wiki/cfs-file.ashx/__key/communityserver-components-sitefiles/10_5F00_external.png&quot; title=&quot;This link is external to TechNet Wiki. It will open in a new window.&quot; /&gt; &lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Note, the HiveODBC driver includes both the HiveODBC Driver and the Excel Hive-AddIn.&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;ol&gt;
&lt;!--our content--&gt;

&lt;li&gt;Double click &lt;b&gt;HiveODBCSetupx64.msi&lt;/b&gt; to start the installation.&lt;/li&gt;
&lt;li&gt;Read the license agreement.&lt;/li&gt;
&lt;li&gt;If you agree to the license agreement, click &lt;b&gt;I agree&lt;/b&gt; and &lt;b&gt;Install&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM0m8CUos1fRbQ60G6St55T9oR2FXf4gE8gUkZuxNpfyhqD8h0hX1CgY8gOght2l9l-YvYB09_Y2d_Fk2eXB1qQMa4MevWqP0st84vnhp7CxnfwJ4e4MrwtRe1tIcZeq8pJd9_0nfX-Fk/s1600/untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM0m8CUos1fRbQ60G6St55T9oR2FXf4gE8gUkZuxNpfyhqD8h0hX1CgY8gOght2l9l-YvYB09_Y2d_Fk2eXB1qQMa4MevWqP0st84vnhp7CxnfwJ4e4MrwtRe1tIcZeq8pJd9_0nfX-Fk/s1600/untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;4. Once the installation has completed, click &lt;b&gt;Finish&lt;/b&gt; to exit the Setup Wizard.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Install_the_Microsoft_Excel_Hive_Add-In&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #4f81bd; font-family: calibri; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Install the Microsoft Excel Hive Add-In&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: calibri; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana;&quot;&gt;&lt;h4 style=&quot;margin: 10pt 0in 0pt;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Prerequisites&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #4f81bd; font-family: calibri;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Prerequisites:&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Microsoft Excel 2010 64-bit&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;64bit Hive ODBC driver installed&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Start Microsoft Excel 2010 64-bit. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;You will be asked to install the HiveExcel add-in. Click Install.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Once the add-in has been installed, click the Data tab in Microsoft Excel 2010. You should see the Hive Panel as shown in the screenshot below.    &lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://social.technet.microsoft.com/wiki/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-05/2806.HiveDataPanel.jpg&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2VjVST6uKPmLM-D3t88IsaQgTYX_j5V9TEyvdFng1ydg6WI4ONV__IOYAkK6Xi0LnQVgOm_dW2J6cOJcMZWT2y7mjnOD0tZ6_2XEbObs4IGW1eJWEzHXOs4J3Nlzi5eCTAUdd6F9pe6A/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2VjVST6uKPmLM-D3t88IsaQgTYX_j5V9TEyvdFng1ydg6WI4ONV__IOYAkK6Xi0LnQVgOm_dW2J6cOJcMZWT2y7mjnOD0tZ6_2XEbObs4IGW1eJWEzHXOs4J3Nlzi5eCTAUdd6F9pe6A/s1600/2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: calibri;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Create a Hive ODBC Data Source to use with Excel&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click &lt;b&gt;Start&lt;/b&gt;-&amp;gt;&lt;b&gt;Control Panel&lt;/b&gt; to launch the Control Panel for Microsoft Windows.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the Control Panel, Click &lt;b&gt;System and Security&lt;/b&gt;-&amp;gt;&lt;b&gt;Administrative Tools&lt;/b&gt;-&amp;gt;&lt;b&gt;Data Sources (ODBC)&lt;/b&gt;. This will launch the ODBC Data Source Administrator dialog.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAv6S-iYvrlNaI6BDuU4xLMzUrPosYS9pbbsw3Z_IaVGWFUJGScqT4wnnjdbGIpxQsKIpRv5b2jUu_THwkZN6FlyGuQoQaAmoZoVGZbi_40G0o-i_AXenhVyg3EEr7Aw0BGFmhR19KeQo/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAv6S-iYvrlNaI6BDuU4xLMzUrPosYS9pbbsw3Z_IaVGWFUJGScqT4wnnjdbGIpxQsKIpRv5b2jUu_THwkZN6FlyGuQoQaAmoZoVGZbi_40G0o-i_AXenhVyg3EEr7Aw0BGFmhR19KeQo/s1600/3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the ODBC Data Source Administrator dialog, click the &lt;b&gt;System DSN&lt;/b&gt; tab.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click &lt;b&gt;Add&lt;/b&gt; to add a new data source.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click the &lt;b&gt;HIVE&lt;/b&gt; driver in the ODBC driver list.&lt;/span&gt; &lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNS9Wwlu2fHNGn1s1yEhmi1VIvwmUptw0kCCRlnUtW5ibhY_VeLwPSmjTFWy27hbya70vLnIgKELz_u8EVO0o1lQZYTaK3aSSor7b3BXmQyBH5xpXugjUifXpYLI94q4RAXuM88p18fow/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNS9Wwlu2fHNGn1s1yEhmi1VIvwmUptw0kCCRlnUtW5ibhY_VeLwPSmjTFWy27hbya70vLnIgKELz_u8EVO0o1lQZYTaK3aSSor7b3BXmQyBH5xpXugjUifXpYLI94q4RAXuM88p18fow/s1600/4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4. Then click &lt;b&gt;Finish&lt;/b&gt;. This will launch the ODBC Hive Setup dialog shown in the screenshot below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzK6MbFFpN0EcIrzQFL7wy9Wz1l3xeeINHOKZKAS0uaoHO20EP-bJyp7Tr6hmLLli_UvjH9sNypfXJpKfu0HHf8C6-DyUDm1oGfhIMyjd0eV9DgEe3eIR4jfng6JzB7Qqg4RZxv4ILMew/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzK6MbFFpN0EcIrzQFL7wy9Wz1l3xeeINHOKZKAS0uaoHO20EP-bJyp7Tr6hmLLli_UvjH9sNypfXJpKfu0HHf8C6-DyUDm1oGfhIMyjd0eV9DgEe3eIR4jfng6JzB7Qqg4RZxv4ILMew/s1600/5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enter a data source a name in the &lt;b&gt;Data Source Name&lt;/b&gt; box. For Example, “MyHiveData”.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the &lt;b&gt;Host&lt;/b&gt; box , enter the host name of the cluster you created on the portal. For example, “myhadoopcluster.cloudapp.net”.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enter the username you used to authenticate on the portal.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click &lt;b&gt;OK&lt;/b&gt; to save the new Hive data source.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click &lt;b&gt;OK &lt;/b&gt;to close the ODBC Data Source Administrator dialog.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;margin: 10pt 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Using_the_Excel_Hive_Add-In&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #4f81bd; font-family: calibri; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;Using the Excel Hive Add-In&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Go to &lt;/span&gt;&lt;a href=&quot;http://hadooponazure.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;HadoopOnAzure.com  &lt;img border=&quot;0&quot; src=&quot;http://social.technet.microsoft.com/wiki/cfs-file.ashx/__key/communityserver-components-sitefiles/10_5F00_external.png&quot; title=&quot;This link is external to TechNet Wiki. It will open in a new window.&quot; /&gt; &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;and click &lt;b&gt;Sign In&lt;/b&gt; to sign into your Hadoop cluster.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click the &lt;b&gt;Open Ports&lt;/b&gt; tile to access port configurations for your cluster.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-_lXvSDF0axosDeAHEWXGbYhNmQXW4V9x0dvD2UzXqmwmhckpLLnyVvSSdU2924gWnjAFM-kDNycXNIeZ12FF8emjl_hOWadqr3hxTOrYnVdHxs18RDZi3cNv1rgtbsP2hfPsGY10kfM/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-_lXvSDF0axosDeAHEWXGbYhNmQXW4V9x0dvD2UzXqmwmhckpLLnyVvSSdU2924gWnjAFM-kDNycXNIeZ12FF8emjl_hOWadqr3hxTOrYnVdHxs18RDZi3cNv1rgtbsP2hfPsGY10kfM/s1600/6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3. On the Configure Ports page, click the toggle switch for the &lt;b&gt;ODBC Server&lt;/b&gt; port to turn it on.&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;a href=&quot;http://social.technet.microsoft.com/wiki/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-05/2538.ODBCServerPort.png&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzhjZgeoN4zRauOAq0jUZ8HsYSsziilcp-fcFULBtLGArKjApJgbIgOH9Ojx7j90gAqf3YW9tbziKpUXd_vPDn1BnhhWzWzDCYrfTaHhJAjbvsLAnDcG-OuMgW5xDZ8aB0RaVU-T_My6I/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzhjZgeoN4zRauOAq0jUZ8HsYSsziilcp-fcFULBtLGArKjApJgbIgOH9Ojx7j90gAqf3YW9tbziKpUXd_vPDn1BnhhWzWzDCYrfTaHhJAjbvsLAnDcG-OuMgW5xDZ8aB0RaVU-T_My6I/s1600/7.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Open Microsoft Excel 2010 64-bit.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Microsoft Excel 2010 64-bit, click the &lt;b&gt;Data&lt;/b&gt; tab.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click the &lt;b&gt;Hive Panel&lt;/b&gt; to open the Hive panel in Excel.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the drop-down list labeled &lt;b&gt;Select or Enter Hive Connection&lt;/b&gt;, select the data source name you previously created.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You will be asked to enter the password to authenticate with the cluster on the portal. Enter the password for the user name.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the drop-down list labeled &lt;b&gt;Select the Hive Object to Query&lt;/b&gt;, select &lt;b&gt;hivesampletable [Table]&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: cambria;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Select the checkbox for each of the columns in the table. The Hive Query panel should look similar to the following.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifmVWGcHcIgwimiALu7OeIOrmYnZEHbbgeDiExUBvJ9TAqKWAjgQQTKv8bJP51Sv5xrX-DTKCDMYsVA7Uc26OuEonQfm9E8eUQc0hb7GRunjW4PL8i0999yydJzUGQQXFDbfqFfEvMrZ0/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifmVWGcHcIgwimiALu7OeIOrmYnZEHbbgeDiExUBvJ9TAqKWAjgQQTKv8bJP51Sv5xrX-DTKCDMYsVA7Uc26OuEonQfm9E8eUQc0hb7GRunjW4PL8i0999yydJzUGQQXFDbfqFfEvMrZ0/s1600/8.png&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: cambria;&quot;&gt;11. Click &lt;b&gt;Execute Query&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBepRbqX1PakJt6RIPokMoRaiuSdcfEzC_IposdWpbqsJVdhEUTgdmkFjo_pn7Og26uuUhF6-GQxZW5lnWVKGPBOpSmEYVjqJsOa3500pm_JfjmJTaOihHgxMkN8-r8jZOqny9dZMYum0/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBepRbqX1PakJt6RIPokMoRaiuSdcfEzC_IposdWpbqsJVdhEUTgdmkFjo_pn7Og26uuUhF6-GQxZW5lnWVKGPBOpSmEYVjqJsOa3500pm_JfjmJTaOihHgxMkN8-r8jZOqny9dZMYum0/s1600/9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/djfpPsGwm6A?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/1733853739054473462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/connect-excel-to-hadoop-on-azure-via.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1733853739054473462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1733853739054473462'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/connect-excel-to-hadoop-on-azure-via.html' title='Connect Excel to Hadoop on Azure via HiveODBC'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM0m8CUos1fRbQ60G6St55T9oR2FXf4gE8gUkZuxNpfyhqD8h0hX1CgY8gOght2l9l-YvYB09_Y2d_Fk2eXB1qQMa4MevWqP0st84vnhp7CxnfwJ4e4MrwtRe1tIcZeq8pJd9_0nfX-Fk/s72-c/untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-7735481420179915100</id><published>2012-08-02T02:09:00.001-07:00</published><updated>2012-08-11T00:51:54.231-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Big Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Big Data Analytics"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop Hive with MSBI"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft BI tools with Hadoop"/><title type='text'>Microsoft BI Tools with Hadoop - Big Data Analytics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Microsoft’s goal for Big Data is to provide insights to all users from structured or unstructured data of any size. While very scalable, accommodating, and powerful, most Big Data solutions based on Hadoop require highly trained staff to deploy and manage. In addition, the benefits are limited to few highly technical users who are as comfortable programming their requirements as they are using advanced statistical techniques to extract value. For those of us who have been around the BI industry for a few years, this may sound similar to the early 90s where the benefits of our field were limited to a few within the corporation through the &lt;i&gt;Executive&lt;/i&gt; Information Systems.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!--our content--&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Analysis on Hadoop for Everyone&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Microsoft entered the Business Intelligence industry to enable orders of magnitude more users to make better decisions from applications they use every day. This was the motivation behind being the first DBMS vendor to include an OLAP engine with the release of SQL Server 7.0 OLAP Services that enabled Excel users to ask business questions at the speed of thought. It remained the motivation behind &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/en-us/bi/default.aspx&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; in SQL Server 2008 R2, a self-service BI offering that allowed end users to build their own solutions without dependence on IT, as well as provided IT insights on how data was being consumed within the organization. And, with the release of &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/sqlserver/en/us/future-editions/SQL-Server-2012-breakthrough-insight.aspx&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; in SQL Server 2012, that goal will bring the power of rich interactive exploration directly in the hands of every user within an organization.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enabling end users to merge data stored in a Hadoop deployment with data from other systems or with their own personal data is a natural next step. In fact, we also introduced Hive ODBC driver, currently in Community Technology Preview, at the PASS Summit in October. This driver allows connectivity to &lt;/span&gt;&lt;a href=&quot;http://hive.apache.org/&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Apache Hive&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;, which in turn facilitates querying and managing large datasets residing in distributed storage by exposing them as a data warehouse.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpeZR-MarBXBPdSpHd5KA5y15DxNYusjrJD5KUCtMTE6qxEK0gY5VjsRFeAWV9a-dt8bx-xPLUEgYj0qCA0mG-z_iUeJSJLrRNxnTAdLdAtKQkcJx9WgLRD_iOedr5tjJnTg0RXXvt1jM/s1600/untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpeZR-MarBXBPdSpHd5KA5y15DxNYusjrJD5KUCtMTE6qxEK0gY5VjsRFeAWV9a-dt8bx-xPLUEgYj0qCA0mG-z_iUeJSJLrRNxnTAdLdAtKQkcJx9WgLRD_iOedr5tjJnTg0RXXvt1jM/s1600/untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Microsoft BI connectivity with&lt;/strong&gt; &lt;strong&gt;Hadoop&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This connector brings the benefit of the entire Microsoft BI stack and ecosystem on Hive. A few examples include:&lt;br /&gt;
- Bring Hive data directly to Excel through the Microsoft Hive Add-in for Excel&lt;br /&gt;
- Build a PowerPivot workbook using data in Hive&lt;br /&gt;
- Build Power View reports on top of Hive&lt;br /&gt;
- Instead of manually refreshing a PowerPivot workbook based on Hive on their desktop, users can use PowerPivot for SharePoint to schedule a data refresh feature to refresh a central copy shared with others, without worrying about the time or resources it takes.&lt;br /&gt;
- BI Professionals can build BI Semantic Model or Reporting Services Reports on Hive in SQL Server Data tools&lt;br /&gt;
- Of course all of the 3&lt;sup&gt;rd&lt;/sup&gt; party client applications built on the Microsoft BI stack can now access Hive data as well!&lt;br /&gt;
&lt;a href=&quot;http://klout.com/&quot;&gt;Klout&lt;/a&gt; is a great customer that’s leveraging the Microsoft BI stack on Big Data to provide mission critical analysis for both internal users as well as to its customers&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Best of both worlds&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
As we mentioned in the beginning of this blog article, one size doesn’t fit all, and it’s important to recognize the inherent strengths of options available to choose when to use what. Hadoop broadly provides:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- an inexpensive and highly scalable store for data in any shape,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- a robust execution infrastructure for data cleansing, shaping and analytical operations typically in a batch mode, and&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- a growing ecosystem that provides highly skilled users many options to process data.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The Microsoft BI stack is targeted at significantly larger user population and provides:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- functionality in tools such as Excel and SharePoint that users are already familiar with,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- interactive queries at the speed of thought,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- business layer that allows users to understand the data, combine it with other sources, and express business logic in more accessible ways, and&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- mechanisms to publish results for others to consume and build on themselves.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Successful projects may use both of these technologies in complementary manner, like Klout does. Enabling this choice has been the primary motivator for providing Hive ODBC connectivity, as well as investing in providing Hadoop-based distribution for Windows Server and Windows Azure.﻿&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/uh9bKWO1K7U?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
﻿&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/7735481420179915100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/microsoft-bi-tools-with-hadoop-big-data.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7735481420179915100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/7735481420179915100'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/microsoft-bi-tools-with-hadoop-big-data.html' title='Microsoft BI Tools with Hadoop - Big Data Analytics'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpeZR-MarBXBPdSpHd5KA5y15DxNYusjrJD5KUCtMTE6qxEK0gY5VjsRFeAWV9a-dt8bx-xPLUEgYj0qCA0mG-z_iUeJSJLrRNxnTAdLdAtKQkcJx9WgLRD_iOedr5tjJnTg0RXXvt1jM/s72-c/untitled.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-1137089661874634543</id><published>2012-08-02T00:53:00.000-07:00</published><updated>2012-08-11T00:52:12.211-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache Hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="Big Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop on Windows Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop on Windows Server"/><title type='text'>Microsoft Big Data Solution SQL Server, Apache Hadoop and Windows Azure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Big Data Solution&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Microsoft’s end-to-end roadmap for &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/big-data-solution.aspx&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Big Data&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; embraces &lt;/span&gt;&lt;a href=&quot;http://hadoop.apache.org/&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Apache Hadoop™&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; by distributing enterprise class Hadoop based solutions on both Windows Server and Windows Azure. The roadmap includes Microsoft BI tools such as SQL Server Analysis Services, Reporting Services and even PowerPivot and Excel. This enables you to do BI on all your data, including those in Hadoop.&lt;/span&gt;&lt;/div&gt;
&lt;h6 style=&quot;text-align: justify;&quot;&gt;
&lt;!--our content--&gt;


&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Key Benefits&lt;/span&gt;&lt;/h6&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Broader access of Hadoop to end users, IT professionals and Developers, through easy installation and configuration and simplified programming with JavaScript. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enterprise ready Hadoop distribution with greater security, performance, ease of management and options for Hybrid IT usage. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Breakthrough insights through the use of familiar tools such as Excel, PowerPivot, SQL Server Analysis Services and Reporting Services.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMPbbYUhHQhKaGgz_cm8NIAHqlHP9TAUyJqdJlkTfrMjtuX_bAJZD59_iUpNEFsCIjjT9Xabc4s5Q_8GbRziL3PLjR30POg6nBbq_Vjdb-o-0drGr2JNuKYOPFLUvzOVQWTBJ6sTdMT0/s1600/untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMPbbYUhHQhKaGgz_cm8NIAHqlHP9TAUyJqdJlkTfrMjtuX_bAJZD59_iUpNEFsCIjjT9Xabc4s5Q_8GbRziL3PLjR30POg6nBbq_Vjdb-o-0drGr2JNuKYOPFLUvzOVQWTBJ6sTdMT0/s1600/untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Technical Considerations&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the more technical front, we have been working on a simplified download, installation and configuration experience of several Hadoop related technologies, including HDFS, Hive, and Pig, which will help broaden the adoption of Hadoop in the enterprise. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Hadoop based service for Windows Azure will allow any developer or user to submit and run standard Hadoop jobs directly on the Azure cloud with a simple user experience. Therefore it doesn’t matter what platform you are developing your Hadoop jobs on -you will always be able to take a standard Hadoop job and deploy it on our platform, as we strive towards full interoperability with the official Apache Hadoop distribution. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This is great news as it lowers the barrier for building Hadoop based applications while encouraging rapid prototyping scenarios in the Windows Azure cloud for Big Data.To facilitate all of this, we have also entered into a strategic partnership with &lt;/span&gt;&lt;a href=&quot;http://www.hortonworks.com/&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hortonworks&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; that enables us to gain unique experience and expertise to help accelerate the delivery of Microsoft’s Hadoop based distributions on both Windows Server and Windows Azure.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For developers, we will enable integration with Microsoft developer tools as well as invest in making Javascript a first class language for Big Data. We will do this by making it possible to write high performance Map/Reduce jobs using Javascript.For end users, the Hadoop-based applications targeting the Windows Server and Windows Azure platforms will easily work with Microsoft’s existing BI tools like &lt;/span&gt;&lt;a href=&quot;http://www.powerpivot.com/&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerPivot&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; and recently announced Power View, enabling self-service analysis on business information that was not previously accessible. To enable this we will be delivering an ODBC Driver and an Add-in for Excel, each of which will interoperate with Apache Hive. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Finally, in line with our commitment to Interoperability and to facilitate the high performance bi-directional movement of enterprise data between Apache Hadoop and Microsoft &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/sqlserver/en/us/default.aspx&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SQL Server&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;, we have released two Hadoop-based connectors for SQL Server to manufacturing.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The SQL Server connector for Apache Hadoop lets customers move large volumes of data between &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/big-data-solution.aspx&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hadoop and SQL Server 2008 R2&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;, while the SQL Server PDW connector for Apache Hadoop moves data between Hadoop and SQL Server Parallel Data Warehouse (PDW). These new connectors will enable customers to work effectively with both structured and unstructured data.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/HM0YX7mpplk?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/1137089661874634543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/microsoft-big-data-solution-sql-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1137089661874634543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1137089661874634543'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/microsoft-big-data-solution-sql-server.html' title='Microsoft Big Data Solution SQL Server, Apache Hadoop and Windows Azure'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMPbbYUhHQhKaGgz_cm8NIAHqlHP9TAUyJqdJlkTfrMjtuX_bAJZD59_iUpNEFsCIjjT9Xabc4s5Q_8GbRziL3PLjR30POg6nBbq_Vjdb-o-0drGr2JNuKYOPFLUvzOVQWTBJ6sTdMT0/s72-c/untitled.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-8306274802655675481</id><published>2012-08-02T00:46:00.000-07:00</published><updated>2012-08-11T00:52:36.134-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Big Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop with SQL Server 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2012"/><title type='text'>Microsoft SQL Server 2012 Takes on Big Data with Hadoop</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;At PASS Summit 2011 in Seattle, one of the biggest surprise announcements was Microsoft&#39;s support for Apache Hadoop as a part of its SQL Server 2012 announcements. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To understand why Hadoop is important and how it relates to SQL Server, we need to get an idea of what Hadoop actually is and what it isn’t. First, Hadoop isn’t a relational database system, so it’s not a replacement or substitute for SQL Server. Hadoop is an open-source project that’s managed by the Apache Software Foundation. It was designed to solve a somewhat different problem—the problem of handling large amounts of unstructured data. SQL Server and other relational databases primarily store structured data. Data can be stored by using the XML and FileStream data types, but there can be limitations to the size, as well as the amount of processing power that can be applied to access the data. The basic technology behind Hadoop was originally developed by Google so that it could index all types of textual information. Google’s ideas were then incorporated into an open-source project named Nutch and later Yahoo! worked to transform Hadoop into an enterprise application. Hadoop is used by several notable companies, perhaps the most recognizable company is Facebook. In 2010, Facebook had the largest Hadoop cluster in the world, with more than 20PB of storage.&lt;/span&gt;&lt;/div&gt;
&lt;!--our content--&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hadoop is written in Java and runs on a collection of commodity shared-nothing servers. You can add or remove servers from a Hadoop cluster at anytime without disrupting the service. The more servers you use, the more computing power you get. A Hadoop implementation consists of two key components: the Hadoop Distributed File System (HDFS), which provides data storage across multiple servers, and high-performance parallel data processing, which uses a technique called MapReduce. MapReduce essentially splits up data discovery and indexing tasks by sending different parts to all of the servers in your cluster. Each server works on its own piece of the data. The results are then delivered back to the user as a complete set. In essence, MapReduce maps the operation out to all of the servers in the cluster and reduces the results into a single result set.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To implement Hadoop you can buy a collection of commodity servers and run the Hadoop software on each server to create a high-performance Hadoop cluster. For better scalability, you can add more servers. When you load all your data into Hadoop, the software breaks the data into pieces and distributes it across all the available servers. There&#39;s no central location in which you access your data. The Hadoop cluster keeps track of where the data resides and automatically stores multiple copies of the data. If a server fails or is removed from the cluster, Hadoop automatically replicates the data from a known copy.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Being an open-source product you might wonder what Hadoop has to do with Windows. At PASS Summit 2011, Microsoft announced that the company had created a Windows version of Hadoop that&#39;s able to run on Windows Server for on-premises implementations or on Windows Azure for cloud implementations. In addition, Microsoft is working with HortonWorks to develop bi-directional connectors for Hadoop and SQL Server. The SQL Server connector for Apache Hadoop lets customers move large volumes of data between Hadoop and SQL Server 2008 R2 or SQL Server 2012. There will also be a SQL Server Parallel Data Warehouse (PDW) connector for Hadoop that transfers data between Hadoop and SQL Server PDW. These new connectors will enable customers to work with both structured SQL Server data and unstructured data from Hadoop.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hadoop isn’t a replacement for SQL Server’s relational database. Instead, it provides new capabilities that weren’t previously unavailable. I think Microsoft’s view is that Hadoop will be used in conjunction with SQL Server’s relational and analytic capabilities to enable enterprises to deploy Hadoop implementations alongside their exiting IT systems. This will extend the types of data that you can use in your applications similarly to how SQL Server Analysis Services (SSAS) does with the SQL Server relational database engine. In addition, it&#39;ll help SQL Server better compete with both Oracle and IBM’s DB2, which have also embraced Hadoop. Big data is a rapidly growing a trend and the ability to incorporate big data with SQL Server is a big deal. &lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/big-data-solution.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click here for more information about Microsoft’s implementation of Hadoop&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; and how it relates to SQL Server.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/Pgy96tr9R24?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/8306274802655675481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/microsoft-sql-server-2012-takes-on-big.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/8306274802655675481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/8306274802655675481'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/microsoft-sql-server-2012-takes-on-big.html' title='Microsoft SQL Server 2012 Takes on Big Data with Hadoop'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-1583794813552543350</id><published>2012-08-01T23:57:00.001-07:00</published><updated>2012-08-11T00:53:32.459-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Number of rows / records in all the tables in SQL Server"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Number of rows/records in all the tables in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A small post, to get the number of records from all the tables from SQL Server, try the below SQL query.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;[&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; SCHEMA_NAME&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;schema_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;].[&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; t&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;]&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; fulltable_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; SCHEMA_NAME&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;schema_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; schema_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; t&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; table_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;rows&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;sys.tables&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; t &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;INNER&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;JOIN&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;sys.sysindexes&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; i &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ON&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; t&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: magenta; font-size: x-small;&quot;&gt;object_id&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; i&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;id &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;AND&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; i&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;indid &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; 2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;!--our content--&gt;

&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;--&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSp4lHFiFIGsoY2oP_J64SqJSCYjTo36yDYHykr7FH8KKHkezPbPF8A8Kgw2RhLB9R7HKG4ndRJsaWZCPol1WAxLIKL7ur6Hqf_CG7EVWspTguJydkjiZ_tDlywdvD-BxYvnSrs_6fUAs/s1600/rows.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSp4lHFiFIGsoY2oP_J64SqJSCYjTo36yDYHykr7FH8KKHkezPbPF8A8Kgw2RhLB9R7HKG4ndRJsaWZCPol1WAxLIKL7ur6Hqf_CG7EVWspTguJydkjiZ_tDlywdvD-BxYvnSrs_6fUAs/s1600/rows.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/1583794813552543350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/number-of-rowsrecords-in-all-tables-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1583794813552543350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1583794813552543350'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/number-of-rowsrecords-in-all-tables-in.html' title='Number of rows/records in all the tables in SQL Server'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSp4lHFiFIGsoY2oP_J64SqJSCYjTo36yDYHykr7FH8KKHkezPbPF8A8Kgw2RhLB9R7HKG4ndRJsaWZCPol1WAxLIKL7ur6Hqf_CG7EVWspTguJydkjiZ_tDlywdvD-BxYvnSrs_6fUAs/s72-c/rows.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-3925259731711597872</id><published>2012-08-01T23:47:00.001-07:00</published><updated>2012-08-11T00:53:57.987-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel Services"/><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Tabular Model"/><title type='text'>What&#39;s New in Excel Services - SharePoint 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Excel Services:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Excel Services in Microsoft SharePoint Server 2010 is a shared service that you can use to publish Microsoft Excel 2010 workbooks on SharePoint Server. The published workbooks can be managed and secured according to your organizational needs and shared among SharePoint Server 2010 users, who can render the workbooks in a browser. Excel Services was introduced in Microsoft Office SharePoint Server 2007 and is available only in the Enterprise edition of SharePoint Server 2010.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Excel Services consists of Excel Calculation Services, the Microsoft Excel Web Access Web Part, and Excel Web Services for programmatic access. It supports sharing, securing, managing, and using Excel 2010 workbooks in a browser by providing the following:  &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Global settings for managing workbooks, which include settings for security, load balancing, session management, memory utilization, workbook caches, and external data connections.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;!--our content--&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Trusted file locations (which allow you to define which document libraries are trusted by Excel Services) together with session management, workbook size, calculation behavior, and external data settings of workbooks stored in those locations.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;An extensive list of trusted data providers for connecting to your data, plus the ability to add your own trusted data provider.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Trusted data connection libraries, which allow you to define which data connection libraries in your farm are trusted by Excel Services.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The ability to add your own user-defined function assemblies.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;unordered&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Looking at several specific scenarios can help you understand how best to take advantage of Excel Services:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;unordered&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;b&gt;Sharing workbooks through the browser&lt;/b&gt;   Users can save Excel 2010 workbooks to a SharePoint Server document library to give other users browser-based access to the server-calculated version of the workbook. When the workbook is accessed, Excel Services loads the workbook, refreshes the external data if it is necessary, calculates it if it is necessary, and sends the resulting output view back through the browser. A user can interact with Excel-based data by sorting, filtering, expanding, or collapsing PivotTables, and by passing in parameters. This provides the ability to perform analysis on published workbooks. A user does not have to have Excel 2010 installed to view the workbook. Users will always view the latest version of a workbook, and they can interact with it in a browser. Security permissions can be set to limit what access is provided to which user.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;b&gt;Building business intelligence (BI) dashboards&lt;/b&gt;   Browser-based dashboards can be created by using Excel and Excel Services together with the Excel Web Access Web Part. PerformancePoint Services can also use Excel Services workbooks as a data source.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;b&gt;Reuse of logic encapsulated in Excel workbooks in custom applications&lt;/b&gt;   Besides a browser-based interface with the server, Excel Services provides a Web-service–based interface so that a published workbook can be accessed programmatically by any application that uses Web services. The Web service applications can change values, calculate the workbook, and retrieve some or all of the updated workbook by using that interface according to what security permissions are set for the published workbook.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;unordered&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;b&gt;Report Building&lt;/b&gt;   One of the most useful features of Excel Services is report building. By publishing data-connected workbooks to a SharePoint document library and making them available through Excel Services, you can make reports that you have created in Excel available to others in your organization. Instead of multiple users having separate copies of the workbooks on their computers, the workbooks can be created and changed by a trusted author in a central location that is trusted by Excel Services. The correct version of the worksheet is easier to find, share, and use from Excel, SharePoint Server, and other applications.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;unordered&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The new ECS in SharePoint 2013 is pretty awesome, the Extel team has worked 
hard to make ECS on par with Excel. But wait what do these changes have in 
common with MOLAP? Well since most of the underlying Excel code is shared, a 
lot. Let me show you.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Pivot table in Excel 2013 is created that points to the Adventureworks Molap cube. Nothing 
new yet here:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW6jUm-GBBsL95ZrLCnxHGxHtTrtKE1hOro5uzK5CkWeA55GvaIl4NUyy_XXnfAoLPgVdVrKbhxmq7uqggkMfz6EyBLXGOnV4VPKEEoE4aCVNTxnAidOlBJ4Vn21w5uEvFVDW7qkmgA4w/s1600/clip_image002.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW6jUm-GBBsL95ZrLCnxHGxHtTrtKE1hOro5uzK5CkWeA55GvaIl4NUyy_XXnfAoLPgVdVrKbhxmq7uqggkMfz6EyBLXGOnV4VPKEEoE4aCVNTxnAidOlBJ4Vn21w5uEvFVDW7qkmgA4w/s1600/clip_image002.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now lets share this to SharePoint 2013, again nothing new here just a new UI:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCuRbTfXoePLoVyygmhElhbAXh0Yu6wglIVV3ohvv-wsi7ojDGQdtuG2lvlngHuyQyppt1eCMf8LGrkUe6yDbNpCxIFycuhFNfeLyzAotUapSqsSvc6MTT_lSisog4XAOJraPBBzpQf8Q/s1600/clip_image004.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCuRbTfXoePLoVyygmhElhbAXh0Yu6wglIVV3ohvv-wsi7ojDGQdtuG2lvlngHuyQyppt1eCMf8LGrkUe6yDbNpCxIFycuhFNfeLyzAotUapSqsSvc6MTT_lSisog4XAOJraPBBzpQf8Q/s1600/clip_image004.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now lets open it in the browser, this is where things get interesting! 
Observe it looks very much like Excel 2013, and it even has a Pivot table fields 
list.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBXTJ2rZDWCgqd6u5RQ7QDe6hs2-h7EDWbxp2bbgWzlrbBgEh5EmuoXmqJZNwM7M32FwbwhQJtQLDfgHNBocEgve8xtScs4AsNaIfJToNPW44hkQoOV-XKk7AklwN9chjE0GEWflb3wAA/s1600/clip_image006.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBXTJ2rZDWCgqd6u5RQ7QDe6hs2-h7EDWbxp2bbgWzlrbBgEh5EmuoXmqJZNwM7M32FwbwhQJtQLDfgHNBocEgve8xtScs4AsNaIfJToNPW44hkQoOV-XKk7AklwN9chjE0GEWflb3wAA/s1600/clip_image006.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You now can change the pivot tables on the server (of course when you have the 
credentials) and add measures and rows and column all within the browser.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE6zVP0Uq6QgnUA9Gzhizdx8aRe8AlKAMDzv9G11tgjv3q4YPnnvaFkEGnevrh2Xc5aeFpOjxxgYDCLgIb82WpL8bEloQdjTFK5lKYdumqaaj1kjvgyhYSVBhvhjUnY-SEdxCOYIhV6Rw/s1600/clip_image008.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE6zVP0Uq6QgnUA9Gzhizdx8aRe8AlKAMDzv9G11tgjv3q4YPnnvaFkEGnevrh2Xc5aeFpOjxxgYDCLgIb82WpL8bEloQdjTFK5lKYdumqaaj1kjvgyhYSVBhvhjUnY-SEdxCOYIhV6Rw/s1600/clip_image008.jpg&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This is awesome! We now have a web based MOLAP browser that allows ad-hoc 
analytics. Just to make sure this is clear, this of course also works for 
Tabular &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/CWCCBiyHq6w?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/3925259731711597872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/whats-new-in-excel-services-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/3925259731711597872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/3925259731711597872'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/whats-new-in-excel-services-sharepoint.html' title='What&#39;s New in Excel Services - SharePoint 2013'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW6jUm-GBBsL95ZrLCnxHGxHtTrtKE1hOro5uzK5CkWeA55GvaIl4NUyy_XXnfAoLPgVdVrKbhxmq7uqggkMfz6EyBLXGOnV4VPKEEoE4aCVNTxnAidOlBJ4Vn21w5uEvFVDW7qkmgA4w/s72-c/clip_image002.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-1412003848627461016</id><published>2012-08-01T03:09:00.001-07:00</published><updated>2012-08-11T00:56:13.500-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Analytic Reports"/><category scheme="http://www.blogger.com/atom/ns#" term="Charts"/><category scheme="http://www.blogger.com/atom/ns#" term="Dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="Dashboards"/><category scheme="http://www.blogger.com/atom/ns#" term="Decomposition Tree"/><category scheme="http://www.blogger.com/atom/ns#" term="Filters"/><category scheme="http://www.blogger.com/atom/ns#" term="KPI"/><category scheme="http://www.blogger.com/atom/ns#" term="KPIs"/><category scheme="http://www.blogger.com/atom/ns#" term="PPS features"/><category scheme="http://www.blogger.com/atom/ns#" term="Scorecards"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Repository"/><title type='text'>Features in PerformancePoint Services - SharePoint 2010 Business Insights</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The following list highlights the greater attention to enterprise scalability of PerformancePoint Services 2010 over PerformancePoint Server 2007.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scale Up &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scale Out &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Common Dashboard Framework and Infrastructure &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;MOSS Installer Framework &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enterprise Management Scenarios &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Familiar Administration Environment &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Fail Over &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Logging &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ease of Deployment &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerShell Management Scripting&lt;/span&gt; &lt;/li&gt;
&lt;br /&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;SharePoint Repository&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Objects created in PerformancePoint 2010 are now stored in SharePoint lists and libraries, not in a separate database. Because of this new location, these other features come along too.&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Single Security Model &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Single Security Administration Environment &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enterprise Management Scenarios &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Backup and Restore &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Disaster Recovery &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The PPS administrator’s user experience is the SharePoint user experience&lt;/span&gt; 


&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZ9J1Kf_pXrRmE__E76DpASbd3li_rmKbMJ79SbTJa4fR8guW-zJrQPy8gX6aopONDVUZsz8N_OI7sVyFQVjd-aAP6RkNiTML7dJ8ORXB41Y7hy5lJnXglwVjasrH3XHAxP1PlYzRMgM/s1600/image_4_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZ9J1Kf_pXrRmE__E76DpASbd3li_rmKbMJ79SbTJa4fR8guW-zJrQPy8gX6aopONDVUZsz8N_OI7sVyFQVjd-aAP6RkNiTML7dJ8ORXB41Y7hy5lJnXglwVjasrH3XHAxP1PlYzRMgM/s1600/image_4_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PerformancePoint is a SharePoint site&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4HB0sybnzLeGcotx62eRGYSrkKGA4K_WJV8o1esPqLeePkgcOGBaHJsiyLgP8aNgMtdmjsruebBzdKzk1wdEqIRFpR6Urb-EB8BNvXZezj3mKyeYr-NLLvL6zlRnZ-IoIN3b-DcXijGk/s1600/image_6_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4HB0sybnzLeGcotx62eRGYSrkKGA4K_WJV8o1esPqLeePkgcOGBaHJsiyLgP8aNgMtdmjsruebBzdKzk1wdEqIRFpR6Urb-EB8BNvXZezj3mKyeYr-NLLvL6zlRnZ-IoIN3b-DcXijGk/s1600/image_6_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Filters compatible with SharePoint filters (WSS Connection Framework)&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can now use SharePoint’s standard connection framework to hook up PerformancePoint filters to standard SharePoint web parts. &lt;/span&gt;&lt;br /&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Foundation for more seamless integration&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The SharePoint architecture provides the foundation to make these things possible. &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Search, Indexing, Workflows &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Excel Services, Visio Server, Project Server &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Custom security implementations &lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Supported environments&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;New supported environments make it possible for PerformancePoint to run on the latest hardware, making the most out of the latest and greatest in speed and reliability. &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PerformancePoint Services for SharePoint &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Windows Server 2008 64-bit &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SharePoint Server O14 Enterprise CAL &lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PerformancePoint 2010 Clients&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;These are the client browsers and operating systems that are now supported. &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Windows XP or greater &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Internet Explorer 7.0 or greater &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;FireFox 3.5 &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Safari 3.5 (Mac only) &lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scorecards&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scorecards have undergone significant changes. The following list should contribute to some fantastic performance indications. &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Dynamic hierarchies with navigation &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Drill Down and Drill Up &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Dynamic Selections, such as Children and Descendants&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3lmJG88ET-cw0NHWLtK8Nu-LgQO0hKaz17U1HwDdVA9is4mYXZZ8o4YtHYX1ozjfbOmfi5aBhl0xjWw8tfvER92EpK-SSrb7s3JvN5_Y9IfMxsYcNkNQJhAY6kknuE2cPx8S6qTNQJAE/s1600/image_8_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3lmJG88ET-cw0NHWLtK8Nu-LgQO0hKaz17U1HwDdVA9is4mYXZZ8o4YtHYX1ozjfbOmfi5aBhl0xjWw8tfvER92EpK-SSrb7s3JvN5_Y9IfMxsYcNkNQJhAY6kknuE2cPx8S6qTNQJAE/s1600/image_8_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;KPIs on Columns &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Multiple Actual Values &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;New Time Intelligence Formula Support &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Variance &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Calculated Metrics&lt;/span&gt; &lt;/li&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2ADZiGMmG7M1ro_NEG8Aa2Z3L8Vv8RSCbzPuTuY57iz_JF91-s8sQjbBF28tGW4NRPXN3WV57y1KZc6IRpKCQS_G6k5C-dAxmRwyACQbQz1oM9l2wuxMQuWA_UmrwG3dfqOF2oN4KKfQ/s1600/image_10_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2ADZiGMmG7M1ro_NEG8Aa2Z3L8Vv8RSCbzPuTuY57iz_JF91-s8sQjbBF28tGW4NRPXN3WV57y1KZc6IRpKCQS_G6k5C-dAxmRwyACQbQz1oM9l2wuxMQuWA_UmrwG3dfqOF2oN4KKfQ/s1600/image_10_496FA971_2.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scorecard hierarchies available for filters&lt;/span&gt; &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7sXsRljy-7zF-K4iWEHoPjVqHYl2AXnubt9vnG_QlOH5OqakAD19LWYZANg3BGsr4Yx-0FNF1a0cIpj1aaDt4dh0EbLifOS2I1Z14g1kUh3p-GdUy9owdkmPBdc7Qw4hMyaHl66jG0wE/s1600/image_12_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7sXsRljy-7zF-K4iWEHoPjVqHYl2AXnubt9vnG_QlOH5OqakAD19LWYZANg3BGsr4Yx-0FNF1a0cIpj1aaDt4dh0EbLifOS2I1Z14g1kUh3p-GdUy9owdkmPBdc7Qw4hMyaHl66jG0wE/s1600/image_12_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Cube formatting applied to KPIs &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Time intelligence formula editing &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Improved filtering &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Sort and filter on non-numeric values      &lt;/span&gt;&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Improved value filtering &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Improved status filters &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Filter empty rows or columns &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;New report (KPI details)&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Find out the fine details for each KPI. &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Displays information about KPIs      &lt;/span&gt;&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Applied filters &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;KPI name, description, properties &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Metrics with trend &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Actual and target values &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Created and modified date &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Indicator and thresholds &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Calculation &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Variance &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scoring method and distribution graph &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Comments &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Person Responsible &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0cEBoE8zyQuWuUZnfEVVBT1hmZFzO-lMFLYZlwHdvLX_LwmB8VwSJ8e5bz8HmDsHhEq6VuMVu23Xyn_ywro14Eow0TYGjtQchXeQHbTinTY8BVcTIg4TEWLWS0az8MqG_hodCv68yEqE/s1600/image_14_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0cEBoE8zyQuWuUZnfEVVBT1hmZFzO-lMFLYZlwHdvLX_LwmB8VwSJ8e5bz8HmDsHhEq6VuMVu23Xyn_ywro14Eow0TYGjtQchXeQHbTinTY8BVcTIg4TEWLWS0az8MqG_hodCv68yEqE/s1600/image_14_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Pie charts&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A pie chart, a highly-requested chart type, has been added for PerformancePoint 2010.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1T4OcE5hWxz0v0HPg1QG1JmnYbz03FeKhbJhF1ooLmgdfOYYm0_H68S8DU0J7FNeVlNzd1v1_RB7UFHNG22Q0MJNLIIHRqHX08sKQczCtJfq-p61hSy1c74VqHYhWpiqX4gbAD9DMVBY/s1600/image_16_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1T4OcE5hWxz0v0HPg1QG1JmnYbz03FeKhbJhF1ooLmgdfOYYm0_H68S8DU0J7FNeVlNzd1v1_RB7UFHNG22Q0MJNLIIHRqHX08sKQczCtJfq-p61hSy1c74VqHYhWpiqX4gbAD9DMVBY/s1600/image_16_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Analytic reports&lt;/span&gt;&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Value filtering in grids and charts &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Change measure on published reports&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipsDEDEQZmRv9cjhMEA1mPgv9RorbOSc6gxfqUwi7vew-vaIWby-9x3kr6ctQcz9x0YZyVngBgJVavwE69cyWR-aT2WGJsXweHCrb4Eq3_vUL2YllZ3RZ4dVuU5u7r2KUT294rn2Qc8LI/s1600/image_18_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipsDEDEQZmRv9cjhMEA1mPgv9RorbOSc6gxfqUwi7vew-vaIWby-9x3kr6ctQcz9x0YZyVngBgJVavwE69cyWR-aT2WGJsXweHCrb4Eq3_vUL2YllZ3RZ4dVuU5u7r2KUT294rn2Qc8LI/s1600/image_18_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Navigation on bottom axis &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Improved numeric formatting      &lt;/span&gt;&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Per-measure or per-column&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKz8pqw7aJI0uacnrAvn63OPuZtSSb4GP7x_kEyGT4J86E4jIK6BkxvQff8O_YBtQVKh6kDChUn7Aer33uLEb7a5tV59BWUhQr9xSRC_nPSO0ZgFYRM55c0D_ry60gZdR4rKCaRFNRCYs/s1600/2_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKz8pqw7aJI0uacnrAvn63OPuZtSSb4GP7x_kEyGT4J86E4jIK6BkxvQff8O_YBtQVKh6kDChUn7Aer33uLEb7a5tV59BWUhQr9xSRC_nPSO0ZgFYRM55c0D_ry60gZdR4rKCaRFNRCYs/s1600/2_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Analysis Services conditional formatting&lt;/span&gt; &lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5YU-66x4w-M7gITNoASptxBmbFowDBrzyyQx0LPEIXF1krE1RfRQhRZBCCmjSuZj-i0qQ1J1WmVzTHOydjQ_fmiXwL-UhWglzrVYxR-fSclhun7vmeJRHlcAjDhyphenhyphenWslI8IejE5-DivMk/s1600/image_22_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5YU-66x4w-M7gITNoASptxBmbFowDBrzyyQx0LPEIXF1krE1RfRQhRZBCCmjSuZj-i0qQ1J1WmVzTHOydjQ_fmiXwL-UhWglzrVYxR-fSclhun7vmeJRHlcAjDhyphenhyphenWslI8IejE5-DivMk/s1600/image_22_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Analytic view designer&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Notice the UDM organized cube layout inside the Details pane.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg31fUC1t4Yz8NOZCFSw2H0yhP6Px3viU-56ItHCaWHng_aWOfSfz-D6CbbEfy0u6GGog8qVB72hc-HMlc-CKV4t30VrX8YUo1CjUCqTp765sX0MR4D3PuPq_i4p8yH2H6PW93pX6qYVB4/s1600/image_24_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg31fUC1t4Yz8NOZCFSw2H0yhP6Px3viU-56ItHCaWHng_aWOfSfz-D6CbbEfy0u6GGog8qVB72hc-HMlc-CKV4t30VrX8YUo1CjUCqTp765sX0MR4D3PuPq_i4p8yH2H6PW93pX6qYVB4/s1600/image_24_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Filters&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Filters have come a long way in this version. Here are some of the enhancements &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Reusable between dashboards &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Compatible with SharePoint filters (WSS Connection Framework) &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Time Intelligence filters for multiple data sources&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi78dNJ8jg3JnTD7SF2odRHs1cqwqjChv93VN1bZ8DeO1hN5QLuTTA8ONSM6FkoXQW2nxZ_clGKUC8GCnB0nxfxgOjasZG5SvW2EZzXyFhI34en3G1uQiu3mt0HgyXPhscJiywOYBAFO-s/s1600/image_26_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi78dNJ8jg3JnTD7SF2odRHs1cqwqjChv93VN1bZ8DeO1hN5QLuTTA8ONSM6FkoXQW2nxZ_clGKUC8GCnB0nxfxgOjasZG5SvW2EZzXyFhI34en3G1uQiu3mt0HgyXPhscJiywOYBAFO-s/s1600/image_26_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPOtO12Ih6uzS25J-JgpJexMiGmlOLCuqngbnBEPyVrVGHjKy3mhUq2uaeYeGSbzqMP05Iwoy6iBVAYiYkZbqfRz4KsiKCLJ-psPhvyU-IoKBo-wqsxpN_tCCZPs-mo4dTFZ_0d90XRyE/s1600/image_28_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPOtO12Ih6uzS25J-JgpJexMiGmlOLCuqngbnBEPyVrVGHjKy3mhUq2uaeYeGSbzqMP05Iwoy6iBVAYiYkZbqfRz4KsiKCLJ-psPhvyU-IoKBo-wqsxpN_tCCZPs-mo4dTFZ_0d90XRyE/s1600/image_28_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Dashboard deploy&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PerformancePoint now has on-click deployment to SharePoint&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTdM_nJ-EbkVNmhWLlv4vMH8hIwIFEeSJGnYvvQbF4Tvhp_hl1otaF4mNS51GHMESyusHbYPRq_5ZrUs5GRy-Ku7bQpojLbwiwBo5eO7Whyphenhyphen8FhXS-7aPx2iIQ1b5fnBJ5vmV9G_-0bjlQ/s1600/image_30_496FA971_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTdM_nJ-EbkVNmhWLlv4vMH8hIwIFEeSJGnYvvQbF4Tvhp_hl1otaF4mNS51GHMESyusHbYPRq_5ZrUs5GRy-Ku7bQpojLbwiwBo5eO7Whyphenhyphen8FhXS-7aPx2iIQ1b5fnBJ5vmV9G_-0bjlQ/s1600/image_30_496FA971_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Accessibility and Globalization&lt;/span&gt;&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Accessibility meets SharePoint standard &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scorecard Analysis Services KPIs honor client locale &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Dashboard accessibility now meets SharePoint&#39;s standard (WCAG 2.0 AA) &lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/ul&gt;
&lt;h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;New Visualization&lt;/span&gt;&lt;/h5&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Much like the decomposition tree from ProClarity, the one in PerformancePoint 2010 also helps customers follow a line of data to its logical conclusion.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9LJCY221CXyf1Q9l0Dy9OaovfhI7NjfSeDjBqMTiBdHgozurY5HTZo3QEEmt-WMutHNSvPwrZeoCztdiYRvDzgDOl4q-XByUFwzJEwoe6jNxPdh-PkgMCEIR3-GntSVHcuaX43RWj2eg/s1600/Decomp_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9LJCY221CXyf1Q9l0Dy9OaovfhI7NjfSeDjBqMTiBdHgozurY5HTZo3QEEmt-WMutHNSvPwrZeoCztdiYRvDzgDOl4q-XByUFwzJEwoe6jNxPdh-PkgMCEIR3-GntSVHcuaX43RWj2eg/s1600/Decomp_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/fx2PQRwhlLs?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/1412003848627461016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/features-in-performancepoint-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1412003848627461016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1412003848627461016'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/features-in-performancepoint-services.html' title='Features in PerformancePoint Services - SharePoint 2010 Business Insights'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZ9J1Kf_pXrRmE__E76DpASbd3li_rmKbMJ79SbTJa4fR8guW-zJrQPy8gX6aopONDVUZsz8N_OI7sVyFQVjd-aAP6RkNiTML7dJ8ORXB41Y7hy5lJnXglwVjasrH3XHAxP1PlYzRMgM/s72-c/image_4_496FA971_2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-1896348270098547737</id><published>2012-08-01T00:42:00.002-07:00</published><updated>2012-08-11T00:56:51.822-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ad-hoc report"/><category scheme="http://www.blogger.com/atom/ns#" term="PerformancePoint Services"/><category scheme="http://www.blogger.com/atom/ns#" term="PPS"/><category scheme="http://www.blogger.com/atom/ns#" term="Report"/><category scheme="http://www.blogger.com/atom/ns#" term="Scorecard"/><title type='text'>PerformancePoint Services (PPS) - Configuration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What is PerformancePoint Services (PPS) in SharePoint 2010&lt;/span&gt;&lt;/h3&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Definition&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The definition would be that it enables you to create rich, context-driven dashboards that aggregate data and content to provide a complete view of how your business is performing at all levels.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The quick elevator pitch would be that PerformancePoint Services is the easiest way to create and publish Business Intelligence Dashboards in SharePoint 2010.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The concept of a dashboard takes root where you might assume. It’s the pilot’s cockpit display, the driver’s car dashboard…basically how you gauge and monitor the success of any activity from driving a Formula 1 race car to running a Fortune 500 company.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In any business enterprise, monitoring that success means access to data. SharePoint 2010 is able to use many technologies to view data, but PerformancePoint lives and breathes data. We replace the fuel gauge and speedometer with KPIs, Scorecards and Data Visualizations that are connected to the data in a that allows you to dive in and answer questions.&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Practice&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!--our content--&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now that you have heard the marketing lingo, what is PerformancePoint Services made of, and how can you get value out of it? PerformancePoint Services is part of SharePoint 2010 and surfaces itself in a web part page like a SharePoint savvy user might expect. The unique part is two fold.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PerformancePoint Services starts with it’s authoring experience. The Dashboard Designer application is your toolbox to create from the bottom up: Key Performance Indicators (KPIs), Scorecards, Analytic Charts and Grids, Reports, Filters and Dashboards. Each of these components are unique to PerformancePoint Services and provide functionality that interacts with a server component that handles the hard parts like data connectivity and security.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Dashboard Designer is a WYSIWYG experience, the pieces you build will appear in the browser exactly how you created them. That brings us to the second part, the end-user experience. PerformancePoint Services is designed with sharing in mind. The pieces you build are bundled into a dashboard and presented in a SharePoint page that understands who is viewing it and what they are allowed to see. That means you design, you publish and they consume…no IT involvement, no complicated workflows.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This article is divided in two main sections:&lt;/span&gt;&lt;br /&gt;
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configuring Performance Point Services (PPS).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Consuming the PPS Service and creating a Scorecard and Chart.&lt;/span&gt; &lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configuring Performance Point Services (PPS):&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For configuring PPS, one should complete the following four steps to use Performance Point features. The four important steps are:&lt;/span&gt;&lt;br /&gt;
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Start a Secure Store Service and Performance Point Service at farm level via Central Admin.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configure the Secure Store Service.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create and configure the PPS application.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Start Secure Store Service and Performance Point Service&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To start configuration of the Secure Store Service and Performance Point Service, we have to start on the Farm. For that  go to &lt;b&gt;Central Admin&lt;/b&gt; -&amp;gt; Application Management -&amp;gt; Service Application -&amp;gt;  Manage Service on server.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiljXV-2_LbwTy71AYm-fFh24GB2LBRcsGsLL7YBU2BX1ZXX3w4Te6IqxmWDPUVRXbGA3F2PHhlVocgpN5lbeN7ZV501H3LMc6RabCibov7UeCtZ_0QmpKgT-6ntGPhvTWYhWiN2sXqLcg/s1600/image001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiljXV-2_LbwTy71AYm-fFh24GB2LBRcsGsLL7YBU2BX1ZXX3w4Te6IqxmWDPUVRXbGA3F2PHhlVocgpN5lbeN7ZV501H3LMc6RabCibov7UeCtZ_0QmpKgT-6ntGPhvTWYhWiN2sXqLcg/s1600/image001.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here on this page there are many services available. Out of these services, start Performance Point Service and Secure Store Service as shown below:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-Mra4Lu_lNmbMSJZLfqQcCJZPdyU2MIRQ856iRuc-r6a01vMlbYRHAWDP3xcPlBuzfQ6bbt6o0yx0mTV0Xpm23OhsomKD84iqpR7N0xJCckxcfHqnOYdX9Mi7Pyf8n3miP0Xm9XCWTYQ/s1600/image003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-Mra4Lu_lNmbMSJZLfqQcCJZPdyU2MIRQ856iRuc-r6a01vMlbYRHAWDP3xcPlBuzfQ6bbt6o0yx0mTV0Xpm23OhsomKD84iqpR7N0xJCckxcfHqnOYdX9Mi7Pyf8n3miP0Xm9XCWTYQ/s1600/image003.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This will allow configuring further steps.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Configure the Secure Store Service&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;The Secure Store Service is a new addition to SharePoint 2010. Basically it replaces the Single Sign On feature. It is a service that has a secure database which stores the  credentials associated with application IDs which can be used to authorize access to external data sources.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;To configure the Secure Store Service, enter Central Admin -&amp;gt; Application Management -&amp;gt; Manage service applications.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj25t9z7RI29FoNezqao3UXp13pNHnoiG444rab_ZwCvLjq_0qpZ61sUfioeGfE0LVQoNDQYsFvHWdAOVU-1oz6nJ1DrPVy4GsO50AgOGnTu-xVhYPQBUJvIn-n432N_O1r7VNhaXaOZZA/s1600/image005.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj25t9z7RI29FoNezqao3UXp13pNHnoiG444rab_ZwCvLjq_0qpZ61sUfioeGfE0LVQoNDQYsFvHWdAOVU-1oz6nJ1DrPVy4GsO50AgOGnTu-xVhYPQBUJvIn-n432N_O1r7VNhaXaOZZA/s1600/image005.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Here you can create a new Secure Store Application or use an existing one. Let’s create  a new Secure Store Service application.&lt;br /&gt;
For that, click on New and select Secure Store Service. &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYQ9WjuIubGpkK7mExeOIpgHICup5Uv1zbSuCR3M8HG2n11SnpG7Qom7TEKx0JTzzQci5KFd-Iy3a_xRzCHZ1JrAKl5ACDQO1bAnwlN873Dv9X7ztVsoee4ujiW5lSbZEqp4YZzhKgIwk/s1600/image007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYQ9WjuIubGpkK7mExeOIpgHICup5Uv1zbSuCR3M8HG2n11SnpG7Qom7TEKx0JTzzQci5KFd-Iy3a_xRzCHZ1JrAKl5ACDQO1bAnwlN873Dv9X7ztVsoee4ujiW5lSbZEqp4YZzhKgIwk/s1600/image007.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Here it will pop up a window for creation of the new Secure Store.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOAL186f82v2UTksXN_oFHU32PcC8-bHD_FN5Zf0xHALdNrrHk_bxzP6vBnLFYnCh1zdc3bljXW8_ZeYdHhoq-V6UBl-BYc9TKPpIfrlkuKf_jsP7ySKojE0AMGTpvuo1-I8dDqVmlDgo/s1600/image009.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOAL186f82v2UTksXN_oFHU32PcC8-bHD_FN5Zf0xHALdNrrHk_bxzP6vBnLFYnCh1zdc3bljXW8_ZeYdHhoq-V6UBl-BYc9TKPpIfrlkuKf_jsP7ySKojE0AMGTpvuo1-I8dDqVmlDgo/s1600/image009.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Provide Name, Database Server and Database Details, Application pool, and Manage Account detail. &lt;br /&gt;
I created a Secure Store named &lt;i&gt;SecureStoreForPerformancePoint&lt;/i&gt;.&lt;br /&gt;
Once the Secure Store is created then there is no key generated which would encrypt the credentials. To create a new key, click on “&lt;b&gt;Generate new key&lt;/b&gt;” on the top ribbon.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMtK7j8P7Cy6KqyKs-p-HfDHEtSN0H5am8mIV-5N6__kKUsGfm0ETP7HnIaCY2t2918dSuQf8d_oLyiCFjp1RGc95TZ7jPRerCdq87LmwuEylUTJeXwhkCNePEeKpcMDNAwDPfh3pRTK4/s1600/image011.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMtK7j8P7Cy6KqyKs-p-HfDHEtSN0H5am8mIV-5N6__kKUsGfm0ETP7HnIaCY2t2918dSuQf8d_oLyiCFjp1RGc95TZ7jPRerCdq87LmwuEylUTJeXwhkCNePEeKpcMDNAwDPfh3pRTK4/s1600/image011.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A pass phrase needs to be created to encrypt the key. Accept the check to &lt;i&gt;Re-encrypt the Database Using the New Key&lt;/i&gt; and click OK.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhabj4dyTU_9Ex6fEdHnIMlZqSCh4S7QySr7OqHTuePm0i3vz45-iXnXOo95tzzq2cWhM75k8WTc3MOpMwq7sn3_txfMHxIsj-E7aMPO5pMHy6scyzPvzXTgg2CXi_vWajcT6YdrrUsTgo/s1600/image013.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhabj4dyTU_9Ex6fEdHnIMlZqSCh4S7QySr7OqHTuePm0i3vz45-iXnXOo95tzzq2cWhM75k8WTc3MOpMwq7sn3_txfMHxIsj-E7aMPO5pMHy6scyzPvzXTgg2CXi_vWajcT6YdrrUsTgo/s1600/image013.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On successful generation of the Secure Store Service, it shows the following screen.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPbmtHwx6JB8OC3ravo20Mc1bBeZrTeyVxBAk-TBZShuYjUmG4aLX79jomuFHqTbDxvisQyAURiY_ggNAv45H_ElivF1LKwKAObzFeSbuikNgidZMWFaYamwl5W1_Saj9-e-WgWJOh7wU/s1600/image015.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPbmtHwx6JB8OC3ravo20Mc1bBeZrTeyVxBAk-TBZShuYjUmG4aLX79jomuFHqTbDxvisQyAURiY_ggNAv45H_ElivF1LKwKAObzFeSbuikNgidZMWFaYamwl5W1_Saj9-e-WgWJOh7wU/s1600/image015.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On creation of the Secure Store Service, it has to be associated with the application. To configure  the association, go to CA -&amp;gt; Application Management.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsAyzPqGHGLY5gTpKRIL9yQ_apbDG3sbZgTOt4TrSN4n-SRDqtjyD2UR5XN9_-x19O5-r3yEt77buAsPIJDp0wN5lY719HdFn1oqjFxCRt4aOlnQ3xfwJyGH6AIg5aqbp_ItW_4pBLPWc/s1600/image017.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsAyzPqGHGLY5gTpKRIL9yQ_apbDG3sbZgTOt4TrSN4n-SRDqtjyD2UR5XN9_-x19O5-r3yEt77buAsPIJDp0wN5lY719HdFn1oqjFxCRt4aOlnQ3xfwJyGH6AIg5aqbp_ItW_4pBLPWc/s1600/image017.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This shows the association of all default services with all web applications. Select the  web site where you want to use the Performance point  service and make the newly created Secure Store Service as default.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Creating and configuring the PPS application&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the Secure Store service is configured then to create and configure the PerformancePoint service application, re-enter &lt;b&gt;CA &lt;/b&gt;&lt;b&gt;-&amp;gt;&lt;/b&gt;&lt;b&gt;Application Management&lt;/b&gt; -&amp;gt; &lt;b&gt;Manage service applications&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkxb4zPwNE6rzJZnKf_abRbiF180waVZPCqyS2vFIA3EaN77Ce0q-ND3m8m13iFP82Bu2yjPnyXVPpQhm_c3zrCwnZ18CUHRVA5K8-upZpL_lKQCdufOjvfTK1rfIG8lhgdcxKDoAXek4/s1600/image021.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkxb4zPwNE6rzJZnKf_abRbiF180waVZPCqyS2vFIA3EaN77Ce0q-ND3m8m13iFP82Bu2yjPnyXVPpQhm_c3zrCwnZ18CUHRVA5K8-upZpL_lKQCdufOjvfTK1rfIG8lhgdcxKDoAXek4/s1600/image021.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enter an appropriate application name. In the “&lt;b&gt;Application Pool&lt;/b&gt;” area, we can create a new application pool or choose an existing one. After filling in all  details, click on “&lt;b&gt;Create&lt;/b&gt;“.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdJZYx3FJOLITlOitOgYLvgON-E78x8rNdKjs0OxUBbVFshyphenhyphenaQvWhg63tSPxpy-NIx7R04RDHi8kRRaSG3Iz7oEJkwQjv2oMJtD8y2gb7DZitXvpAhko6AtxzWQAtHt3HcNlPo0Uy907E/s1600/image023.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdJZYx3FJOLITlOitOgYLvgON-E78x8rNdKjs0OxUBbVFshyphenhyphenaQvWhg63tSPxpy-NIx7R04RDHi8kRRaSG3Iz7oEJkwQjv2oMJtD8y2gb7DZitXvpAhko6AtxzWQAtHt3HcNlPo0Uy907E/s1600/image023.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the Performance Point Service is created, we need to set up an unattended service account so that we can use a single shared account to access  an external  data source. To do so, select the newly created Performance Point Service and click on “&lt;b&gt;Manage&lt;/b&gt;” on the ribbon.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgME6N-W_kuE-i7BVunOa9QQDnKzl8Zi_uF8blIXu-KIC1g7wKprykRXAmq4tZbf_NtZjrhPlakiv1IFzLgOop0_YtPpS3XITec_Sq1Zc19aHVWs7jNUxyVtiCySOGLISV3LAoBAfWIZac/s1600/image025.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgME6N-W_kuE-i7BVunOa9QQDnKzl8Zi_uF8blIXu-KIC1g7wKprykRXAmq4tZbf_NtZjrhPlakiv1IFzLgOop0_YtPpS3XITec_Sq1Zc19aHVWs7jNUxyVtiCySOGLISV3LAoBAfWIZac/s1600/image025.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There will be several options such as defining the trusted data source location or content  locations, importing PPS content and others. For our purpose, click on &quot;&lt;b&gt;PerformancePoint Service Application Settings&lt;/b&gt;&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2PjzZLO9AevIjFFQ1sVVAGQ5-r7DhWodKU2nobw6RNyxlnTlBrgTDtGntIo2H6t3x0hACxIwBDbVpDQ8wM8UaLdNaVy1CyA-CQl0wiHCkQYOfTCDXmkaSfavC7tOhB8CwhEMhMKFQK5s/s1600/image027.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2PjzZLO9AevIjFFQ1sVVAGQ5-r7DhWodKU2nobw6RNyxlnTlBrgTDtGntIo2H6t3x0hACxIwBDbVpDQ8wM8UaLdNaVy1CyA-CQl0wiHCkQYOfTCDXmkaSfavC7tOhB8CwhEMhMKFQK5s/s1600/image027.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;By default the Secure Store Service name will be pre-populated. In order to configure the unattended account, provide an appropriate username and password and  click OK.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLxqrz-pp-SAxiZ5jo3Lim41wA2VZ8Z4n2PXKZq4rJ60NvTSW1HdfgPFANhie7v-cL_oAPdj66zKsRsCWR98-iFJlxkKDUAcofHg_FNXyvX-Vf_E59OPtliGRQQ8VVgSQ9l8lb-TAua4w/s1600/image029.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;108&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLxqrz-pp-SAxiZ5jo3Lim41wA2VZ8Z4n2PXKZq4rJ60NvTSW1HdfgPFANhie7v-cL_oAPdj66zKsRsCWR98-iFJlxkKDUAcofHg_FNXyvX-Vf_E59OPtliGRQQ8VVgSQ9l8lb-TAua4w/s320/image029.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the Performance Point Service is created, this service also needs to be associated with  a Web Application similar to what we did with the Secure Store Service.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwgkazMFa1cPpqM76bWGoVKGak_mrTd-aCJFKrqpixaE1BE8TAWwrD5dTkfUUDvwB8S7cz65SjjAVbJ2h7hx8dgZWpGI098ib1gPyq0XMvIUCKIkd4hL0ypL9ES7yKQwieVypr33gcT6o/s1600/image031.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwgkazMFa1cPpqM76bWGoVKGak_mrTd-aCJFKrqpixaE1BE8TAWwrD5dTkfUUDvwB8S7cz65SjjAVbJ2h7hx8dgZWpGI098ib1gPyq0XMvIUCKIkd4hL0ypL9ES7yKQwieVypr33gcT6o/s1600/image031.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the service is configured then it can be consumed for creating Scorecard and Chart reports.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Consuming the PPS Service and creating Scorecard and Reports&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Performance Point Service in SharePoint is provided a site template named &lt;b&gt;&lt;i&gt;Business Intelligence Center&lt;/i&gt;&lt;/b&gt;.  The user can create a Web Application  from Central Admin by making use of this template and start using Performance Point Service for creating Scorecard and Reports using Dashboard Designer.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;However Performance Point Service can be consumed on any other site template as well by activating some features related to this service and also  start using Performance  Point Service for creating Scorecard and Reports using Dashboard Designer. (I follow this way). Follow the below steps&lt;/span&gt;:&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif; text-align: justify;&quot;&gt;
&lt;ol&gt;
&lt;li&gt;Activate required features&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Create List and Library&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Create Scorecard using Dashboard Designer&lt;/li&gt;
&lt;li&gt;Create Report using Dashboard Designer&lt;/li&gt;
&lt;li&gt;Show Scorecard and Report on site&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;Activate required features&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I created a Web Application by using the Team Site Template. On this team site,  the user has to Activate Feature at two places.&lt;/span&gt;&lt;br /&gt;
&lt;ol type=&quot;a&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On this site, go to Site Settings -&amp;gt; Site collection Administration -&amp;gt; Site Collection Features (Note: Only Site collection Admin can see this link and  can perform this step).&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrxQWCMf7H4izbH3e4Tcn9NVC8B3enEgafrd8x8ZCu75QRdY8g7ZRju1_AH4H_vZEOLXHDp04LFGP0GcFGFIyOltQI_Iht_cmb8GBampNZc0CjSnsYKrsqz2bMs6TMUwkBtFdyhyphenhyphen6x0Tk/s1600/image033.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrxQWCMf7H4izbH3e4Tcn9NVC8B3enEgafrd8x8ZCu75QRdY8g7ZRju1_AH4H_vZEOLXHDp04LFGP0GcFGFIyOltQI_Iht_cmb8GBampNZc0CjSnsYKrsqz2bMs6TMUwkBtFdyhyphenhyphen6x0Tk/s1600/image033.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And Activate PerformancePoint Services Site Collection Features as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisAh8cHUG8AFJHgPAxMLgBGaXKgU7TINokSjrOF6ZTEMWQ_V0hazs9tLibvgltmLfbqywUGqhZUXlXl2_E10kg8GKgz8C8h5etAS8xZG4IdrHnfpK3NxQpgmWQ4dwddWtgAgPLWQmcWuM/s1600/image035.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisAh8cHUG8AFJHgPAxMLgBGaXKgU7TINokSjrOF6ZTEMWQ_V0hazs9tLibvgltmLfbqywUGqhZUXlXl2_E10kg8GKgz8C8h5etAS8xZG4IdrHnfpK3NxQpgmWQ4dwddWtgAgPLWQmcWuM/s1600/image035.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b. On this site, go to Site Settings -&amp;gt; Site Actions -&amp;gt; Manage Site Features&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ3o5VnUK4PdAq5a2sWMKkkuxribHffEti0jZnNZM7EMwZTl91NFdauOHnDlaYShNhUzzrCLaY-NTbVPNyN9on5yBcDfUDb1z-l0GQ8NVWTB58NwRfHb0O63kFkKSzig0M2g287GtoEFQ/s1600/image037.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ3o5VnUK4PdAq5a2sWMKkkuxribHffEti0jZnNZM7EMwZTl91NFdauOHnDlaYShNhUzzrCLaY-NTbVPNyN9on5yBcDfUDb1z-l0GQ8NVWTB58NwRfHb0O63kFkKSzig0M2g287GtoEFQ/s1600/image037.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And activate PerformancePoint Services Site Features as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj_oA9N2_nnKi3ve_HvGJemYPmC91FJoPnjmyKQImgyGV5D9lwMnpwF_sb4TZba9jiaZTHCttK2xdz36ZLZxgAi1UEXwIhbsLZv1c3Flo6ecbx0LAD7sNIXAR75hC79LWFq197zcK7h8g/s1600/image039.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj_oA9N2_nnKi3ve_HvGJemYPmC91FJoPnjmyKQImgyGV5D9lwMnpwF_sb4TZba9jiaZTHCttK2xdz36ZLZxgAi1UEXwIhbsLZv1c3Flo6ecbx0LAD7sNIXAR75hC79LWFq197zcK7h8g/s1600/image039.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Create List and Library&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After activating above mentioned features, you are allowed to consume PPS. Now, create  a Library of type Performance Point to store data connections. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjga6JfD6bc3Ukeox5XBSULRx-p629eOSkw4IvPgYkzYCW91B04b5tiTWbwdAKHmdlm0Uio9nIDlw-rQGS8xygJX97PSxB0Qe6w51DwdN7OnO6vf7RBHH3k-tGfvAeP-JrPk9SpwKVUrEA/s1600/image041.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjga6JfD6bc3Ukeox5XBSULRx-p629eOSkw4IvPgYkzYCW91B04b5tiTWbwdAKHmdlm0Uio9nIDlw-rQGS8xygJX97PSxB0Qe6w51DwdN7OnO6vf7RBHH3k-tGfvAeP-JrPk9SpwKVUrEA/s1600/image041.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And also create a List of type Performance Point Content List, as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYxQ2LERNQa8XxHQXavNfeDAf-7qUaoBlBe6z86QPVW4nlfoO8b-YFDeREMAQwODx_xZELdJVN6EriHGq4KpWHDy6f20Z8hJlCX8JP1r0c28_qe768rzmAhxY95AeY2n91qu9a7Q7jnQ/s1600/image043.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYxQ2LERNQa8XxHQXavNfeDAf-7qUaoBlBe6z86QPVW4nlfoO8b-YFDeREMAQwODx_xZELdJVN6EriHGq4KpWHDy6f20Z8hJlCX8JP1r0c28_qe768rzmAhxY95AeY2n91qu9a7Q7jnQ/s1600/image043.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The List and Library will help to create Scorecard and Reports.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Create Scorecard using Dashboard Designer&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For creating Scorecard go to PPS Configuration List and click on Add New Item Link.  Doing so will open the Dashboard Designer window (the first time it  will ask to download and run an ActiveX control for Dashboard Designer).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7rLSr2KP-jM8nqJrITzku8qzOg4SrmddIEuBKNOd8yjbALizPPAyShbF9QWncpn4dguiuHb4LDlFqJglSryAl59xLX44qKUFrcJIHPlNBWJyx610eHlPYi0OVCVUljTs7PmPanvWRYVo/s1600/image045.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7rLSr2KP-jM8nqJrITzku8qzOg4SrmddIEuBKNOd8yjbALizPPAyShbF9QWncpn4dguiuHb4LDlFqJglSryAl59xLX44qKUFrcJIHPlNBWJyx610eHlPYi0OVCVUljTs7PmPanvWRYVo/s1600/image045.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here in this Dashboard Designer &lt;/span&gt;&lt;br /&gt;
&lt;ol start=&quot;1&quot; type=&quot;A&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Let’s first create a Data connection in the PPS Connection Library. &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For that right click on it and click on New Data Source.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheoMOVjNvjL6PLOLVvnSrv-Iao5NEtRpPR4eBqGygHKtczRtLdciUE5EDm5jJrOx9l_cbc2YHh2SCRQH8twab7ZBx6mjH8EZFN3OJOGjU31IK77C_Pxi1GA5qYwaEQ_IwoIr0hlgPy3WA/s1600/image047.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheoMOVjNvjL6PLOLVvnSrv-Iao5NEtRpPR4eBqGygHKtczRtLdciUE5EDm5jJrOx9l_cbc2YHh2SCRQH8twab7ZBx6mjH8EZFN3OJOGjU31IK77C_Pxi1GA5qYwaEQ_IwoIr0hlgPy3WA/s1600/image047.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here various types of data sources are available. I am planning to consume data from  an Analytical service.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoNjYLA1eKBdwXpUgbwDAOykDvOkpzhyphenhypheneT5pp80aaoQmDngvnjp-bDah3kLxSzttAaMdxGIbDbynLeF7xYVfMgiNxV7h8FSK_drodS91Aqw_f60BqdrNEjF4dGUA4J8c0oZpMks7u3DfQ/s1600/image049.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoNjYLA1eKBdwXpUgbwDAOykDvOkpzhyphenhypheneT5pp80aaoQmDngvnjp-bDah3kLxSzttAaMdxGIbDbynLeF7xYVfMgiNxV7h8FSK_drodS91Aqw_f60BqdrNEjF4dGUA4J8c0oZpMks7u3DfQ/s1600/image049.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The next screen provides server name, database name, and cube name to consume. (I am using  the AdventureWorks database.)&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJEECbLoQZdTcN8FEwnuJEPFwRWGhB3bqU_vdb_CYelaedzok0gpYq2S2xSFlCsiIcRGWoEh5193kl9VFte2mvT_bf2_kqDwSD9XusRdUGxgMYF2vC2ssOtpmnOJ5HpjLuP5UFSfHe8Ak/s1600/image051.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJEECbLoQZdTcN8FEwnuJEPFwRWGhB3bqU_vdb_CYelaedzok0gpYq2S2xSFlCsiIcRGWoEh5193kl9VFte2mvT_bf2_kqDwSD9XusRdUGxgMYF2vC2ssOtpmnOJ5HpjLuP5UFSfHe8Ak/s1600/image051.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the Data Connection is created, you rename and save the same.&lt;/span&gt;&lt;br /&gt;
&lt;ol start=&quot;2&quot; type=&quot;A&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For creating a Scorecard, right click on PPS Configuration list in Dashboard Designer.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuD8uB38xg6bvVdp1PiinfzjlXkgy5KkNR6SyvT_G7rHEFoaeb6bqguckxI0jYEZd_Xf2XjLIt0cAnzQrLhOzrQxoOIZ0LEoQ2xYoGA3p9WK6Kg67wUrJd5CanXHIxNFVmFhNhIrYUIAA/s1600/image053.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuD8uB38xg6bvVdp1PiinfzjlXkgy5KkNR6SyvT_G7rHEFoaeb6bqguckxI0jYEZd_Xf2XjLIt0cAnzQrLhOzrQxoOIZ0LEoQ2xYoGA3p9WK6Kg67wUrJd5CanXHIxNFVmFhNhIrYUIAA/s1600/image053.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This will show a dialog box to select a template for a Scorecard, as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7CQEpcATcPDjIVDNmXQBAnsKuZ7He0-zy43h95xw4OUB-vmXfFYqrOIvQvcgiQvsggiDpyPrqcRdThwNMEiNp7tmwEoHZIAYFv_kc4W9YQS82PDusxQMJ6CH5dYAG-5uxrjby3mkkONM/s1600/image055.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7CQEpcATcPDjIVDNmXQBAnsKuZ7He0-zy43h95xw4OUB-vmXfFYqrOIvQvcgiQvsggiDpyPrqcRdThwNMEiNp7tmwEoHZIAYFv_kc4W9YQS82PDusxQMJ6CH5dYAG-5uxrjby3mkkONM/s1600/image055.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Make sure you select the Analysis Services template from Microsoft for our Scorecard. We will use a Wizard option for our  Scorecard. This wizard will guide us to select a data source. The next step is to add a new KPI in our  Scorecard or select the existing KPIs from our data  source (in case you have any). The steps are shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2yd-iL9hoV8TkLjvEOG-l_PX5d81NL7yFj3N9ZX0UmQvlSEer8JjG_5AP6NVECLKSXH4f5Eo9JtxIij4bYRN1d2eluA9Tw9B6qLgYj_Suj21ZviWeUPVk0DRDldjDkWxozqKBxfP6KxA/s1600/image057.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2yd-iL9hoV8TkLjvEOG-l_PX5d81NL7yFj3N9ZX0UmQvlSEer8JjG_5AP6NVECLKSXH4f5Eo9JtxIij4bYRN1d2eluA9Tw9B6qLgYj_Suj21ZviWeUPVk0DRDldjDkWxozqKBxfP6KxA/s1600/image057.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once you select the data source, click the Next button in the wizard. This will take you to a step where we can either  import existing KPIs from our data source or we can create new KPIs. Choose ‘&lt;b&gt;Create new KPIs from SQL Server Analysis Services Measures’&lt;/b&gt; and click the Next button.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoRtgDfdFJIcdYfMSBAAcNJ7uKIXIrgSCcr3FvTx6gvl7le81dePRQ6ms-hgQQ0Tkj_Te-5kum-HGYc6V7ajGguj0rZ7edxwHJ0Nfs8e5HT3Aatn_Y4sDIAEk0WKGAFu7v8E64wUGorjQ/s1600/image059.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoRtgDfdFJIcdYfMSBAAcNJ7uKIXIrgSCcr3FvTx6gvl7le81dePRQ6ms-hgQQ0Tkj_Te-5kum-HGYc6V7ajGguj0rZ7edxwHJ0Nfs8e5HT3Aatn_Y4sDIAEk0WKGAFu7v8E64wUGorjQ/s1600/image059.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create KPI as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFFxmzThh-Hf5-d2ghh__301FflHdiBpMo_bhvCuYA7IyijUVbvY_gl2f5a01wZ2PTJZy6OdxxI7ySJeMdzPWlCMTvSpNB29Q_I5P7m8YzMTteiyvLgFyvEisxOpZ9rHPsvL7xzWjjj6E/s1600/image061.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFFxmzThh-Hf5-d2ghh__301FflHdiBpMo_bhvCuYA7IyijUVbvY_gl2f5a01wZ2PTJZy6OdxxI7ySJeMdzPWlCMTvSpNB29Q_I5P7m8YzMTteiyvLgFyvEisxOpZ9rHPsvL7xzWjjj6E/s1600/image061.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now click the Next button until you reach the Finish wizard button. Keep all the default settings. Rename your Scorecard as ‘Sales Scorecard’. You are now done with a basic scorecard with three KPIs. It should look like the one shown below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3AYVDp33vgJpwr-WMNorAXqWUCFL_SLQroMdNhwLvUGm4WTIzsxnlIGiuS-MaAC22uPytLrpHe_f5Puh8jRcrPzCjgUNeOQVu1_oLHeA49pb0GFllvGciHrNii1F5hmXlqBtDqGc7Hoc/s1600/image063.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3AYVDp33vgJpwr-WMNorAXqWUCFL_SLQroMdNhwLvUGm4WTIzsxnlIGiuS-MaAC22uPytLrpHe_f5Puh8jRcrPzCjgUNeOQVu1_oLHeA49pb0GFllvGciHrNii1F5hmXlqBtDqGc7Hoc/s1600/image063.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now let’s modify the Scorecard by adding our products and timeline. You will see a &lt;b&gt;‘Details’&lt;/b&gt; window on your right hand side screen, as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqWGUa_sERlrHPjZbu-x6xtvVMJSDL5up3YDIBpLbmlp2oFLWKiC43eiDSu2cWhjpnSjYUd4bIylG28GRUe9CkW7mR7rmL1Z35apxDUP3mPxxcrh6BD6OVt9hjr9ZOPgeAxxmIqHRuUBc/s1600/image065.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqWGUa_sERlrHPjZbu-x6xtvVMJSDL5up3YDIBpLbmlp2oFLWKiC43eiDSu2cWhjpnSjYUd4bIylG28GRUe9CkW7mR7rmL1Z35apxDUP3mPxxcrh6BD6OVt9hjr9ZOPgeAxxmIqHRuUBc/s1600/image065.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add Country on Actual and Target and selected the desired country as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8PCpWARkKhNWA7eAvXNNM1SWDozDOyyHSKxibO4upx-WYY7EQH4blc9HqKiCMwkEg9PE6ZHvaSnOhWQrBroFDKoI6qpez_3csPEoEf7pBD9-hBfHNGB6jk68wuGenQvhncSaYbfoXZfI/s1600/image067.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8PCpWARkKhNWA7eAvXNNM1SWDozDOyyHSKxibO4upx-WYY7EQH4blc9HqKiCMwkEg9PE6ZHvaSnOhWQrBroFDKoI6qpez_3csPEoEf7pBD9-hBfHNGB6jk68wuGenQvhncSaYbfoXZfI/s1600/image067.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Then click on Edit and Update from top ribbon. Your Scorecard value will change as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3FwKpuM5q6lpgEFwVu8ygpMtjgsq4SgMHaNnVBpoxCRoVymO13S18N74PDLuw0wNFZJIw5S1-ocEq4E0mgmDA7Tg6aR7fY3-s-VRl_g-GfM_UevG3-FhZJJ8E_eEeOG6OYR_-8F6z1EI/s1600/image069.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3FwKpuM5q6lpgEFwVu8ygpMtjgsq4SgMHaNnVBpoxCRoVymO13S18N74PDLuw0wNFZJIw5S1-ocEq4E0mgmDA7Tg6aR7fY3-s-VRl_g-GfM_UevG3-FhZJJ8E_eEeOG6OYR_-8F6z1EI/s1600/image069.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Similarly, add Calendar Year from right side on Scorecard.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf1cbvpbHhP5FPK4L4Mt1wsrmlYXsfxUvC9qrYb-QqTbi93mC-Lx1jSW7pYbIdyherDLHO0hglbiPL873wuQfJdSfCR9xjHrkgnDadNmb0ov794CpW4WAMIHTnAnfvA0jfv2kFKX1_Ebg/s1600/image071.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf1cbvpbHhP5FPK4L4Mt1wsrmlYXsfxUvC9qrYb-QqTbi93mC-Lx1jSW7pYbIdyherDLHO0hglbiPL873wuQfJdSfCR9xjHrkgnDadNmb0ov794CpW4WAMIHTnAnfvA0jfv2kFKX1_Ebg/s1600/image071.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And Select desired members as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht_iPgiWp-czbnYDFy__lAK60ZaazzP8GySb83cvuGxHKdVF4rgtWFc6Gn_I1Q__wxjCeaw5G6K9bjusfSmAq6tUrYlMtmyT2kI4LDYcQnRZjFTW6pqh9dpjdkbOmMZlAiAxZ7nZlZtsE/s1600/image073.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht_iPgiWp-czbnYDFy__lAK60ZaazzP8GySb83cvuGxHKdVF4rgtWFc6Gn_I1Q__wxjCeaw5G6K9bjusfSmAq6tUrYlMtmyT2kI4LDYcQnRZjFTW6pqh9dpjdkbOmMZlAiAxZ7nZlZtsE/s1600/image073.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Again Edit and Update from top ribbon. Your Scorecard value will change as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ4JAg4zaJRRVuIVYFgTmBAgoxU1DxwuOafKaAqZvY0yvbAj90pmwRkjtku7Epoz5rKQXbHj0-M8lKTu88Ji5aI6TlHr-t4C0_DB5iR74ApnYhoFN92Z_CONCuQgBugRZttojZDjNo6a8/s1600/image075.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ4JAg4zaJRRVuIVYFgTmBAgoxU1DxwuOafKaAqZvY0yvbAj90pmwRkjtku7Epoz5rKQXbHj0-M8lKTu88Ji5aI6TlHr-t4C0_DB5iR74ApnYhoFN92Z_CONCuQgBugRZttojZDjNo6a8/s1600/image075.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;That’s all. Your Scorecard is ready&lt;/span&gt;.&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Create Report using Dashboard Designer&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Reports are also created using Dashboard Designer. In Dashboard Designer, right click on PPS Configuration List.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_OhHgXVEHGOV_EpPTGNm9JeEWURpPxHtxvzqObMY60pIWmfYfd0TjNSQ9wwQYlvd_1G8BzCMBMyepXLMcIOd742YeuhPa_o9pahK-hfTGPmFfMb8OQp7tPSSCQXOOTk8X0vc27Fc33hU/s1600/image077.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_OhHgXVEHGOV_EpPTGNm9JeEWURpPxHtxvzqObMY60pIWmfYfd0TjNSQ9wwQYlvd_1G8BzCMBMyepXLMcIOd742YeuhPa_o9pahK-hfTGPmFfMb8OQp7tPSSCQXOOTk8X0vc27Fc33hU/s1600/image077.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the popup wizard, select Report Template. Here we select Analytical Chart.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRAaUoxn8fa3-9-7xTt8536Kxjd6QXzCFahXO3t7qAPayIt2QTQ7yWirTvh1N0oznipwEFwF7zxmSDBQG-CkBiND06IApgVo1Q0794OJwi8fsRlj7spTdSVAOKn3vnY-XVBlQD_56LTeM/s1600/image079.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRAaUoxn8fa3-9-7xTt8536Kxjd6QXzCFahXO3t7qAPayIt2QTQ7yWirTvh1N0oznipwEFwF7zxmSDBQG-CkBiND06IApgVo1Q0794OJwi8fsRlj7spTdSVAOKn3vnY-XVBlQD_56LTeM/s1600/image079.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the next step it will ask to select Data Source. Select the AdventureWorks data source which we created while creating  the Scorecard.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF7331yVPmZlrx_JLRMB2GTxhlX_r-rQdWZN7v4D2XQkG8dQNpF2IRxmhNGPs0oiX7-l8jyHyUOUZb1ukjaYoTX2xQXfshhA3lIz8C1T6swZ__VPnGVLfpRLKrm4r8ok74JakmG08-3fA/s1600/image081.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF7331yVPmZlrx_JLRMB2GTxhlX_r-rQdWZN7v4D2XQkG8dQNpF2IRxmhNGPs0oiX7-l8jyHyUOUZb1ukjaYoTX2xQXfshhA3lIz8C1T6swZ__VPnGVLfpRLKrm4r8ok74JakmG08-3fA/s1600/image081.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On clicking Finish, it will create a Report Window. To configure the report,  we have to put dimension data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Let’s put &lt;b&gt;Product&lt;/b&gt; data in &lt;b&gt;Series&lt;/b&gt; as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfeSvkbMRHVm6bdA3oLZRzGJF2ToVzPz_H-L8NiN2yhTebf-FerxhdULzXUlZlvC508o6cduF4zVxE_n9iq8RjT9aNt1fitB92lqfqDhuMz6M2DJPtkiFqqbrHYeUNzFKLyOfik5ct2lQ/s1600/image083.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfeSvkbMRHVm6bdA3oLZRzGJF2ToVzPz_H-L8NiN2yhTebf-FerxhdULzXUlZlvC508o6cduF4zVxE_n9iq8RjT9aNt1fitB92lqfqDhuMz6M2DJPtkiFqqbrHYeUNzFKLyOfik5ct2lQ/s1600/image083.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On Adding, it shows as below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfeSvkbMRHVm6bdA3oLZRzGJF2ToVzPz_H-L8NiN2yhTebf-FerxhdULzXUlZlvC508o6cduF4zVxE_n9iq8RjT9aNt1fitB92lqfqDhuMz6M2DJPtkiFqqbrHYeUNzFKLyOfik5ct2lQ/s1600/image083.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfeSvkbMRHVm6bdA3oLZRzGJF2ToVzPz_H-L8NiN2yhTebf-FerxhdULzXUlZlvC508o6cduF4zVxE_n9iq8RjT9aNt1fitB92lqfqDhuMz6M2DJPtkiFqqbrHYeUNzFKLyOfik5ct2lQ/s1600/image083.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
On Adding, it shows as below:﻿&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq6Uj4clcQEbM6s_85k7cfEUGdD5oMbF53rQmkakTvcwKpyHZnlm_MdUdAvALhW5cj2x_ZRuHm_O2N5YrjjXq1wmH0Hjq4Sh1NSJRwLJFSLkYNbrIpcHz7p1lCztcYEQ-t-P-xJJ7Zcs8/s1600/image085.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq6Uj4clcQEbM6s_85k7cfEUGdD5oMbF53rQmkakTvcwKpyHZnlm_MdUdAvALhW5cj2x_ZRuHm_O2N5YrjjXq1wmH0Hjq4Sh1NSJRwLJFSLkYNbrIpcHz7p1lCztcYEQ-t-P-xJJ7Zcs8/s1600/image085.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click on the dropdown and select the desired products.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj46dR7sY3UYxrhBcds0kBaNpz3FYZV3hjPxPFt-FGZ5OMpQPsOYRit3rMICss-LiLJHh1Iy8KbUPlhbQNSBaay1GWAZpyTqqXqpHDbJX61hnYl2iGOY2iUSFhYzXke7tNb9HeUyHcOUQg/s1600/image087.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj46dR7sY3UYxrhBcds0kBaNpz3FYZV3hjPxPFt-FGZ5OMpQPsOYRit3rMICss-LiLJHh1Iy8KbUPlhbQNSBaay1GWAZpyTqqXqpHDbJX61hnYl2iGOY2iUSFhYzXke7tNb9HeUyHcOUQg/s1600/image087.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Then Add Fiscal Year from right side detail window into Bottom series as shown below:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJk4ACbH2Qh5_a1JF71EXgfsVFYrFLUjjJHJzOOR9NZ-bawZwFQGQF-t0dglE5plWye1T9Ur7dyPsnu29Lpj9Jo5meUUlnwj7p74UU5qznus2z6l5buTG2U9erEHbKD-SDjD0DSZk-XGo/s1600/image089.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJk4ACbH2Qh5_a1JF71EXgfsVFYrFLUjjJHJzOOR9NZ-bawZwFQGQF-t0dglE5plWye1T9Ur7dyPsnu29Lpj9Jo5meUUlnwj7p74UU5qznus2z6l5buTG2U9erEHbKD-SDjD0DSZk-XGo/s1600/image089.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And that’s all. Report is ready as shown below&lt;/span&gt;:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4de7LLvfCA17_pM0GH-mIZx_bjlQKNkf2tLS4uRJrmYJpSnA3THc2tvCCEssilfTvNwJID-USD1caQtO4tL1fDyZ9DllNlBmBan7vYGFsl6Q3NiJSz-rmO-SEADB9mLnPze6nTI8ntPM/s1600/image091.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4de7LLvfCA17_pM0GH-mIZx_bjlQKNkf2tLS4uRJrmYJpSnA3THc2tvCCEssilfTvNwJID-USD1caQtO4tL1fDyZ9DllNlBmBan7vYGFsl6Q3NiJSz-rmO-SEADB9mLnPze6nTI8ntPM/s1600/image091.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Showing Scorecard and Report on site&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The Scorecard and Report are created using Dashboard Designer and saved into  the PPS Configuration List. Now to show them on a site, SharePoint provides OOB Webparts. Those are Performance Point Scorecard and Report.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIb3DhlFxaZtaihw-_nURUp9jY7sJidce12hhi2DfvpespOfXU9EEYHaSDOsxN16FmuNSsFsgDpwo1gsoBtC63hnx6GUk6rqRmUzrFay4I7cVI_ghFX1OmycV7soVjksK5oz-uHqsYsDc/s1600/image093.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIb3DhlFxaZtaihw-_nURUp9jY7sJidce12hhi2DfvpespOfXU9EEYHaSDOsxN16FmuNSsFsgDpwo1gsoBtC63hnx6GUk6rqRmUzrFay4I7cVI_ghFX1OmycV7soVjksK5oz-uHqsYsDc/s1600/image093.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For displaying Scorecard, use Scorecard webpart and provide the path of your newly created Scorecard in  the Location property. The same is applicable for reports as well.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBmkdMKHpJVuvvs3ocO_VxpmrfAxwsjO7uQaBncZKLn21RyxaPu0YySee42R47a-hG8aa3AGimsRsHVRW1YVbisrF1sOmY0E-p42dz5AmU60Oz3vuc_y7n4VQIGa4asJyaJLG6mQcAvoI/s1600/image095.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBmkdMKHpJVuvvs3ocO_VxpmrfAxwsjO7uQaBncZKLn21RyxaPu0YySee42R47a-hG8aa3AGimsRsHVRW1YVbisrF1sOmY0E-p42dz5AmU60Oz3vuc_y7n4VQIGa4asJyaJLG6mQcAvoI/s1600/image095.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/1896348270098547737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/performancepoint-services-pps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1896348270098547737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1896348270098547737'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/08/performancepoint-services-pps.html' title='PerformancePoint Services (PPS) - Configuration'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiljXV-2_LbwTy71AYm-fFh24GB2LBRcsGsLL7YBU2BX1ZXX3w4Te6IqxmWDPUVRXbGA3F2PHhlVocgpN5lbeN7ZV501H3LMc6RabCibov7UeCtZ_0QmpKgT-6ntGPhvTWYhWiN2sXqLcg/s72-c/image001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-20035915467751722</id><published>2012-07-30T06:01:00.001-07:00</published><updated>2012-08-11T00:57:07.645-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Column to Row"/><category scheme="http://www.blogger.com/atom/ns#" term="Transpose Table"/><title type='text'>Transpose Table - Columns to Row in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 12px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;One of most 
discussed question about TSQL algorithms is „How to transpose (change columns 
into rows) a table?” Most solutions based on static code which is adapted to 
your table. For every table, you need to write &lt;b&gt;different &lt;/b&gt;code. Some 
authors propose using PIVOT statement, but it is not very handy to use this 
because PIVOT uses rows aggregation so avoiding this is always so 
easy.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 12pt; text-align: justify; text-indent: 12pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Another 
question is &quot;What if i need not only data change but gets columns/rows names 
too?” I you read my previous posts so you know which method we will use: 
XML-based.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;This is how it looks:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;!--our content--&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;pre&gt;DECLARE @xml XML ,
    @RowCount BIGINT
CREATE TABLE #Table
    (
      Column#1 INT ,
      Column2 NVARCHAR(MAX) ,
      Column3 DECIMAL(15, 2)
    )
CREATE TABLE #TempTable
    (
      RowID BIGINT ,
      CellId BIGINT ,
      Value NVARCHAR(MAX) ,
      ColumnName NVARCHAR(MAX)
    )
DECLARE @sSQl NVARCHAR(MAX)= &#39;SELECT (SELECT DISTINCT ColumnName FROM #TempTable WHERE CellId=Cell.CellId) as ColumnName,&#39;
INSERT  INTO #Table
        SELECT  5 ,
                &#39;Column_1_Test_String&#39; ,
                99.99
INSERT  INTO #Table
        SELECT  9 ,
                &#39;Column_2_Test_String&#39; ,
                NULL


SET @xml = ( SELECT * ,
                    Row_Number() OVER ( ORDER BY ( SELECT   1
                                                 ) ) Rn
             FROM   #Table Row
           FOR
             XML AUTO,
                 ROOT(&#39;Root&#39;) ,
                 ELEMENTS XSINIL
           ) ;
WITH XMLNAMESPACES(&#39;http://www.w3.org/2001/XMLSchema-instance&#39; AS xsi),RC AS
   (SELECT COUNT(Row.value(&#39;.&#39;, &#39;nvarchar(MAX)&#39;)) [RowCount]
   FROM @xml.nodes(&#39;Root/Row&#39;) AS WTable(Row))
,c AS(
SELECT b.value(&#39;local-name(.)&#39;,&#39;nvarchar(max)&#39;) ColumnName,
  b.value(&#39;.[not(@xsi:nil = &quot;true&quot;)]&#39;,&#39;nvarchar(max)&#39;) Value,
  b.value(&#39;../Rn[1]&#39;,&#39;nvarchar(max)&#39;) Rn,
  ROW_NUMBER() OVER (PARTITION BY b.value(&#39;../Rn[1]&#39;,&#39;nvarchar(max)&#39;) ORDER BY (SELECT 1)) Cell
FROM
 @xml.nodes(&#39;//Root/Row/*[local-name(.)!=&quot;Rn&quot;]&#39;) a(b)

 ),Cols AS (
 SELECT  DISTINCT c.ColumnName,
  c.Cell
 FROM c
 )
 INSERT INTO #TempTable (CellId,RowID,Value,ColumnName)
 SELECT Cell,Rn,Value,REPLACE(c.ColumnName,&#39;_x0023_&#39;,&#39;#&#39;)
 FROM c
 
SELECT  @sSQL = @sSQl
        + &#39;(SELECT T2.Value FROM #Temptable T2 WHERE T2.CellId=Cell.CellID AND T2.Rowid=&#39;
        + CAST(T.RowId AS NVARCHAR) + &#39;) AS Row_&#39; + CAST(T.RowID AS NVARCHAR)
        + &#39;,&#39;
FROM    ( SELECT DISTINCT
                    RowId
          FROM      #TempTable
        ) T
SET @sSQl = LEFT(@sSQL, LEN(@sSQL) - 1)
    + &#39; FROM (SELECT DISTINCT CellId FROM #TempTable) Cell&#39;
EXECUTE sp_Executesql @sSQl
--here you will have your output
DROP TABLE #Table
DROP TABLE #TempTable&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;b&gt;Description&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Lines 1-24: declaring variables and filling up source 
table:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;Lines 25-33: writing source table as XML into XML 
variable&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxHOcH7k_h2Y4CNutPaD1NuRQqEbQLxys0Ots-DjK8O4xX3DINaI5Ok2pXc3Er9HF1OdCdFpza0D92ptECxCNfXj4Oo1EaRqdom077EDR1q9nwn7O78qkD9G0BzegSptZSwlk3M9335g/s1600/Capture.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;84&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxHOcH7k_h2Y4CNutPaD1NuRQqEbQLxys0Ots-DjK8O4xX3DINaI5Ok2pXc3Er9HF1OdCdFpza0D92ptECxCNfXj4Oo1EaRqdom077EDR1q9nwn7O78qkD9G0BzegSptZSwlk3M9335g/s320/Capture.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Lines 34-52: 
filling up ##Temptable (temporary table). It is used for debug purpose only. If 
you test this solution, you can avoid this and implement it as next CTE in chain 
of sub-queries.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Lines 54-63: Create dynamic SQL statement to prepare 
transposed output&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;Line 64: Executing dynamic SQL. Here we have next 
output:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsBfG8ofSg3O_Lw4nBVDkD2uAPOJ9FNutKNLAR8ONjab6UqnubcJ1sWnbQXqqi7CK-poPao8Gwe5QV-LActKb-xPZCZeJRgp8RAfTY0sohHD7pE3j4ssesvCuI5vs5zNWzMWhVOxxgu-0/s1600/Capture.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;59&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsBfG8ofSg3O_Lw4nBVDkD2uAPOJ9FNutKNLAR8ONjab6UqnubcJ1sWnbQXqqi7CK-poPao8Gwe5QV-LActKb-xPZCZeJRgp8RAfTY0sohHD7pE3j4ssesvCuI5vs5zNWzMWhVOxxgu-0/s320/Capture.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 16px;&quot;&gt;Lines 66-67 Dropping temporary 
tables.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 16px;&quot;&gt;Here I described how you can easily transpose table 
without knowing nothing about source table structure. Based on code above,you 
can prepare stored procedure which will get XML generated from table and it will 
return transposed XML. In such way you can easily transpose any of your tables 
from any place in your code.&lt;/span&gt; &lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/20035915467751722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/transpose-table-columns-to-row-in-sql.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/20035915467751722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/20035915467751722'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/transpose-table-columns-to-row-in-sql.html' title='Transpose Table - Columns to Row in SQL Server'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxHOcH7k_h2Y4CNutPaD1NuRQqEbQLxys0Ots-DjK8O4xX3DINaI5Ok2pXc3Er9HF1OdCdFpza0D92ptECxCNfXj4Oo1EaRqdom077EDR1q9nwn7O78qkD9G0BzegSptZSwlk3M9335g/s72-c/Capture.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-3162915888915669831</id><published>2012-07-26T22:11:00.002-07:00</published><updated>2012-08-11T00:57:21.024-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Heap Table"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server Heap"/><title type='text'>SQL Server Heap Index</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A heap is a table without a clustered index. Heaps have one row in sys.partitions, with index_id = 0 for each partition used by the heap. By default, a heap has a single partition. When a heap has multiple partitions, each partition has a heap structure that contains the data for that specific partition. For example, if a heap has four partitions, there are four heap structures; one in each partition.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Depending on the data types in the heap, each heap structure will have one or more allocation units to store and manage the data for a specific partition. At a minimum, each heap will have one IN_ROW_DATA allocation unit per partition. The heap will also have one LOB_DATA allocation unit per partition, if it contains large object (LOB) columns. It will also have one ROW_OVERFLOW_DATA allocation unit per partition, if it contains variable length columns that exceed the 8,060 byte row size limit. For more information about allocation units, see Table and Index Organization. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The column first_iam_page in the sys.system_internals_allocation_units system view points to the first IAM page in the chain of IAM pages that manage the space allocated to the heap in a specific partition. SQL Server uses the IAM pages to move through the heap. The data pages and the rows within them are not in any specific order and are not linked. The only logical connection between data pages is the information recorded in the IAM pages.&lt;/span&gt;&lt;/div&gt;
&lt;!--our content--&gt;

&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The sys.system_internals_allocation_units system view is reserved for Microsoft SQL Server internal use only. Future compatibility is not guaranteed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Table scans or serial reads of a heap can be performed by scanning the IAM pages to find the extents that are holding pages for the heap. Because the IAM represents extents in the same order that they exist in the data files, this means that serial heap scans progress sequentially through each file. Using the IAM pages to set the scan sequence also means that rows from the heap are not typically returned in the order in which they were inserted.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The following illustration shows how the SQL Server Database Engine uses IAM pages to retrieve data rows in a single partition heap. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivf2kw_tuu-TWplRq_8LjOD7S5JhUARvwQNhlcmZlXU8iuslLjrNjGIqoDoTxk1Dt-DytGDJy689EYoZjBEyzGbehuSGz_UwsA1hPZlJav_knEKbiEUMEY-E09OTNwp20pV2CjgNqL__k/s1600/IC22444.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivf2kw_tuu-TWplRq_8LjOD7S5JhUARvwQNhlcmZlXU8iuslLjrNjGIqoDoTxk1Dt-DytGDJy689EYoZjBEyzGbehuSGz_UwsA1hPZlJav_knEKbiEUMEY-E09OTNwp20pV2CjgNqL__k/s1600/IC22444.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Unique and non-unique SQL Server indexes on a heap table&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In the upcoming weblog postings I want to work out the differences between unique and non-unique indexes in SQL Server. I assume that you already know the concepts about clustered- and non clustered indexes and how they are used in SQL Server. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In the past I&#39;ve done a lot of trainings and consulting regarding SQL Server performance tuning and it seems that some people doesn&#39;t know the differences and implications between unique and non-unique indexes. And as you will see in the upcoming postings there are really big differences how SQL Server stores those two variants that impact the size and the efficiency of your indexes. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Let&#39;s start today with unique and non unique non clustered indexes on a table without a clustered index, a so-called &lt;strong&gt;heap table&lt;/strong&gt; in SQL Server. The following listing shows how to create our test table and populate it with 80.000 records. Each record needs 400 bytes, therefore SQL Server can put 20 records on each data page. This means that our heap table contains 4.000 data pages and 1 IAM page. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Create a table with 393 length + 7 bytes overhead = 400 bytes &lt;/span&gt;&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Therefore 20 records can be stored on one page (8.096 / 400) = 20,24 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;TABLE&lt;/span&gt; CustomersHeap &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; CustomerID &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; CustomerName &lt;span style=&quot;color: blue;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;100&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; CustomerAddress &lt;span style=&quot;color: blue;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;100&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; Comments &lt;span style=&quot;color: blue;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;189&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Insert 80.000 records &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DECLARE&lt;/span&gt; @i &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 1 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;WHILE &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;@i &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;=&lt;/span&gt; 80000&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;BEGIN &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;INTO&lt;/span&gt; CustomersHeap &lt;span style=&quot;color: blue;&quot;&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;( &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; @i&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;CustomerName&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;@i &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;CustomerAddress&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;@i &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;Comments&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;@i &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt; @i &lt;span style=&quot;color: grey;&quot;&gt;+=&lt;/span&gt; 1 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;END &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Retrieve physical information about the heap table &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_db_index_physical_stats &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;DB_ID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;NonClusteredIndexStructureHeap&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;OBJECT_ID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;CustomersHeap&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;DETAILED&#39; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
After the creation of the heap table and the data loading, you can now define a unique and non-unique non-clustered index on the column &lt;strong&gt;CustomerID&lt;/strong&gt; of our heap table. We will define both indexes on the same column so that we can analyze the differences between unique- and non-unique non-clustered indexes.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Create a unique non clustered index &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;UNIQUE&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;NONCLUSTERED&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;INDEX&lt;/span&gt; IDX_UniqueNCI_CustomerID &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;ON&lt;/span&gt; CustomersHeap&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;CustomerID&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Create a non-unique non clustered index &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;NONCLUSTERED&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;INDEX&lt;/span&gt; IDX_NonUniqueNCI_CustomerID &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;ON&lt;/span&gt; CustomersHeap&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;CustomerID&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you want to define a unique non-clustered index on a column that doesn&#39;t contain unique data, you will get back an error message from SQL Server. Important to know is that SQL Server creates a non-unique non-clustered index if you don&#39;t specify the &lt;strong&gt;UNIQUE&lt;/strong&gt; property when creating a non-clustered index. So by default you will always get a non-unique non-clustered index!&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;After the creation of both indexes you can analyze their size, their index depth, their size etc. with the DMV &lt;strong&gt;sys.dm_db_index_physical_stats&lt;/strong&gt;. You can to pass in as the 3rd parameter the index-id. The IDs of all non-clustered indexes starts at 2, therefore the first non-clustered index gets the ID 2 and the second one the ID 3&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Retrieve physical information about the unique non-clustered index &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_db_index_physical_stats &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;DB_ID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;NonClusteredIndexStructureHeap&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;OBJECT_ID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;CustomersHeap&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; 2&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;DETAILED&#39; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Retrieve physical information about the non-unique non-clustered index &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_db_index_physical_stats &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;DB_ID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;NonClusteredIndexStructureHeap&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;OBJECT_ID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;CustomersHeap&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;), &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; 3&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;NULL, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;DETAILED&#39; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;As you can see from both outputs, the index root page of the unique non-clustered index is occupied of around 24%, where the index root page of the non-unique non-clustered index is occupied of around 39%, so there must be a difference in the storage format of unique/non-unique non-clustered indexes on a heap table! In the next step we create a simple helper table that stores the output of the &lt;strong&gt;DBCC IND&lt;/strong&gt; command. The structure of this helper table is directly taken from the excellent book &lt;strong&gt;SQL Server 2008 Internals&lt;/strong&gt;.&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Create a helper table &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;TABLE&lt;/span&gt; sp_table_pages &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;PageFID &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;PagePID &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; IAMFID &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; IAMPID &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; ObjectID &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; IndexID &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; PartitionNumber &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; PartitionID &lt;span style=&quot;color: blue;&quot;&gt;BIGINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; iam_chain_type &lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;30&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; PageType &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; IndexLevel &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; NextPageFID &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; NextPagePID &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; PrevPageFID &lt;span style=&quot;color: blue;&quot;&gt;TINYINT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt; PrevPagePID &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt; PRIMARY KEY &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;PageFID&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; PagePID&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;After the creation of this helper table we can dump out all pages that are belonging to our non-clustered indexes to this helper table with the following two calls to DBCC INC in combination with the &lt;strong&gt;INSERT INTO&lt;/strong&gt; statement&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;-- Write everything in a table for further analysis &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;INSERT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;INTO&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; sp_table_pages &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;DBCC IND(NonClusteredIndexStructureHeap, CustomersHeap, 2)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;courier new&#39;;&quot;&gt;-- Write everything in a table for further analysis &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;INSERT&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;INTO&lt;/span&gt; sp_table_pages &lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;DBCC IND(NonClusteredIndexStructureHeap, CustomersHeap, 3)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Now we can start analyzing our non-clustered indexes by using the undocumented &lt;strong&gt;DBCC PAGE&lt;/strong&gt; command.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;To get some information back from &lt;strong&gt;DBCC PAGE&lt;/strong&gt; you have to enable the flag 3604 of DBCC:&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DBCC&lt;/span&gt; TRACEON&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;3604&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Let&#39;s dump out the index root page of our unique non-clustered index by the following command: &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DBCC&lt;/span&gt; PAGE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;NonClusteredIndexStructureHeap&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 4192&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 3&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This will result in the following result in SQL Server Management Studio: &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG2JtA4SUq6SGOiIZMAgv1fxCh0Dn0oC4uHd4gfk2qZ18eYexO7lZ8mc0pgZcxlLJvO_Y3QJQ4sx-vnUXAkcfFk1hGOeHZf28tBrCkgUX8F-RP23YhsHg-fu-RYppy9vmrn2w6-DwMRwE/s1600/image_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;189&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG2JtA4SUq6SGOiIZMAgv1fxCh0Dn0oC4uHd4gfk2qZ18eYexO7lZ8mc0pgZcxlLJvO_Y3QJQ4sx-vnUXAkcfFk1hGOeHZf28tBrCkgUX8F-RP23YhsHg-fu-RYppy9vmrn2w6-DwMRwE/s320/image_2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
As you can see from this screenshot SQL Server stores the child page of the B-tree where the minimum key of the non-clustered index is located. The child page 4161 contains for example the record with the minimum key of 540 up to the maximum key of 1078. When you dump out the index root page with the dump option 1 you get the byte by byte representation of all index records on the index root page: &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DBCC&lt;/span&gt; PAGE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;NonClusteredIndexStructureHeap&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 4192&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
SQL Server needs here 11 bytes for storing an index row. These 11 bytes are storing the following information: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;1 byte: Status Bits &lt;/li&gt;
&lt;li&gt;4 bytes: Customer ID, like 540 &lt;/li&gt;
&lt;li&gt;4 bytes: child PageID, like 4161 &lt;/li&gt;
&lt;li&gt;2 bytes: FileID, like 1 &lt;/li&gt;
&lt;/ul&gt;
As you can see it&#39;s up to the length of the non-clustered key how long an index row is. This also means that SQL Server is able to store more index rows on an index page if you choose a smaller non-clustered key. If you choose for example a &lt;strong&gt;CHAR(100)&lt;/strong&gt; as a non-clustered index key, then SQL Server needs more index pages for your non-clustered index, which is not so efficient as using a smaller index key. The T-SQL script enclosed to this posting shows you how you can decode those bytes from the hexadecimal representation. &lt;br /&gt;
Finally you can dump out the child page 4161, which is located on the leaf-level of the non-clustered index. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DBCC&lt;/span&gt; PAGE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;NonClusteredIndexStructureHeap&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 4161&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 3&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvANwdui6CPfOHfC0QntqMLstIWFU9HaVJ0fPASI9zF071RzYGWDAzqiZ6K32mhxIuczi1-AHbM2cx-OFOHdRvfc8Ca5LFYpwS3F1l9Uf10VN_uB6SHHqCC-EqQHaMKuFsM-LgYzwfjoc/s1600/image_4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvANwdui6CPfOHfC0QntqMLstIWFU9HaVJ0fPASI9zF071RzYGWDAzqiZ6K32mhxIuczi1-AHbM2cx-OFOHdRvfc8Ca5LFYpwS3F1l9Uf10VN_uB6SHHqCC-EqQHaMKuFsM-LgYzwfjoc/s320/image_4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
As you can see from the figure, SQL Server stores for each index key on which data page and on which slot the corresponding record is located. Because we have not defined a clustered index on our table, SQL Server uses here the RID (Row Identifier) to point to the correct record on the data page. Index pages on the leaf-level on a heap table are different from leaf-level index pages defined on a clustered table (a table that contains a clustered index).When you dump out the leaf-level index page of the non-clustered index you can see that SQL Server needs 13 bytes per index row: &lt;ul&gt;
&lt;li&gt;1 byte: Status Bits &lt;/li&gt;
&lt;li&gt;4 bytes: CustomerID, like 540 &lt;/li&gt;
&lt;li&gt;4 bytes: PageID, like 178, &lt;/li&gt;
&lt;li&gt;2 bytes: FileID, like 1 &lt;/li&gt;
&lt;li&gt;2 bytes: Slot number, like 19 &lt;/li&gt;
&lt;/ul&gt;
Finally with this information in your hand, it is very easy to locate the correct record on the data page, because you know the PageID, FileID, and also the slot number where the record on the data page is located. Easy, isn&#39;t it? &lt;br /&gt;
Let&#39;s move on now to non-unique non-clustered indexes. Earlier we have already created such an index, which gets the index-id of 3 from SQL Server, because it&#39;s the second non-clustered index we have defined. In my case the index root page of the non-unique non-clustered index is located on page 4264, therefore I dump it out with the following command:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;DBCC&lt;/span&gt; PAGE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;NonClusteredIndexStructureHeap&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 4264&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 3&lt;span style=&quot;color: grey;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9pt;&quot;&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizgsFs70gmhZUJBxaFOSHZmMAtPQxaRV8fdLyyTsOW2566CA5K5F8QzH8EZqHhwpDKMZj4Zivv7svma1ZRzlKGtaXrPSxtWSaaim9urT8Oj0o2Fm2rMi24UsG_sOn8AKAWbmiuI8kXr0A/s1600/image_6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizgsFs70gmhZUJBxaFOSHZmMAtPQxaRV8fdLyyTsOW2566CA5K5F8QzH8EZqHhwpDKMZj4Zivv7svma1ZRzlKGtaXrPSxtWSaaim9urT8Oj0o2Fm2rMi24UsG_sOn8AKAWbmiuI8kXr0A/s320/image_6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
But wait! Now the result from &lt;strong&gt;DBCC PAGE&lt;/strong&gt; on the root index page on a non-unique non-clustered index is different! As you can see SQL Server returns here an additional column named &quot;&lt;strong&gt;HEAP RID (key)&lt;/strong&gt;&quot;. The value in this column is used to make your non-unique non-clustered index unique. The &lt;strong&gt;HEAP RID&lt;/strong&gt; column uses 8 additional bytes in your index row, which encodes the following information that are granted to be unique on a heap table:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;4 bytes: PageID, like 178 &lt;/li&gt;
&lt;li&gt;2 bytes: FileID, like 1 &lt;/li&gt;
&lt;li&gt;2 bytes: Slot number, like 19 &lt;/li&gt;
&lt;/ul&gt;
The overead of a non-unique non-clustered index on a heap table costs you 8 additional bytes per index row - on all index levels, expect the leaf-level, because SQL Server stores here always the HEAP RID as you have seen previously! So please keep this 8 bytes of additional index record overhead in mind, when you create non-clustered indexed that are NOT unique! And as I have said earlier, they are NOT unique by default!!! &lt;br /&gt;
In this example your non-unique non-clustered index is about 2 times bigger than the unique non-clustered index, because the unique index needs 11 bytes and the non-unique index needs 19 bytes (overhead of 8 bytes). When you look back to the output of the DMV &lt;strong&gt;sys.dm_db_index_physical_stats&lt;/strong&gt; you can see that the index root page of the unique non-clustered index has a page space usage of around 24% where the index root page of the non-unique non-clustered index has a page space usage of around 39%. This will make a big difference on large non-clustered indexes! &lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBL2SOW1eth4YaYKIovMGHOOlmsWdZTjjxtx0Sf5kDBSjivNh1ecjmcgHVO2nX6Hkol0rG8j4sSYQPKn9xAl_xfiI1i2417_UQ2PCLye2c5hO4av-MMo0Lg6AyefUiPAreXWlXU8A5-fQ/s1600/image_8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBL2SOW1eth4YaYKIovMGHOOlmsWdZTjjxtx0Sf5kDBSjivNh1ecjmcgHVO2nX6Hkol0rG8j4sSYQPKn9xAl_xfiI1i2417_UQ2PCLye2c5hO4av-MMo0Lg6AyefUiPAreXWlXU8A5-fQ/s1600/image_8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/IenCauHymlo?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/3162915888915669831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/sql-server-heap-index.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/3162915888915669831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/3162915888915669831'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/sql-server-heap-index.html' title='SQL Server Heap Index'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivf2kw_tuu-TWplRq_8LjOD7S5JhUARvwQNhlcmZlXU8iuslLjrNjGIqoDoTxk1Dt-DytGDJy689EYoZjBEyzGbehuSGz_UwsA1hPZlJav_knEKbiEUMEY-E09OTNwp20pV2CjgNqL__k/s72-c/IC22444.gif" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-467450525215794225</id><published>2012-07-25T23:51:00.001-07:00</published><updated>2012-08-11T00:57:44.473-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Power View"/><category scheme="http://www.blogger.com/atom/ns#" term="Power View"/><category scheme="http://www.blogger.com/atom/ns#" term="Power View Reports"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2012 BI"/><title type='text'>Microsoft Power View</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;With SQL Server 2012, Microsoft continues its investment in self-service business intelligence (BI) with the introduction of Power View, an interactive, web-based data exploration, visualization, and presentation technology. I&#39;ll discuss the underlying architecture of Power View and how it fits into Microsoft&#39;s overall BI strategy. I&#39;ll then walk you through how to install it and take advantage of its capabilities.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Do We Need Another BI Tool?&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Figure 1 illustrates how Power View fits into Microsoft&#39;s overall BI strategy. With a BI platform that already includes Microsoft Excel, Excel Services, SQL Server Reporting Services (SSRS), and PerformancePoint Services, you might be wondering why Microsoft introduced another BI tool. Although it does share similarities with these existing technologies, Power View extends ad-hoc reporting to a broader audience.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PmmORj3TmcQXTe6Cu5nCzqQMwbBrpIS9nIMODuW9Va18kaoTfxnQ07Ty6bqUQzDAOfcAfQdmWzHjq7SGEiJOuzOEadfbyKfmV5WWbCU5_saCKdKlCrBItgpMbDGAvUYQWs_0wp6p8y8/s1600/Chessman-SQL2329-Fig1-lg.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PmmORj3TmcQXTe6Cu5nCzqQMwbBrpIS9nIMODuW9Va18kaoTfxnQ07Ty6bqUQzDAOfcAfQdmWzHjq7SGEiJOuzOEadfbyKfmV5WWbCU5_saCKdKlCrBItgpMbDGAvUYQWs_0wp6p8y8/s1600/Chessman-SQL2329-Fig1-lg.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Figure 1: Understanding how Power View fits into Microsofts overall BI strategy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
 &lt;!--our content--&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In most organizations, there are a small number of end users who are comfortable building Excel PivotTables and PivotCharts. Excel Services makes PivotTables easy to consume, but the workbooks published to Excel Services are fairly fixed in terms of layout and interactivity. The number of users who can design a report in SSRS is very small, even with tools such as Report Builder. PerformancePoint Services provides intuitive charts and grids, but their design and deployment is usually done by an IT professional. Plus, there&#39;s no easy way for end users to save personal views. Power View not only addresses these important usability gaps but also provides its own unique capabilities.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Installing Power View&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View is a component of SSRS 2012. Specifically, it&#39;s part of SSRS installed in SharePoint integrated mode. To install Power View in your environment, you need SharePoint 2010 Enterprise Edition SP1 or later.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View is designed to work against an intermediate, business-friendly tabular data model. This tabular data model can be either a PowerPivot workbook that has been deployed to a SharePoint document library or a database in a SQL Server Analysis Services (SSAS) 2012 instance running in tabular mode. Microsoft plans to support connectivity to SSAS running in multidimensional mode in a future service pack.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Getting Started&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Power View reports are created in a web browser. Because Power View leverages Microsoft Silverlight, there&#39;s no desktop application for report authors (or consumers) to download, other than the Silverlight 5.0 runtime. Figure 2 shows an example of how to launch Power View from a SharePoint library, using a PowerPivot workbook as the data source. Power View can also be launched by clicking a Report Data Source (RDS) file or a Business Intelligence Semantic Model (BISM) file, a new type of data connection. The RDS or BISM file is stored in a SharePoint document library and points to either a PowerPivot workbook or a tabular mode database.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTqbFLx3ogrE6AJTZVIih7qdTzDqP6oSIJXojCsmcfJLmP0KIQt6ECKe3SyFYmoB63NUh_6EANdz_N8KHLDIiTjZenyYyy0HiOX1-UGSl-gPX4_SAE2vrlz7HgrVuB8ij4DJgSch6HWeE/s1600/Chessman-SQL2329-Fig2-lg.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTqbFLx3ogrE6AJTZVIih7qdTzDqP6oSIJXojCsmcfJLmP0KIQt6ECKe3SyFYmoB63NUh_6EANdz_N8KHLDIiTjZenyYyy0HiOX1-UGSl-gPX4_SAE2vrlz7HgrVuB8ij4DJgSch6HWeE/s320/Chessman-SQL2329-Fig2-lg.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Figure 2: Launching Power View from a SharePoint library &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once launched, the authoring environment looks and behaves like a cross between Excel, Report Builder, and PowerPoint. Similar to an Excel PivotTable, you can check fields (or drag and drop fields) in a table list to begin building a report, as shown in Figure 3. Another similarity to a PivotTable is that there&#39;s no need to switch between design mode and preview mode. Every change made to the report is instantly visible. Note that behind the scenes, Power View communicates with a tabular data model by issuing Data Analysis Expressions (DAX) queries. DAX was initially introduced as an expression language in PowerPivot.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF5_e9innEEkJYqJlTinuIqpTtdcRErs0BnLSxAGQryoWMw8nkv4HF6IaxWrqwHRZzFCqk83fz83A6GRIe4K2ErzVEBs4bocg7zO_gs4pNSr8P2zqqwr75erMVJ8NERuWXdu5VJgjcjN0/s1600/image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;165&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF5_e9innEEkJYqJlTinuIqpTtdcRErs0BnLSxAGQryoWMw8nkv4HF6IaxWrqwHRZzFCqk83fz83A6GRIe4K2ErzVEBs4bocg7zO_gs4pNSr8P2zqqwr75erMVJ8NERuWXdu5VJgjcjN0/s320/image.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Figure 3: Building a report in Power View&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Like Report Builder, Power View has many types of visualizations from which to choose. In my report, I wanted to analyze various economic indicators by presidential term. I selected the Tiles visualization so that each tile represents a president, and I converted the initial table to a card view (which displays each row from a table in a format similar to an index card). A tile acts as a container in that the card and any additional tables and charts will automatically be scoped to the selected tile (in this case, a particular president). Like a traditional reporting tool, Power View lets you arrange different tables and charts in a free-form manner. For example, in Figure 4, I added a line chart within the tile to display economic growth by calendar quarter. In addition to the line chart, Power View supports matrix, column, bar, and scatter charts.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nuXaOnExoIriP3EOYme4j0Cg4J1Rf6guyughEfKaPBHSB5uDIOiNzdnRNMJm3cDbtXiChCorKRfT2wE0jYgjI3BWdOblwPymC_i6I3MFdyxM-W6EU_oLGSShV5XbI3ernZBqPZMeMuU/s1600/untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nuXaOnExoIriP3EOYme4j0Cg4J1Rf6guyughEfKaPBHSB5uDIOiNzdnRNMJm3cDbtXiChCorKRfT2wE0jYgjI3BWdOblwPymC_i6I3MFdyxM-W6EU_oLGSShV5XbI3ernZBqPZMeMuU/s320/untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Figure 4: Adding a line chart within the tile to display economic growth by calendar quarter &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Saving and Sharing Power View Reports&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To save a Power View report, you simply click Save on the File menu. The report is saved as a single file, with an .rdlx extension. A report file can be saved locally, but it must be saved to a SharePoint document library in order for others to view it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Viewing a saved report is straightforward. An end user simply clicks the report from a document library, and it&#39;s rendered in the browser. (Note that a user will need both Read and View permissions to view a Power View report.) From here, the user can print, export, or edit the report. Any user who is able to view a report is also able to edit it, but the user must have at least Contribute permissions to save any changes.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/7k77Pzf5Dlg?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/467450525215794225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/microsoft-power-view.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/467450525215794225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/467450525215794225'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/microsoft-power-view.html' title='Microsoft Power View'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PmmORj3TmcQXTe6Cu5nCzqQMwbBrpIS9nIMODuW9Va18kaoTfxnQ07Ty6bqUQzDAOfcAfQdmWzHjq7SGEiJOuzOEadfbyKfmV5WWbCU5_saCKdKlCrBItgpMbDGAvUYQWs_0wp6p8y8/s72-c/Chessman-SQL2329-Fig1-lg.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-2450821526899662101</id><published>2012-07-24T22:34:00.003-07:00</published><updated>2012-08-11T00:58:02.324-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Clustered Index"/><category scheme="http://www.blogger.com/atom/ns#" term="Composite Index"/><category scheme="http://www.blogger.com/atom/ns#" term="Covering Index"/><category scheme="http://www.blogger.com/atom/ns#" term="Index"/><category scheme="http://www.blogger.com/atom/ns#" term="Index Design"/><category scheme="http://www.blogger.com/atom/ns#" term="Index Structures"/><category scheme="http://www.blogger.com/atom/ns#" term="Nonclustered Indexes"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server Index Basics"/><category scheme="http://www.blogger.com/atom/ns#" term="Unique Index"/><title type='text'>SQL Server Index - Basics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;One of the most important routes to high performance in a SQL Server database is the index. Indexes speed up the querying process by providing swift access to rows in the data tables, similarly to the way a book’s index helps you find information quickly within that book. In this article, I provide an overview of SQL Server indexes and explain how they’re defined within a database and how they can make the querying process faster. Most of this information applies to indexes in both SQL Server 2005 and 2008; the basic structure has changed little from one version to the next. In fact, much of the information also applies to SQL Server 2000. This does not mean there haven’t been changes. New functionality has been added with each successive version; however, the underlying structures have remained relatively the same. So for the sake of brevity, I stick with 2005 and 2008 and point out where there are differences in those two versions.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!--our content--&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Index Structures&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Indexes are created on columns in tables or views. The index provides a fast way to look up data based on the values within those columns. For example, if you create an index on the primary key and then search for a row of data based on one of the primary key values, SQL Server first finds that value in the index, and then uses the index to quickly locate the entire row of data. Without the index, a table scan would have to be performed in order to locate the row, which can have a significant effect on performance.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can create indexes on most columns in a table or a view. The exceptions are primarily those columns configured with large object (LOB) data types, such as &lt;b&gt;image&lt;/b&gt;, &lt;b&gt;text,&lt;/b&gt; and &lt;b&gt;varchar(max)&lt;/b&gt;. You can also create indexes on XML columns, but those indexes are slightly different from the basic index and are beyond the scope of this article. Instead, I&#39;ll focus on those indexes that are implemented most commonly in a SQL Server database.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;An index is made up of a set of pages (index nodes) that are organized in a B-tree structure. This structure is hierarchical in nature, with the root node at the top of the hierarchy and the leaf nodes at the bottom.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLwbUADj52YUlU5OnSTjx3hkO5pgw0z97pROgoCxG02M1vckafVd9gcoZJPwJXB0hXkpwJPbeYqvDBUEviVLIKRbgOhgOH-vVNgxtw7q0zUEI6_V6jJ_30qNqip5ieoxtBG5sHb7Mo_dA/s1600/610-image002.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLwbUADj52YUlU5OnSTjx3hkO5pgw0z97pROgoCxG02M1vckafVd9gcoZJPwJXB0hXkpwJPbeYqvDBUEviVLIKRbgOhgOH-vVNgxtw7q0zUEI6_V6jJ_30qNqip5ieoxtBG5sHb7Mo_dA/s1600/610-image002.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Clustered Indexes&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A clustered index stores the actual data rows at the leaf level of the index. Returning to the example above, that would mean that the entire row of data associated with the primary key value of 123 would be stored in that leaf node. An important characteristic of the clustered index is that the indexed values are sorted in either ascending or descending order. As a result, there can be only one clustered index on a table or view. In addition, data in a table is sorted only if a clustered index has been defined on a table.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;strong&gt;Note: &lt;/strong&gt;A table that has a clustered index is referred to as a &lt;i&gt;clustered table&lt;/i&gt;. A table that has no clustered index is referred to as a &lt;i&gt;heap&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Nonclustered Indexes&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Unlike a clustered indexed, the leaf nodes of a nonclustered index contain only the values from the indexed columns and row locators that point to the actual data rows, rather than contain the data rows themselves. This means that the query engine must take an additional step in order to locate the actual data.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A row locator’s structure depends on whether it points to a clustered table or to a heap. If referencing a clustered table, the row locator points to the clustered index, using the value from the clustered index to navigate to the correct data row. If referencing a heap, the row locator points to the actual data row. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Nonclustered indexes cannot be sorted like clustered indexes; however, you can create more than one nonclustered index per table or view. SQL Server 2005 supports up to 249 nonclustered indexes, and SQL Server 2008 support up to 999. This certainly doesn’t mean you should create that many indexes. Indexes can both help and hinder performance, as I explain later in the article.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In addition to being able to create multiple nonclustered indexes on a table or view, you can also add &lt;i&gt;included columns&lt;/i&gt; to your index. This means that you can store at the leaf level not only the values from the indexed column, but also the values from non-indexed columns. This strategy allows you to get around some of the limitations on indexes. For example, you can include non-indexed columns in order to exceed the size limit of indexed columns (900 bytes in most cases).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Index Types&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In addition to an index being clustered or nonclustered, it can be configured in other ways:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0in; margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Composite index:&lt;/b&gt; An index that contains more than one column. In both SQL Server 2005 and 2008, you can include up to 16 columns in an index, as long as the index doesn’t exceed the 900-byte limit. Both clustered and nonclustered indexes can be composite indexes. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Unique Index:&lt;/b&gt; An index that ensures the uniqueness of each value in the indexed column. If the index is a composite, the uniqueness is enforced across the columns as a whole, not on the individual columns. For example, if you were to create an index on the FirstName and LastName columns in a table, the names together must be unique, but the individual names can be duplicated. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A unique index is automatically created when you define a primary key or unique constraint:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0in; margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;ul style=&quot;margin-bottom: 0in; margin-top: 0in;&quot; type=&quot;square&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Primary key:&lt;/b&gt; When you define a primary key constraint on one or more columns, SQL Server automatically creates a unique, clustered index if a clustered index does not already exist on the table or view. However, you can override the default behavior and define a unique, nonclustered index on the primary key. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Unique:&lt;/b&gt; When you define a unique constraint, SQL Server automatically creates a unique, nonclustered index. You can specify that a unique clustered index be created if a clustered index does not already exist on the table. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;margin-bottom: 0in; margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Covering index:&lt;/b&gt; A type of index that includes all the columns that are needed to process a particular query. For example, your query might retrieve the FirstName and LastName columns from a table, based on a value in the ContactID column. You can create a covering index that includes all three columns.&lt;/span&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Index Design&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;start&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As beneficial as indexes can be, they must be designed carefully. Because they can take up significant disk space, you don’t want to implement more indexes than necessary. In addition, indexes are automatically updated when the data rows themselves are updated, which can lead to additional overhead and can affect performance. As a result, index design should take into account a number of considerations.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;start&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Database&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As mentioned above, indexes can enhance performance because they can provide a quick way for the query engine to find data. However, you must also take into account whether and how much you’re going to be inserting, updating, and deleting data. When you modify data, the indexes must also be modified to reflect the changed data, which can significantly affect performance. You should consider the following guidelines when planning your indexing strategy:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0in; margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For tables that are heavily updated, use as few columns as possible in the index, and don’t over-index the tables. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If a table contains a lot of data but data modifications are low, use as many indexes as necessary to improve query performance. However, use indexes judiciously on small tables because the query engine might take longer to navigate the index than to perform a table scan. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For clustered indexes, try to keep the length of the indexed columns as short as possible. Ideally, try to implement your clustered indexes on unique columns that do not permit null values. This is why the primary key is often used for the table’s clustered index, although query considerations should also be taken into account when determining which columns should participate in the clustered index. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The uniqueness of values in a column affects index performance. In general, the more duplicate values you have in a column, the more poorly the index performs. On the other hand, the more unique each value, the better the performance. When possible, implement unique indexes. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For composite indexes, take into consideration the order of the columns in the index definition. Columns that will be used in comparison expressions in the WHERE clause (such as WHERE FirstName = &#39;Charlie&#39;) should be listed first. Subsequent columns should be listed based on the uniqueness of their values, with the most unique listed first. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can also index computed columns if they meet certain requirements. For example, the expression used to generate the values must be deterministic (which means it always returns the same result for a specified set of inputs).&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/OkXaJ7lomME?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/2450821526899662101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/sql-server-index-basics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2450821526899662101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/2450821526899662101'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/sql-server-index-basics.html' title='SQL Server Index - Basics'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLwbUADj52YUlU5OnSTjx3hkO5pgw0z97pROgoCxG02M1vckafVd9gcoZJPwJXB0hXkpwJPbeYqvDBUEviVLIKRbgOhgOH-vVNgxtw7q0zUEI6_V6jJ_30qNqip5ieoxtBG5sHb7Mo_dA/s72-c/610-image002.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-4413395401956869784</id><published>2012-07-22T00:27:00.001-07:00</published><updated>2012-08-11T00:58:17.022-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Full text Search"/><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2012"/><title type='text'>Fulltext Search in SQL Server 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Fulltext Search codebase has been significantly revamped to address both query performance and throughput on large scale (millions of documents) with concurrent updates. With SQL2008 they moved all the index storage in the database file and majority of population logic in to the core engine to make fulltext search an integral and fully manageable engine component. However there was work to be done to make it perform and scale against best of the fulltext engines out there in the industry. With Denali CTP1, they are pleased to deliver this improvement.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;they looked at the entire code base from how queries block while waiting an ongoing index update to release a shared schema lock, from how much memory is allocated during index fragment population, to how they could reorganize the query code base as a streaming Table Value Function to optimize for TOP N search queries, how they could maintain key distribution histograms to execute search on parallel threads, all the way to how they could take better advantage of the processor compute instructions (scoring ranks for example)… End result is that they are able to significantly boost performance (10X in many cases when it comes to concurrent index updates with large query workloads) and scale without having to change any storage structures or existing API surface. All our customers going from SQL 2008 / R2 to Denali will benefit with this improvement.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;!--our content--&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Besides performance and scale improvement, they also added support for property scoped searches over documents with file system properties stored with-in a fulltext enabled table. One can now issue a CONTAINS query looking for all documents containing a particular term and authored by a particular author without having to maintain a separate column for the Author name in the database.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;they also improved NEAR operator in the CONTAINS predicate to allow users to specify distance between two terms and if the order of the term matters. It is important to note that distances between two words in a single sentence are much smaller compared to the same across two sentences (even if words are placed next to each other with a period in between), or across paragraphs, or across bullet points or across spreadsheet columns or worksheets.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/ElGSvn3OCK4?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/4413395401956869784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/fulltext-search-in-sql-server-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/4413395401956869784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/4413395401956869784'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/fulltext-search-in-sql-server-2012.html' title='Fulltext Search in SQL Server 2012'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-1864906750791799269</id><published>2012-07-22T00:18:00.001-07:00</published><updated>2012-08-11T00:58:34.129-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Tables"/><category scheme="http://www.blogger.com/atom/ns#" term="File Tables in SQL Server 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="FILESTREAM"/><title type='text'>File Table in SQL Server 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A SQL Server FileTable is a special table where you can store directory and files – that’s not special I know, the special thing is that you can access these files and directories from windows applications as if they were stored in the file system.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The data stored in the FileTable is exposed to windows through a windows share, and via this share it is possible to gain non-transactional access to the data.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you create or change a file through the windows share the command is intercepted by a SQL Server component and the changes are applied to the corresponding data in the FileTable.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;First we need to enable the FILE STREAM in SQL Server instance level. Follow the below mentioned steps.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Open the SQL Server Configuration Manager by &lt;b&gt;Start -&amp;gt; All Programs -&amp;gt; Microsoft SQL Server 2012 -&amp;gt; Configuration Tools -&amp;gt; SQL Server Configuration Manager&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyFsYZjNx15oBZ80dK_gY_2KgXW003jfYA-AOBtigRR5KCLqX1M7loLYHr3fEnciBP0JC76CQqwIbeK43tUx-aRmFXGro_zaIHUsrteQofTLMKfgYn4PjL3DyNtdzQC8v30iuQR_pZ7EQ/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyFsYZjNx15oBZ80dK_gY_2KgXW003jfYA-AOBtigRR5KCLqX1M7loLYHr3fEnciBP0JC76CQqwIbeK43tUx-aRmFXGro_zaIHUsrteQofTLMKfgYn4PjL3DyNtdzQC8v30iuQR_pZ7EQ/s1600/1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;!--our content--&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Right click on the &lt;b&gt;SQL Server instance&lt;/b&gt; under the &lt;b&gt;SQL Server Services &lt;/b&gt;menu and select &lt;b&gt;Properties&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJKrOVo-VoYIlguwfx7ZLOWUokwSYvfFPFlU_rh_HIdf4KWhWPNtB0SXUKCwAma4aR0t8Lf3oJLQ4ewHTOcP-jsfjSwH024n0PPMY-0X3KqxJgHRB3WL6r7yKKYadJZUi6SvgCSpklRhA/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJKrOVo-VoYIlguwfx7ZLOWUokwSYvfFPFlU_rh_HIdf4KWhWPNtB0SXUKCwAma4aR0t8Lf3oJLQ4ewHTOcP-jsfjSwH024n0PPMY-0X3KqxJgHRB3WL6r7yKKYadJZUi6SvgCSpklRhA/s1600/2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; color: #4c4c4c; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3. SQL Server Instance Properties window will be opened. Select the &lt;b&gt;FILESTRAEM&lt;/b&gt;&amp;nbsp;tab and tick the below mentioned checkboxes and then click &lt;b&gt;apply&lt;/b&gt; and &lt;b&gt;ok&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #4c4c4c; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;Enable FILESTREAM for Transact-SQL access&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #4c4c4c; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;Enable FILESTREAM for file I/O access&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #4c4c4c; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;Allow remote clients access to FILESTREAM data&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUUHuzISSg4gCYYA-RseS_m9xs2S3VyWFzJjiauf9N3EpzuapFMx97Y-oggRJVkECa0A2glNaAx_ZLlRtO5biX6XTmx1BUyDCT2_Xb9gO2qMBy-KC0rk2xSS4fufA733upcYW1aLkbE7k/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUUHuzISSg4gCYYA-RseS_m9xs2S3VyWFzJjiauf9N3EpzuapFMx97Y-oggRJVkECa0A2glNaAx_ZLlRtO5biX6XTmx1BUyDCT2_Xb9gO2qMBy-KC0rk2xSS4fufA733upcYW1aLkbE7k/s1600/3.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #4c4c4c; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;4. Execute the below mentioned Transact-SQL code in the SSMS.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #4c4c4c; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #4c4c4c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;color: #4c4c4c;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;EXEC sp_configure filestream_access_level, 2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #4c4c4c;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;color: #4c4c4c;&quot;&gt;&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;RECONFIGURE&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDPPYD_xN82oinnwB9gTceK39AC4jhCAHq_XuMSwf2A5hxhXhseljYmDQs5BHVmlFb1G12LncAYPsdiAbdu0IF8UMbKziJyrUF3DZwXypbmqfWlZLzvSRMihSJ3XXWOtmk8mctuPbnp5Y/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDPPYD_xN82oinnwB9gTceK39AC4jhCAHq_XuMSwf2A5hxhXhseljYmDQs5BHVmlFb1G12LncAYPsdiAbdu0IF8UMbKziJyrUF3DZwXypbmqfWlZLzvSRMihSJ3XXWOtmk8mctuPbnp5Y/s1600/4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;
5. Restart the SQL Server Instance.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSBAJYzlGnZ2kyEO5rwp0GZZjCviuTKQNnqzHWaLY_XszphEekv_O7-Ew0O4btO8PCfHZJyBGHqZKMVeGgL8DMS_KPNVVIQk9ouxrY-UL-y3nGs8ySeLh7PYb4xPzB9HY0HRaOEPksq2I/s1600/5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSBAJYzlGnZ2kyEO5rwp0GZZjCviuTKQNnqzHWaLY_XszphEekv_O7-Ew0O4btO8PCfHZJyBGHqZKMVeGgL8DMS_KPNVVIQk9ouxrY-UL-y3nGs8ySeLh7PYb4xPzB9HY0HRaOEPksq2I/s1600/5.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Let’s create a demo database with a FILESTREAM filegroup, I’ll be setting the NON_TRANSACTED_ACCESS to FULL this gives me full non-transactional access to the share, this option can be changed later if you want to do that. Here is the code:&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: Tahoma, Arial, Verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;CREATE DATABASE MyFileTableTest&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ON &amp;nbsp;PRIMARY&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; NAME = N&#39;MyFileTableTest&#39;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; FILENAME = N&#39;G:\Demo\MyFileTableTest.mdf&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;FILEGROUP FilestreamFG CONTAINS FILESTREAM&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; NAME = MyFileStreamData,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; FILENAME= &#39;G:\Demo\Data&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;LOG ON&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; NAME = N&#39;MyFileTableTest_Log&#39;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; FILENAME = N&#39;G:\Demo\MyFileTableTest_log.ldf&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;WITH FILESTREAM&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; NON_TRANSACTED_ACCESS = FULL,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; DIRECTORY_NAME = N&#39;FileTable&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Tahoma, Arial, Verdana; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFMGFQrQM-hxD-i8u-YLJYlqnEM13UOwsFWCluAfzdguUue0Z1hro8fETInKXjt06FyXWgPtSEocf5r0FD42o1U-94hizqn9rMqqpw4u3h04evTnUn6Oi_LKv2BQdEyxdtAA846WuLWfI/s1600/6.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFMGFQrQM-hxD-i8u-YLJYlqnEM13UOwsFWCluAfzdguUue0Z1hro8fETInKXjt06FyXWgPtSEocf5r0FD42o1U-94hizqn9rMqqpw4u3h04evTnUn6Oi_LKv2BQdEyxdtAA846WuLWfI/s1600/6.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Tahoma, Arial, Verdana; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;That’s the database done, now let’s create the magic table – that is simple done with the “AS FileTable” keyword. When creating a FileTable there is only two options that you can change, everything else is out of the box. Let’s have a look at how I created the table:&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
USE MyFileTableTest&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
go&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
CREATE TABLE MyDocumentStore AS FileTable&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
WITH&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
(&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
&amp;nbsp; &amp;nbsp; FileTable_Directory = &#39;MyDocumentStore&#39;,&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
&amp;nbsp; &amp;nbsp; FileTable_Collate_Filename = database_default&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
);&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
GO&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHoRKYvEOd4CzV3vhKFxiPFykQBDm5vtke9JODUeBFeoU_kkFltSihMn_cHXB8KE_C4DwHERfcaRJLPS2GH-flSd8BX3NWmseOOZEVBhAvtXoS5LXWYbhJwgKihN4eoLuc7bFJKloDOHs/s1600/7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHoRKYvEOd4CzV3vhKFxiPFykQBDm5vtke9JODUeBFeoU_kkFltSihMn_cHXB8KE_C4DwHERfcaRJLPS2GH-flSd8BX3NWmseOOZEVBhAvtXoS5LXWYbhJwgKihN4eoLuc7bFJKloDOHs/s1600/7.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If we take a look at the GUI after creating the table, we can see that the table is created under the new folder called FileTables&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid5eAoDs2vIgVUlZNrXZrToAjVTquC0IC_2WI2PzFgj9ES-poiEm0u7HrxfQmN_IfpoH5mUuknNfN9lNkGwW2WyqFPwfeNtn8U7qasayEMtMrztBk3StaU4W08dY3kb5_DPvb2DlmFHE8/s1600/8.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid5eAoDs2vIgVUlZNrXZrToAjVTquC0IC_2WI2PzFgj9ES-poiEm0u7HrxfQmN_IfpoH5mUuknNfN9lNkGwW2WyqFPwfeNtn8U7qasayEMtMrztBk3StaU4W08dY3kb5_DPvb2DlmFHE8/s1600/8.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;that is not the only new thing, if we right click at the table that we just created we will see an option called “Explore FileTable Directory” – click that and a windows opens with the content of your FileTable.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7_dXGRiEdvSV29ldcYLtueSJl8tLOLwdue8E_I7VsXTh32yoKgqh3Q_QzUPyB-zABgLzK-3zphPmKly68hFhFU7wVRAE5GZHO6xJKenBwhWLDQmWXsrwvwzLIN17MGCLLMlPiltP1bHY/s1600/9.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7_dXGRiEdvSV29ldcYLtueSJl8tLOLwdue8E_I7VsXTh32yoKgqh3Q_QzUPyB-zABgLzK-3zphPmKly68hFhFU7wVRAE5GZHO6xJKenBwhWLDQmWXsrwvwzLIN17MGCLLMlPiltP1bHY/s1600/9.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;If you drop a file into this folder it will be accessible from SSMS, with a simple SELECT from the MyDocumentStore.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is how the folder looks:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdDUFiSHmxTi7brENTKsbmfwnhBMVc0U1hZD7dprGK2l5-BUIc9VkY3tRPwBV95eKGujtG2UpH6pvcmMmIy9ilGYDr9J6tPJiersyD4WU0dm_dpW8XJqjxvQQaAWtZ0f8YitDZrOgIWg8/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdDUFiSHmxTi7brENTKsbmfwnhBMVc0U1hZD7dprGK2l5-BUIc9VkY3tRPwBV95eKGujtG2UpH6pvcmMmIy9ilGYDr9J6tPJiersyD4WU0dm_dpW8XJqjxvQQaAWtZ0f8YitDZrOgIWg8/s1600/10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And if you query the table you get the following: (This query only shows a few of the columns off the table)&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 12px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHWODhn0FKeVRn7QxDQ3L3fQ5Md2Kppkz-qYhvoNzrG4NZwIEwNV0TwH2G5yZL3qApS-f_CpLReAPL_YaG4gLIUzsGw9NIxWtpuhBAv9i9pYOJLn03l7ec1rszTXFqaFGCha0Laz9sjeg/s1600/11.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHWODhn0FKeVRn7QxDQ3L3fQ5Md2Kppkz-qYhvoNzrG4NZwIEwNV0TwH2G5yZL3qApS-f_CpLReAPL_YaG4gLIUzsGw9NIxWtpuhBAv9i9pYOJLn03l7ec1rszTXFqaFGCha0Laz9sjeg/s1600/11.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; font-size: 12px; line-height: 18px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now you can do file manipulation with SSMS, something like renaming the files is just an update statement&amp;nbsp;&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;UPDATE MyDocumentStore&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;SET name = &#39;FileNameChanged.txt&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;WHERE stream_id = &#39;A124C74D-CCD3-E111-87F1-0019D1EE2D0C&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAKqnfU8fCF4ljnc2VVpBgEJkpsmr-L_CEpCNqNjflSbGfS7tEYl788gQ78-FQ6Ro3Czv0ZXci2OfpS5imlpd2JuNaNHPbZBeqMnFkBZ8oqtUn7tzZd1J8ePuU-raR5yTHMF-SrLRmWJA/s1600/12.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAKqnfU8fCF4ljnc2VVpBgEJkpsmr-L_CEpCNqNjflSbGfS7tEYl788gQ78-FQ6Ro3Czv0ZXci2OfpS5imlpd2JuNaNHPbZBeqMnFkBZ8oqtUn7tzZd1J8ePuU-raR5yTHMF-SrLRmWJA/s1600/12.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ_Z3_o5Q8ZqPc4THgUp3T6qtTLttmGSwrgSXA84E-GuGoumys3i4NqPajzFq4Ov8y6YWub05sOgg4JeRj5lJbaZwnnloNlVOhFbhdZIu7BkTB_esU3b83ZAek7Jvuk2rZ1b4PkgyEtdU/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ_Z3_o5Q8ZqPc4THgUp3T6qtTLttmGSwrgSXA84E-GuGoumys3i4NqPajzFq4Ov8y6YWub05sOgg4JeRj5lJbaZwnnloNlVOhFbhdZIu7BkTB_esU3b83ZAek7Jvuk2rZ1b4PkgyEtdU/s1600/13.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/ZwoO98btDPQ?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px currentColor; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/1864906750791799269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/file-table-in-sql-server-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1864906750791799269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/1864906750791799269'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/file-table-in-sql-server-2012.html' title='File Table in SQL Server 2012'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyFsYZjNx15oBZ80dK_gY_2KgXW003jfYA-AOBtigRR5KCLqX1M7loLYHr3fEnciBP0JC76CQqwIbeK43tUx-aRmFXGro_zaIHUsrteQofTLMKfgYn4PjL3DyNtdzQC8v30iuQR_pZ7EQ/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1989982134938467457.post-4013112198687631928</id><published>2012-07-15T01:44:00.002-07:00</published><updated>2012-08-11T00:58:55.362-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Event Handlers"/><category scheme="http://www.blogger.com/atom/ns#" term="Introduction to SSIS"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS Basics"/><title type='text'>SSIS : Event Handlers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;SSIS is not just about control flows and dataflows, there are other options available in SSIS which extends functionality of SSIS package, and provides a great flexibility in desiging a successfull ETL solution. Lets take a deep insight of what are those options and how we can take benefit of them.&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;There are four options which extends functionality of SSIS packages.&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;1. Event Handlers&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;2. Variables&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;3. Expressions&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;4. SQL Queries&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1989982134938467457&quot; name=&quot;more&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;/a&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;In this post i will be covering Event handlers, and in later series i will cover Variables, Expressions and SQL queries&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;!--our content--&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;line-height: 18px;&quot;&gt;&lt;u&gt;Event Handlers:&lt;/u&gt;&lt;/strong&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;Like any programming languages (C# or JAVA) SSIS also provides Event handlers, which provides functionality of performing some task on a specific event during runtime. At runtime of any SSIS task, series of event takes place, and SSIS Desginer has provided with one tab (Event Handler) to program any action that can be performed on occurance of that event.&lt;/span&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;br style=&quot;line-height: 18px;&quot; /&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;Event handlers are created in the same manner as control flow but in different tab as shown.&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0smdL2lS4aR4-kGWwIrQXuEF-KQ5KsDhIrqrgkBtf0fD_w08N8BwgvEASCnLya_ZThuqqOo-h_N7agPCtpUtCqZ0yLxR0FFpX3YnkuVmFsoDNCs-wQDKs682dmRqjTwxj-iqPIbB5t_M/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0smdL2lS4aR4-kGWwIrQXuEF-KQ5KsDhIrqrgkBtf0fD_w08N8BwgvEASCnLya_ZThuqqOo-h_N7agPCtpUtCqZ0yLxR0FFpX3YnkuVmFsoDNCs-wQDKs682dmRqjTwxj-iqPIbB5t_M/s1600/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;How we create events?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;Its as simple as creating control flow of package.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;1. Select the executable container to which the handler will be assigned.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;2. Select the event to which you wish the event handler to react to.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;3. Drag control flow container and task and connect them together with precedence constraints.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;How Events are actually gets handled in SSIS?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;Events can be handled at task or container or package level, following is the order it will be handled.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;1. Task&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;2. Container&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;3. Package&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;For example:&amp;nbsp; If an event is triggered&amp;nbsp; at the task level and no event handler is defined, the event is passed to container level, if no event handler is defined at container level then it will be passed to package level.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;How many events are available?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana; line-height: 18px;&quot;&gt;There are 12 different events&amp;nbsp;that can be handled in SSIS package. Below is the list..&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnError&amp;nbsp;&lt;/u&gt;The OnError event is caused by the occurrence of an error.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnExecStatusChanged&amp;nbsp;&lt;/u&gt;The OnExecStatusChanged event occurs when an executable changes its status.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnInformation&amp;nbsp;&lt;/u&gt;When an executable reports information during validation or execution, the OnInformation event occurs.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnPostExecute&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;OnPostExecute is an event that occurs immediately after an executable has completed running.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnPostValidate&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;The OnPostValidate event occurs immediately after an executable has finished its validation.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnPreExecute&amp;nbsp;&lt;/u&gt;The OnPreExecute event occurs immediately before an executable runs.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnPreValidate&amp;nbsp;&lt;/u&gt;The OnPreValidate event occurs immediately before an executable begins its validation.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnProgress&amp;nbsp;&lt;/u&gt;&lt;br /&gt;OnProgress is an event that occurs when an executable makes measurable progress.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnQueryCancel&amp;nbsp;&lt;/u&gt;The OnQueryCancel event occurs automatically at regular intervals to determine if the package should continue running.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnTaskFailed&amp;nbsp;&lt;/u&gt;When a task has failed execution, the OnTaskFailed event occurs.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnVariableValueChanged&lt;/u&gt;&lt;br /&gt;The OnVariableValueChanged event occurs when a variable&#39;s value is changed.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;OnWarning&amp;nbsp;&lt;/u&gt;The OnWarning event is raised when a warning occurs.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;Event handlers have a number of properties that allow you to&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;br /&gt;•&amp;nbsp;assign a name and description to the event handler&lt;br /&gt;•&amp;nbsp;enable or disable the event handler&lt;br /&gt;•&amp;nbsp;determine whether the package fails if the event handler fails&lt;br /&gt;•&amp;nbsp;determine the number of errors that can occur before the event handler fails&lt;br /&gt;•&amp;nbsp;override the execution result that would normally be returned at runtime&lt;br /&gt;•&amp;nbsp;determine the transaction isolation level for operations performed by the event handler, and&lt;br /&gt;•&amp;nbsp;determine the logging mode used by the event handler&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/1Ei5Gh5NJMM?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlserverbrains.blogspot.com/feeds/4013112198687631928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/ssis-event-handlers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/4013112198687631928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1989982134938467457/posts/default/4013112198687631928'/><link rel='alternate' type='text/html' href='http://sqlserverbrains.blogspot.com/2012/07/ssis-event-handlers.html' title='SSIS : Event Handlers'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/10066879547699483611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0smdL2lS4aR4-kGWwIrQXuEF-KQ5KsDhIrqrgkBtf0fD_w08N8BwgvEASCnLya_ZThuqqOo-h_N7agPCtpUtCqZ0yLxR0FFpX3YnkuVmFsoDNCs-wQDKs682dmRqjTwxj-iqPIbB5t_M/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>