<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://prologika.com/CS/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><channel><title>Prologika Forums</title><link>http://prologika.com/CS/blogs/</link><description>Making sense of data</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Analysis Services Processing and CXPACKET Waits</title><link>http://prologika.com/CS/blogs/blog/archive/2012/05/14/analysis-services-processing-and-cxpacket-waits.aspx</link><pubDate>Tue, 15 May 2012 02:12:14 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5511</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Performance tuning – my favorite! This blog originated from a quest to reduce the processing time of an SSAS cube which loads some 2.5 billion rows and includes DISCINTCT COUNT measure groups. The initial time to fully process the cube was about 50 minutes on a dedicated DELL PowerEdge R810 server, with 256 GB RAM and two physical processors (32 cores total). Both the SSAS and database servers were underutilizing the CPU resources with SSAS about 60-70 utilizations and the database server about 20-30 CPU utilization. What was the bottleneck?
&lt;/p&gt;&lt;p&gt;By using the sys.dm_os_waiting_tasks DMV like the statement below (you can use also the SQL Server Activity Monitor), we saw a high number of CXPACKET wait types. 
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt;
			&lt;span style="color:teal;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;wait_duration_ms&lt;span style="color:gray;"&gt;,&lt;/span&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;wait_type&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:blue;"&gt;status&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_t&lt;span style="color:gray;"&gt;.&lt;span style="color:blue;"&gt;TEXT&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_qp&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;query_plan&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_ID&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;cpu_time&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;memory_usage&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;logical_reads&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;total_elapsed_time&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:fuchsia;"&gt;program_name&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:fuchsia;font-family:Consolas;font-size:9pt;"&gt;DB_NAME&lt;span style="color:gray;"&gt;(&lt;span style="color:teal;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;database_id&lt;span style="color:gray;"&gt;)&lt;/span&gt; DatabaseName&lt;span style="color:gray;"&gt;,&lt;/span&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:green;"&gt;-- Optional columns&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;blocking_session_id&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;wait_resource&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;login_name&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;command&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;last_wait_type&lt;/span&gt;
			&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;FROM&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_os_waiting_tasks&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_ws&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;INNER&lt;/span&gt;
			&lt;span style="color:gray;"&gt;JOIN&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_requests&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_r&lt;/span&gt;
					&lt;span style="color:blue;"&gt;ON&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt; =&lt;/span&gt; dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;INNER&lt;/span&gt;
			&lt;span style="color:gray;"&gt;JOIN&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_sessions&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_es&lt;/span&gt;
					&lt;span style="color:blue;"&gt;ON&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt; =&lt;/span&gt; dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;CROSS&lt;/span&gt;
			&lt;span style="color:gray;"&gt;APPLY&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_sql_text&lt;span style="color:blue;"&gt;
							&lt;span style="color:gray;"&gt;(&lt;span style="color:teal;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:blue;"&gt;sql_handle&lt;span style="color:gray;"&gt;)&lt;/span&gt;
											&lt;span style="color:teal;"&gt;dm_t&lt;/span&gt;
										&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;CROSS&lt;/span&gt;
			&lt;span style="color:gray;"&gt;APPLY&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_query_plan&lt;span style="color:blue;"&gt;
							&lt;span style="color:gray;"&gt;(&lt;span style="color:teal;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;plan_handle&lt;span style="color:gray;"&gt;)&lt;/span&gt; dm_qp&lt;/span&gt;
									&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;WHERE&lt;/span&gt;
			&lt;span style="color:teal;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;is_user_process&lt;/span&gt; =&lt;/span&gt; 1
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The typical advice given to address CXPACKET waits is to decrease the SQL parallelism by using the MAXDOP setting. This might help in some isolated scenarios, such as UPDATE or DELETE queries. However, the SQL Sentry Plan Explorer showed that each processing query is highly parallelized to utilize all cores. Notice in the screenshot below, that thread 16 fetches only 14,803 rows.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/051512_0211_AnalysisSer1.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;Therefore, the CXPACKET waits were simply caused by faster threads waiting for other threads to finish. In other words, CXPACKET wait is just a coordination mechanism between the threads being parallelized.  To confirm this, we set the SQL Server MAXDOP setting to 1. Surely, the CXPACKET waits disappeared but the overall cube processing time went up as well. In our case, the biggest benefit was realized not by decreasing the SQL Server parallelism but by increasing it, by increasing the maximum number of database connections. This resulted in decreasing the overall processing time some 20%. 
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/051512_0211_AnalysisSer2.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;You need to be careful here though. While increasing the connections to max out the CPU on the SSAS server will yield the biggest gain, it might also slow down other processing, such as reports that query the cube while the database is being processed. So, as a rule of thumb, target no more than 80% CPU utilization to leave room for other tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5511" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Analysis+Services/default.aspx">Analysis Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Data+Warehousing/default.aspx">Data Warehousing</category></item><item><title>SQL Server 2012 ETL Framework Features in the New SSIS Project Deployment Model</title><link>http://prologika.com/CS/blogs/blog/archive/2012/04/29/sql-server-2012-etl-framework-features-in-the-new-ssis-project-deployment-model.aspx</link><pubDate>Sun, 29 Apr 2012 21:06:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5509</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;When moving to SQL Server 2012, ETL developers would need to rethink custom ETL frameworks. If you embrace the new project deployment model, SQL Server 2012 offers a lot of plumbing features out of the box. &lt;a href="http://jenunderwood.com/"&gt;Jen Underwood&lt;/a&gt; wrote a great &lt;a href="http://www.sswug.org/DEVELOPMENT/default.aspx?id=59199"&gt;SQL Server 2012 ETL Framework Features in the New SSIS Catalog&lt;/a&gt; article about what supported and what&amp;#39;s missing. I guess in most cases developers will find that they&amp;#39;ll need to implement incremental features on top of the Microsoft provided toolset that are not supported, such as restartability and execution control, while letting SSIS 2012 handle logging and performance reporting. Another great resource for getting started with the new project deployment model is the &lt;a href="http://sqlblog.com/blogs/jamie_thomson/archive/2011/07/16/ssis-logging-in-denali.aspx"&gt;SSIS Logging&lt;/a&gt; in Denali blog by Jammie Thompson. &lt;/p&gt;
&lt;p&gt;We ran into an interesting &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/727219/login-failure-message-during-ssis-2012-package-validation"&gt;snag&lt;/a&gt; when validating and executing packages using the new project deployment model with Windows integrated security: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Developer initiates the validation and execution in SSMS from his machine. &lt;/li&gt;
&lt;li&gt;Packages are deployed to a dedicated SQL Server and packages use Windows integrated security to connect to a SQL Server database on a different server. &lt;/li&gt;
&lt;li&gt;The source SQL Server database is on a different server. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As you&amp;#39;ve probably guessed it, this scenario requires configuring Kerberos delegation and registering SPNs for &lt;strong&gt;both&lt;/strong&gt; the SQL Server hosting the SSIS packages and the SQL Server hosting the source database. That&amp;#39;s because validation and execution happen under your login and a double-hop is required to delegate your credentials to the source SQL Server. This can be avoided by using standard security (username and password) to establish connections from your packages to the source SQL Server. This wasn&amp;#39;t an option in our case because customer requirements dictated using Windows security to SQL Server. &lt;/p&gt;
&lt;p&gt;I personally believe that the new Integration Services enhancements alone warrant upgrading to SQL Server 2012.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5509" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Integration+Services/default.aspx">Integration Services</category></item><item><title>Reducing Analysis Services Index Processing Time</title><link>http://prologika.com/CS/blogs/blog/archive/2012/04/15/reducing-analysis-services-index-processing-time.aspx</link><pubDate>Sun, 15 Apr 2012 13:26:55 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5497</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: Processing a 100 GB SSAS 2012 cube on a dedicated DELL PowerEdge server (128 GB RAM with 32 logical cores) reveals that 50% of the time is spent on processing the cube indexes and building aggregations with only 20% average CPU utilization and not even a small dent to the memory consumption.  It was clear that SSAS doesn&amp;#39;t utilize the server resources and additional tuning is required to increase the parallelism of this phase.
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;: Following Greg Galloway&amp;#39;s advice, we&amp;#39;ve changed the OLAP\Process\AggregationMemoryLimitMin to 2 and OLAP\Process\AggregationMemoryLimitMin to 3 to increase the parallelism of the index processing. This led to 25% reduction of the overall processing time and increased the CPU utilization to 70-80%. As to how we derived to these numbers, James Rogers has a great &lt;a href="http://geekswithblogs.net/ManicArchitect/archive/2010/11/02/142558.aspx"&gt;write-up&lt;/a&gt;.  For the sake of preserving the precious formulas:
&lt;/p&gt;&lt;p&gt;AggregationMemoryLimitMax=Ceiling(100/(&amp;lt;number processing cores&amp;gt;-2))&lt;span style="font-family:Verdana;font-size:12pt;"&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;AggregationMemoryLimitMin=Ceiling(100/((&amp;lt;number processing cores&amp;gt;-2)*1.5))
&lt;/p&gt;&lt;p&gt;In case you&amp;#39;re curious about what these setting do, the amount of memory needed to build an aggregation is unknown up front. The engine has to estimate it based of certain factors (estimated rows, granularity attributes, measures, etc.) – and it uses the AggregationMemoryLimitMin value to ensure that if it&amp;#39;s estimate is wrong, that at least there will be a sufficient buffer for underestimation. Similarly, if the estimate is wrong in the upward direction, it will use the AggregationMemoryLimitMax value to trim the max value downward.&lt;span style="font-family:Verdana;font-size:12pt;"&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5497" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Analysis+Services/default.aspx">Analysis Services</category></item><item><title> Presenting at SQL Saturday</title><link>http://prologika.com/CS/blogs/blog/archive/2012/04/09/presenting-at-sql-saturday.aspx</link><pubDate>Mon, 09 Apr 2012 13:17:54 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5485</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I have a talk &lt;a href="http://www.sqlsaturday.com/111/schedule.aspx"&gt;&amp;quot;The Personal-Team-Organizational BI Conundrum&amp;quot;&lt;/a&gt; at SQL Saturday on April 14&lt;sup&gt;th&lt;/sup&gt; at 9 AM. 
&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;em&gt;Confused about the BI alphabetical soup? Not sure which one makes sense for your organization? Join this session to learn you can use the Microsoft BI platform to address various analytical needs. Discover how to implement the Personal-Team-Organizational continuum on a single platform. I&amp;#39;ll also discuss how Tabular and Multidimensional compare.
&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I hope you can make it. SQL Saturday is always a good show and this year we have great speakers and great BI content.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5485" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Events/default.aspx">Events</category></item><item><title>Report Builder Connectivity Issues</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/28/report-builder-connectivity-issues.aspx</link><pubDate>Wed, 28 Mar 2012 13:38:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5478</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: Previewing a Report Builder report connected to Analysis Services works in Report Designer but it fails in Report Builder 3.0 with the following error: &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;An existing connection was forcibly closed by the remote host &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;---------------------------- &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;---------------------------- &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Further, SQL Profiler reveals that an Anonymous connection is attempted to Analysis Services even though you use an embedded report data source (using a shared data source on the server will run the report on the server while with an embedded data source results the report runs on the client).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Resolution&lt;/strong&gt;: Check if Report Builder is connected to a report server running in SharePoint mode by examining the status bar. If it is, click the Disconnect link. Report preview should now work.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://prologika.com/CS/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/3465.rb.png"&gt;&lt;img src="http://prologika.com/CS/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/3465.rb.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5478" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx">Reporting Services</category></item><item><title>Finding Source Column Names in PowerPivot</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/28/find-source-column-name-in-powerpivot.aspx</link><pubDate>Wed, 28 Mar 2012 13:29:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5477</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;: How do I find the source column name in PowerPivot if I&amp;#39;ve renamed and moved columns around? &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Answer&lt;/strong&gt;: Assuming that the table doesn&amp;#39;t use a custom query to import data or it wasn&amp;#39;t derived from an Excel linked table or Windows Clipboard, you can use the table properties to find the source column name as follows: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the PowerPivot Window, click the table to select it. &lt;/li&gt;
&lt;li&gt;In the Design ribbon tab, click Table Properties. &lt;/li&gt;
&lt;li&gt;Make sure that the Column Names From radio button is set to Source. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/032812_1329_FindSourceC1.png" alt="" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5477" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/PowerPivot/default.aspx">PowerPivot</category></item><item><title>VertiPaq Rebranded as xVelocity</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/22/vertipaq-rebranded-as-xvelocity.aspx</link><pubDate>Thu, 22 Mar 2012 12:40:07 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5473</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Apparently, the name &amp;quot;VertiPaq&amp;quot; wasn&amp;#39;t catchy enough so Microsoft &lt;a href="http://blogs.technet.com/b/dataplatforminsider/archive/2012/03/08/introducing-xvelocity-in-memory-technologies-in-sql-server-2012-for-10-100x-performance.aspx"&gt;rebranded&lt;/a&gt; it as xVelocity (probably got tipped by Comcast). This is just a name change, no new features.
&lt;/p&gt;&lt;h2&gt;Glossary 
&lt;/h2&gt;&lt;p&gt;
		&lt;strong&gt;xVelocity&lt;/strong&gt;: The SQL Server family of technologies that utilize in-memory columnar storage to achieve very high-performance in query processing.
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;xVelocity for Business Intelligence&lt;br /&gt;&lt;/strong&gt;Introduced as VertiPaq in the SQL Server 2008 R2 release, this in-memory columnar storage technology is the analytical engine that powered PowerPivot in that release, and is now in both PowerPivot and SQL Server Analysis Services in Tabular mode for the SQL Server 2012 release. xVelocity for BI consists of:
&lt;/li&gt;&lt;/ol&gt;&lt;ul style="margin-left:72pt;"&gt;&lt;li&gt;xVelocity In-memory Analytics Engine in SSAS 2012 Tabular Mode (used for enterprise-grade, scalable BI)
&lt;/li&gt;&lt;li&gt;&lt;div&gt;xVelocity In-memory Analytics Engine (previously called Vertipaq) in PowerPivot (used for self-service and team-oriented BI scenarios), available in PowerPivot for Excel and SharePoint Server
&lt;/div&gt;&lt;p&gt;
 &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;xVelocity for Data Warehousing&lt;br /&gt;&lt;/strong&gt;Memory-optimized columnar (columnstore) index technology for use with SQL Server Data Warehouses. Data is stored in column-wise fashion that can be used to answer a query just like data in any other type of index. A columnstore index appears as an index on a table when examining catalog views or the Object Explorer in Management Studio. The query optimizer considers the columnstore index as a data source for accessing data just like it considers other indexes when creating a query plan.
&lt;/li&gt;&lt;/ol&gt;&lt;h2&gt;Exceptions
&lt;/h2&gt;&lt;p&gt;In cases where the VertiPaq name appears in the product (VertiPaqpagingpolicy parameter, VertiPaq SE event, etc.), please continue to use VertiPaq, or xVelocity (VertiPaq) if necessary to avoid confusion. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5473" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Business+Intelligence/default.aspx">Business Intelligence</category></item><item><title>BIDS Helper 1.6 Beta Released</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/20/bids-helper-1-6-beta-released.aspx</link><pubDate>Tue, 20 Mar 2012 17:54:57 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5471</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Fellow MVPs have just released the latest public beta build of &lt;a href="http://bidshelper.codeplex.com/"&gt;BIDS Helper&lt;/a&gt;, which should one of the first utilities you install after you install SQL Server on your machine.  Besides fixes and updates, this release adds support for SQL Server 2012 and new features specific to Analysis Services Tabular.
&lt;/p&gt;&lt;p&gt;This beta release is the first to support SQL Server 2012 (in addition to SQL Server 2005, 2008, and 2008 R2). Since it is marked as a beta release, we are looking for bug reports in the next few months as you use BIDS Helper on real projects. In addition to getting all existing BIDS Helperfunctionality working appropriately in SQL Server 2012 (SSDT), the following features are new.
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Analysis Services Tabular 
&lt;/li&gt;&lt;li&gt;Smart Diff 
&lt;/li&gt;&lt;li&gt;Tabular Actions Editor 
&lt;/li&gt;&lt;li&gt;Tabular HideMemberIf 
&lt;/li&gt;&lt;li&gt;Tabular Pre-Build&lt;/li&gt;&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5471" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/General/default.aspx">General</category></item><item><title>Hiding SQL Server 2012 Reporting Services Extensions in SharePoint</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/15/hiding-sql-server-2012-reporting-services-extensions-in-sharepoint.aspx</link><pubDate>Thu, 15 Mar 2012 17:16:34 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5470</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;To continue my Report Server Settings in SQL Server 2012 SharePoint Integration Mode &lt;a href="http://prologika.com/CS/blogs/blog/archive/2011/11/15/report-server-settings-in-sql-server-2012-sharepoint-integration-mode.aspx"&gt;blog&lt;/a&gt;, here is another example of how to use the new PowerShell-based configuration mechanism to hide a rendering extension. In this case, the script finds an SSRS application called SQL Server SSRS (replace with the name of your SSRS application from SharePoint Central Admin) and hides the XML renderer so the XML export option doesn&amp;#39;t appear  in the Actions drop-down.
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;$apps = Get-SPRSServiceApplication  | where {$_.name -like &amp;quot;SQL Server SSRS&amp;quot;}
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;Set-SPRSExtension -identity $apps -ExtensionType &amp;quot;Render&amp;quot; -name &amp;quot;XML&amp;quot; -ExtensionAttributes &amp;quot;&amp;lt;Visible&amp;gt;False&amp;lt;/Visible&amp;gt;&amp;quot;
&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5470" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Can’t Activate Reporting Services Service in SharePoint</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/15/can-t-activate-reporting-services-service-in-sharepoint.aspx</link><pubDate>Thu, 15 Mar 2012 15:12:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5469</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I upgraded SQL Server 2012 from RC0 to RTM today on a SharePoint application server which was configured for Reporting Services integration. The upgrade went with no errors but I got this error when requesting reports: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="color:#676767;font-family:Verdana;font-size:8pt;"&gt;The requested service, &amp;#39;http://amatltapp02:32843/1dacf49a2f7a4a6daa8db5768539893f/ReportingWebService.svc&amp;#39; could not be activated. See the server&amp;#39;s diagnostic trace logs for more information. &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:#676767;font-family:Verdana;font-size:8pt;"&gt;The requested service, &amp;#39;http://amatltapp02:32843/1dacf49a2f7a4a6daa8db5768539893f/ReportingWebService.svc&amp;#39; could not be activated. See the server&amp;#39;s diagnostic trace logs for more information. &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And, when browsing directly the service:&lt;span&gt; &lt;/span&gt;
&lt;p&gt;After some digging out, we solved the issue by changing the Enable 32-Bit Applications property of the IIS application pool for the SharePoint web application to False. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/031512_1512_CantActivat1.png" alt="" /&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Server Error in &amp;#39;/1dacf49a2f7a4a6daa8db5768539893f&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;The farm is unavailable.&lt;/i&gt;&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5469" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Presenting at SQL Server Special Ops Tour Atlanta</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/02/presenting-at-sql-server-special-ops-tour-atlanta.aspx</link><pubDate>Fri, 02 Mar 2012 21:59:42 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5465</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve been honored to be selected by Microsoft to present the Self-service BI using PowerPivot and Power View session for the &lt;a href="http://www.regonline.com/Register/Checkin.aspx?EventID=1058831"&gt;SQL Server Special Ops Tour&lt;/a&gt; in Atlanta on Monday, March 5&lt;sup&gt;th&lt;/sup&gt;. 
&lt;/p&gt;&lt;div&gt;&lt;table style="border-collapse:collapse;" border="0"&gt;&lt;colgroup&gt;&lt;col style="width:123px;" /&gt;&lt;col style="width:280px;" /&gt;&lt;col style="width:234px;" /&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr style="height:17px;background:red;"&gt;&lt;td colspan="3" style="padding-left:7px;padding-right:7px;border-top:solid black 0.5pt;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-size:10pt;"&gt;&lt;strong&gt;EVENT AGENDA&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:17px;background:gray;"&gt;&lt;td colspan="2" style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-size:10pt;"&gt;&lt;strong&gt;Agenda&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-size:10pt;"&gt;&lt;strong&gt;Speaker&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:19px;"&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;12:30pm – 1:30pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Registration Opens 
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;1:30pm – 2:30pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;SQL Server 2012 – The New World of Data
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;Dandy Weyn – FTE – Sr. Tech Prod Mgr&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;2:30pm – 3:15pm  &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Introduction to SQL Server 2012 AlwaysON – Availability Groups&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;Geoff Hiten – MVP – Community &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;3:15pm – 3:30pm
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Break – drinks and light snacks&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;strong&gt;3:30pm – 4:15pm&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;strong&gt;Self-Service BI using PowerPivot and Power View
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;&lt;strong&gt;Teo Lachev – MVP – Community&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;4:15pm – 4:45pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Understanding Microsoft Training &amp;amp; Certifications for Microsoft SQL Server 2012&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;Bob Taylor – FTE – Principal PFE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;4:45pm – 5:15pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;In Summary
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;All speakers&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Join us to celebrate SQL Server 2012!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5465" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Events/default.aspx">Events</category></item><item><title>Finding Reporting Services Service in SharePoint</title><link>http://prologika.com/CS/blogs/blog/archive/2012/03/02/finding-reporting-services-service-in-sharepoint.aspx</link><pubDate>Fri, 02 Mar 2012 21:47:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5464</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;SharePoint is a like an ocean &amp;ndash; the further you go, the deeper it gets &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Ancient proverb&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: Configure SQL Server 2012 Reporting Services on a multi-server SharePoint farm with the following topology: &lt;/p&gt;
&lt;p&gt;WEB1 &amp;ndash; Web front-end Server 1 &lt;/p&gt;
&lt;p&gt;WEB2 &amp;ndash; Web front-end Server 2 &lt;/p&gt;
&lt;p&gt;APP1 &amp;ndash; Application server 1 that hosts the Central Administration site &lt;/p&gt;
&lt;p&gt;APP2 &amp;ndash; Needs SSRS 2012 &lt;/p&gt;
&lt;p&gt;APP2 &amp;ndash; Needs SSRS 2012&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: I couldn&amp;#39;t find the SQL Server Reporting Services Service Application option when I expanded the New button in Central Administration &lt;span style="font-family:Wingdings;"&gt;&amp;eth;&lt;/span&gt; Manage Service Applications&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Resolution&lt;/strong&gt;: Although the SQL Server 2012 Reporting Services service and Reporting Services Add-in were installed on APP2 and APP3, the SQL Server Reporting Services service wasn&amp;#39;t registered at a farm level. As a result, I couldn&amp;#39;t find the SQL Server Reporting Services Service in Central Admin -&amp;gt; Manage Services on Server on none of the application servers. As it turned out, the SSRS service must be also registered on the application server hosting Central Administration (APP1 in my case) as Prash Shirolkar explains in his &lt;a href="http://blogs.msdn.com/b/prash/archive/2011/07/01/do-not-see-the-ssrs-shared-service-in-ca-after-installing-ssrs-quot-denali-quot-sharepoint-mode.aspx"&gt;blog&lt;/a&gt;:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remote in to APP1. &lt;/li&gt;
&lt;li&gt;Install the Reporting Services add-in to get the SSRS PowerShell cmdlets. In my case, I installed only the add-in and not the Reporting Services service since I didn&amp;#39;t want it on APP1. &lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Run the SharePoint 2010 PowerShell as admin and execute the three commands in the Install and Start the Reporting Services SharePoint Service in the Install Reporting Services SharePoint Mode as a Single Server Farm &lt;a href="http://technet.microsoft.com/en-us/library/gg492276(v=sql.110).aspx"&gt;document&lt;/a&gt;: &lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Install-SPRSService &lt;/li&gt;
&lt;li&gt;Install-SPRSServiceProxy &lt;/li&gt;
&lt;li&gt;get-spserviceinstance -all |where {$_.TypeName -like &amp;quot;SQL Server Reporting*&amp;quot;} | Start-SPServiceInstance&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Interestingly, the first two commands don&amp;#39;t echo any output. The third command, however, should show you a message that the SSRS service has been provisioned. Now, you can go to Central Administration &lt;span style="font-family:Wingdings;"&gt;&amp;eth;&lt;/span&gt; Manage Services on Server and you should be able to find the SQL Server Reporting Services Service. More importantly, you should be able to go to Central Administration &lt;span style="font-family:Wingdings;"&gt;&amp;eth;&lt;/span&gt; Manage Service Applications, expand the New button and then click SQL Server Reporting Services Service Application to finalize the Reporting Services setup.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Possible alternative resolution path &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Although I haven&amp;#39;t tried it because the client woudn&amp;#39;t allow farm configuration changes, another potential resolution path could be to temporarily switch the application server that hosts the Central Administration utility to one of the SSRS application server (APP2 or APP3) as explained in the &lt;a href="http://kirkbarrett.wordpress.com/2010/06/22/how-to-change-central-admin-host-in-sharepoint-2010/"&gt;blog post&lt;/a&gt;, &amp;quot;How to change Central Admin Host in SharePoint 2010&amp;quot; by Kirk Barrett. Then, you can register the SSSRS service on that server by executing the steps in item 3 above. Finally, switch back the Central Administration host server to the original server (APP1). &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5464" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx">SQL Server 11</category></item><item><title>Presenting Personal BI with PowerPivot v2</title><link>http://prologika.com/CS/blogs/blog/archive/2012/02/23/presenting-personal-bi-with-powerpivot-v2.aspx</link><pubDate>Thu, 23 Feb 2012 17:52:35 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5457</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ll be presenting &amp;quot;Personal BI with PowerPivot v2&amp;quot; for the Atlanta BI Group on Monday, February 27th. Join us to learn when personal BI makes sense and why PowerPivot is the best tool on the market when it does. The focus will be on the new features of PowerPivot version 2 which launch officially in a week or so.
&lt;/p&gt;&lt;p&gt;For more information and to register visit our &lt;a href="http://atlantabi.sqlpass.org/"&gt;Atlanta BI home page&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/022312_1752_PresentingP1.png" alt="" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5457" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/PowerPivot/default.aspx">PowerPivot</category></item><item><title>Announcing My New Book</title><link>http://prologika.com/CS/blogs/blog/archive/2012/02/11/announcing-my-new-book.aspx</link><pubDate>Sat, 11 Feb 2012 14:55:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5450</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a href="http://www.prologika.com/Books/0976635356/Book.aspx"&gt;&lt;img height="194" width="157" src="http://www.prologika.com/blog/021112_1455_AnnouncingM1.png" align="left" border="0" style="margin:0px 15px 10px 0px;" alt="" /&gt;&lt;/a&gt;My new &lt;a href="http://www.prologika.com/Books/0976635356/Book.aspx"&gt;book&lt;/a&gt;, Applied Microsoft SQL Server 2012 Analysis Services (Tabular Modeling), will start shipping in a week with all popular resellers, such as Amazon, B&amp;amp;N, etc. I&amp;#39;ve been working on it for a few months and I&amp;#39;m excited to have it done. While waiting to buy the book, check the following resources to get you started with PowerPivot and Tabular: &lt;/p&gt;
&lt;p&gt;- A &lt;a href="http://www.prologika.com/Books/0976635356/Resources/sample_chapters.pdf"&gt;sample chapter&lt;/a&gt; &amp;ndash; &amp;quot;Introducing Business Intelligence Semantic Model&amp;quot; &lt;/p&gt;
&lt;p&gt;- &lt;a href="http://www.prologika.com/Books/0976635356/Video/amas2012.html"&gt;Video demos&lt;/a&gt; &amp;ndash; I recorded over three hours of video content for selected exercises in the book &lt;/p&gt;
&lt;p&gt;An insightful tour that provides an authoritative yet independent view of this exciting technology, this guide introduces the Tabular side of the innovative Business Intelligence Semantic Model (BISM) that promotes rapid professional and self-service BI application development. Business analysts and power users will learn how to integrate data from multiple data sources, implement self-service BI applications with Excel, and deploy them to SharePoint. Business intelligence professionals and database administrators will discover how to build corporate solutions powered by BISM Tabular, delivering supreme performance with large data volumes, and how to implement a wide range of solutions for the entire spectrum of personal-team-organizational BI needs. &lt;/p&gt;
&lt;p&gt;WHAT&amp;#39;S INSIDE:&lt;br /&gt;Chapter 1: Introducing Business Intelligence Semantic Model&lt;/p&gt;
&lt;p&gt;PART I: PERSONAL BI WITH POWERPIVOT FOR EXCEL&lt;br /&gt;Chapter 2: Personal BI Basics&lt;br /&gt;Chapter 3: Importing Data&lt;br /&gt;Chapter 4: Refining the Model&lt;br /&gt;Chapter 5: Analyzing Data&lt;br /&gt;Chapter 6: Implementing Calculations&lt;/p&gt;
&lt;p&gt;PART II: TEAM BI WITH POWERPIVOT FOR SHAREPOINT&lt;br /&gt;Chapter 7: Team BI Basics&lt;br /&gt;Chapter 8: SharePoint Insights&lt;br /&gt;Chapter 9: Managing PowerPivot for SharePoint&lt;/p&gt;
&lt;p&gt;PART III: ORGANIZATIONAL BI WITH ANALYSIS SERVICES TABULAR&lt;br /&gt;Chapter 10: Organizational BI Basics&lt;br /&gt;Chapter 11: Designing Storage and Security&lt;br /&gt;Chapter 12: Managing Tabular Models&lt;/p&gt;
&lt;p&gt;Enoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5450" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Books/default.aspx">Books</category></item><item><title>ProcessUpdate and Partition Scans</title><link>http://prologika.com/CS/blogs/blog/archive/2012/02/07/processupdate-and-partition-scans.aspx</link><pubDate>Tue, 07 Feb 2012 16:42:07 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5444</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m working on minimizing the cube processing for a cube with some two billion rows in a fact table. I put together an ETL package that processes the dimensions with ProcessUpdate following by processing the latest partitions. I&amp;#39;ve noticed that processing one of the dimensions , which happens to be the largest (some 1 million rows) and most complicated dimension, resulted in partitions scans. The SQL Profiler showed the scans with the following events:
&lt;/p&gt;&lt;p&gt;&lt;span style="color:red;font-size:10pt;"&gt;Finished processing the &amp;#39;&lt;em&gt;&amp;lt;partition name&amp;gt;&lt;/em&gt;&amp;#39; partition
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;These partition scans don&amp;#39;t result in SQL queries to the database and normally should execute pretty fast. In this case, however, the scans were taking plenty of time resulting in some 15 minutes delay in the incremental processing flow. With some help from T.K. Anand, it turned out that I had a design issue with that dimension. I discovered the issue by changing the KeyDuplicate error in the dimension ErrorConfiguration to True and fully processing the dimension. Dimension processing failed because of the attribute relationships implied a one-to-many relationship between two attributes but the data didn&amp;#39;t support it. Somewhere along the design cycle, I turned off KeyDuplicate probably to get around the same issue in order to process the dimension successfully. 
&lt;/p&gt;&lt;p&gt;So, the moral of this story is:
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Always check your dimensions with the Dimension Health Check feature of the BIDS Helper.
&lt;/li&gt;&lt;li&gt;Don&amp;#39;t turn off KeyDuplicate.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;BTW, the problem with duplicate key errors is that the server can move members around  and that would cause indexes and aggregations to require being rebuilt. For example, if you have the following members in the source data:
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Attr1Key    Attr2Key
&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;55        32
&lt;/p&gt;&lt;p&gt;55        35
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The first time, the engine may store 32 as the related member. But the second time it sees the rows during ProcessUpdate, it would potentially choose 35 as the related member. And that&amp;#39;s going to cause indexes and aggregations to need rebuilding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5444" width="1" height="1"&gt;</description></item><item><title>Record Attendance for Atlanta BI Group Last Night</title><link>http://prologika.com/CS/blogs/blog/archive/2012/01/31/record-attendance-for-atlanta-bi-group-last-night.aspx</link><pubDate>Wed, 01 Feb 2012 01:16:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5440</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;We had the pleasure to have some 70 people attending our January 30&lt;sup&gt;th&lt;/sup&gt;, 2012 meeting of the Atlanta BI group. Our sponsor, Matrix Resources, was kind enough to give us the auditorium. FisionIO sponsored the meeting. Phil Per-Lee did us a &amp;quot;Prototypes with Pizza&amp;quot; presentation, titled Connecting the Dots. And, Carlos Rodrigues rocked the stage with the main presentation about dimensional modeling. &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve uploaded pictures to the &lt;a href="http://atlantabi.sqlpass.org/PhotoGallery.aspx"&gt;Photo Gallery&lt;/a&gt; section of our website and the slides to the &lt;a href="http://atlantabi.sqlpass.org/Resources.aspx"&gt;Resources&lt;/a&gt; section. We&amp;#39;ve got some cool presentations lined up for next few months. Check our &lt;a target="_blank" href="http://atlantabi.sqlpass.org/Calendar.aspx"&gt;Calendar&lt;/a&gt; section to see what&amp;#39;s coming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5440" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Atlanta.MBI/default.aspx">Atlanta.MBI</category></item><item><title>Downloading Multiple Files from SharePoint using WebDav</title><link>http://prologika.com/CS/blogs/blog/archive/2012/01/19/downloading-multiple-files-from-sharepoint-using-webdav.aspx</link><pubDate>Thu, 19 Jan 2012 15:06:57 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5422</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:12pt;"&gt;I had to download many ASP.NET pages from the SharePoint Pages library that were used to wrap up the Reporting Services ReportViewer webpart. I wanted the pages as files, so I could deploy them to another SharePoint server. Unfortunately, SharePoint doesn&amp;#39;t support selecting and downloading multiple files. But, it does support the WebDAV protocol. 
&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Open Windows Explorer and type in the following URL:&lt;br /&gt;\\&amp;lt;SharePoint site&amp;gt;\&amp;lt;library&amp;gt; 
&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:12pt;"&gt;Example: &lt;a&gt;\\elitex\Pages&lt;/a&gt;, where elitex is the SharePoint server and Pages is the document library.
&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Windows Explorer shows all documents in the library. From there on, just copy the files you need to another folder. 
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The only caveat is that you need to make sure the WebClient Windows service is running on your laptop. If you&amp;#39;re trying to connect from Windows 2008 Server, then make sure the Desktop Experience role is installed as well, which installs that WebClient service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5422" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Subscription and Alerts Issues with Analysis Services in SQL Server 2012</title><link>http://prologika.com/CS/blogs/blog/archive/2012/01/17/subscription-and-alerts-issues-with-analysis-services-in-sql-server-2012.aspx</link><pubDate>Tue, 17 Jan 2012 13:08:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5419</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As you probably now, Reporting Services doesn&amp;#39;t allow you to create subscriptions with data sources that use Windows security because subsbscriptions are run in unattended mode. Moving to SQL Server 2012, we&amp;#39;ll add Data Alerts to the list. This presents an issue if you use Analysis Services which only supports Windows security. The only option is to use Stored Credentials with the &amp;quot;Use as Windows credentials&amp;quot; checkbox checked. You won&amp;#39;t able to pass the user identity by checking &amp;quot;Set execution context to this account&amp;quot;. As with previous releases, &amp;quot;Set execution context to this account&amp;quot; works with the SQL Server data&amp;nbsp;but it doesn&amp;#39;t work with the Analysis Services provider. &lt;/p&gt;
&lt;p&gt;I raised this issue to Microsoft and I posted a &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/718927/unable-to-create-subscriptions-and-data-alerts-with-analysis-services-2012-in-sharepoint"&gt;bug report&lt;/a&gt;. The issue is under investigation but it&amp;#39;s unlikely to get fixed before SQL Server 2012 ships. Please vote!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5419" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Analysis+Services/default.aspx">Analysis Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx">SQL Server 11</category></item><item><title>Online PowerPivot Class</title><link>http://prologika.com/CS/blogs/blog/archive/2012/01/13/online-powerpivot-class.aspx</link><pubDate>Fri, 13 Jan 2012 13:40:36 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5409</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I am teaching my online &lt;a href="http://prologika.com/Training/Training.aspx"&gt;Applied PowerPivot class&lt;/a&gt; for personal and team business intelligence on Jan 24&lt;sup&gt;th&lt;/sup&gt; and 25&lt;sup&gt;th&lt;/sup&gt; and there are still seats available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5409" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Training/default.aspx">Training</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/PowerPivot/default.aspx">PowerPivot</category></item><item><title>Happy New Year 2012!</title><link>http://prologika.com/CS/blogs/blog/archive/2011/12/31/happy-new-year-2012.aspx</link><pubDate>Sat, 31 Dec 2011 23:08:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5389</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As 2011 is winding down, it&amp;#39;s time to reflect on the past and plan for the future. 2011 has been a very exciting year for Microsoft BI and me. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Gartner &lt;a href="http://www.microstrategy.com/Company/GartnerQuadrant.asp"&gt;positioned&lt;/a&gt; Microsoft as a leader in the 2011 Magic Quadrant for Business Intelligence Platforms. &lt;/li&gt;
&lt;li&gt;Although SQL Server 2012 will technically ship early next year, we can say it&amp;#39;s a done deal as it&amp;#39;s currently in a release candidate phase. The most important news from a BI perspective is the evolution of the Business Intelligence Semantic Model (BISM), which an umbrella name for both Multidimensional and Tabular models. &lt;/li&gt;
&lt;li&gt;The Tabular model provides us with a nice personal (PowerPivot for Excel)-team (PowerPivot for SharePoint)-organizational (Analysis Services Tabular) continuum on a single platform. &lt;/li&gt;
&lt;li&gt;Power View extends the BI reporting toolset with a sleek web-based reporting tool for authoring highly interactive and presentation-ready reports. &lt;/li&gt;
&lt;li&gt;In its second release, Master Data Services (MDS) comes out of age and now allows end users to use Excel to manage master data. The newcomer, Data Quality Services (DQS), complements MDS nicely in the never-ending pursuit for clean and trusted data. Integration Services has also nice enhancements. Finally, columnstore indexes will help to aggregate large datasets, such as the scenario I mentioned in this &lt;a href="http://prologika.com/CS/blogs/blog/archive/2011/12/07/columnstore-indexes-to-speed-etl.aspx"&gt;blog&lt;/a&gt;. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Looking forward to 2012 and beyond, here is my top 5 BI wish list: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Extending the Tabular capabilities with more professional features, such as scope assignments, role-playing dimensions, MDX query support, and so on, to enhance its reach further in the corporate space. Ideally, I expect at some point in future unification of Multidimensional and Tabular so BI pros don&amp;#39;t have to choose a model. &lt;/li&gt;
&lt;li&gt;Extending Power View to support multidimensional cubes. Further, in the reporting area, I expect an embeddable web-based OLAP browser (it&amp;#39;s time for Dundas Chart to come back to live) and an improved MDX query designer (no, I haven&amp;#39;t lost hope for this one). &lt;/li&gt;
&lt;li&gt;Enhanced Excel BI capabilities so Excel becomes the BI tool of choice. This includes supporting PowerPivot natively and overhauling the reporting capabilities beyond the venerable PivotTable and PivotChart. Ideally, what I am hoping for is decoupling Power View from SharePoint and integrating it with Excel and custom web applications. Power View is too cool to be confined onlyin SharePoint.&lt;/li&gt;
&lt;li&gt;Extending Microsoft Azure with BI capabilities to let solution providers host BI models in the cloud. &lt;/li&gt;
&lt;li&gt;Bringing BI to mobile devices. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On the personal side of things, I&amp;#39;ve been fortunate to stay healthy and busy (very busy). The &lt;a href="http://atlantabi.sqlpass.org"&gt;Atlanta BI group&lt;/a&gt;, which I am leading, has grown in size and we now enjoy having 40-50 people attending our monthly meetings. For the past few months, I&amp;#39;ve been working on my next book, &lt;a href="http://prologika.com/Books/0976635356/Book.aspx"&gt;Applied Microsoft SQL Server 2012 Analysis Services (Tabular Modeling)&lt;/a&gt;, which I expect to get published in March. And, my consulting business has been great! &lt;/p&gt;
&lt;p&gt;I wish you a healthy and prosperous year! I hope to meet many of you in 2012. Meanwhile, you can find me online at the usual places: &lt;a href="http://www.prologika.com/"&gt;&lt;span style="color:gray;font-family:Verdana;font-size:8pt;"&gt;www.prologika.com&lt;/span&gt;&lt;/a&gt;&lt;span style="color:gray;font-family:Verdana;font-size:8pt;"&gt; | &lt;a href="http://prologika.com/cs/blogs/"&gt;blog&lt;/a&gt; | &lt;a href="http://www.linkedin.com/in/tlachev"&gt;linkedin&lt;/a&gt; | &lt;a href="http://twitter.com/tlachev"&gt;twitter&lt;/a&gt;&lt;/span&gt;. &lt;/p&gt;
&lt;p&gt;Happy New Year!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5389" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/General/default.aspx">General</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Business+Intelligence/default.aspx">Business Intelligence</category></item><item><title>Using the Hash Group Hint to Speed up ColumnStore Indexes</title><link>http://prologika.com/CS/blogs/blog/archive/2011/12/20/using-the-hash-group-hint-to-speed-up-columnstore-indexes.aspx</link><pubDate>Wed, 21 Dec 2011 03:52:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5386</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As I mentioned in my &lt;a href="http://prologika.com/CS/blogs/blog/archive/2011/12/07/columnstore-indexes-to-speed-etl.aspx"&gt;blog post&lt;/a&gt; on this subject, I&amp;#39;ve found a good use of SQL Server 2012 columnstore indexes to speed up significantly ETL processes that need to aggregate large datasets. But we run into a snag, which got promoted to a bug by Microsoft Support Services. Under some conditions, SQL Server would create a plan that uses a &amp;quot;stream aggregate&amp;quot; operator instead of the more efficient hash match aggregate. This is illustrated by the following plans. &lt;/p&gt;
&lt;p&gt;This plan uses the stream aggregate and the query is much slower. If you hover on the Sort predicate, you will see a warning that the sort will spill data to tempdb. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://prologika.com/CS/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/6266.p1.png"&gt;&lt;img height="147" width="645" src="http://prologika.com/CS/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/6266.p1.png" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By contrast, this plan uses the Hash Match predicate and the query is about three times faster. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://prologika.com/CS/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/1464.p2.png"&gt;&lt;img height="154" width="640" src="http://prologika.com/CS/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/1464.p2.png" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned, this appears to be a bug with SQL Server 2012, which might not get fixed in RTM. Meanwhile, force your queries to use the HASH GROUP query hint to force SQL Server to use a hash match with columnstore indexes.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;GROUP BY&lt;/span&gt;&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 style="color:teal;"&gt;Organization_Id&lt;span style="color:gray;"&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&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 style="color:teal;"&gt;Item_Profile_Id, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:teal;"&gt;&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&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:blue;font-family:Consolas;font-size:9pt;"&gt;&lt;strong&gt;OPTION &lt;span style="color:gray;"&gt;(&lt;span style="color:blue;"&gt;HASH&lt;/span&gt; &lt;span style="color:blue;"&gt;GROUP&lt;span style="color:gray;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5386" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx">SQL Server 11</category></item><item><title>Upgrade Issues with PerformancePoint 2010 Filters</title><link>http://prologika.com/CS/blogs/blog/archive/2011/12/15/upgrade-issues-with-performancepoint-2010-filters.aspx</link><pubDate>Fri, 16 Dec 2011 01:17:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5379</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt; Migrate a PerformancePoint dashboard from MOSS 2007 to SharePoint 2010. We used the Import PerformancePoint Content feature to import existing dashboards from the PerformancePoint database and this saved us a lot of effort. However, filters failed with this rather obscure error:
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/121611_0116_UpgradeIssu1.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;After tracing with SQL Profiler and looking at the Windows Event log, we saw the following almost as useless error):
&lt;/p&gt;&lt;p&gt;&lt;span style="color:red;font-family:Segoe UI;font-size:9pt;"&gt;Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: Query (1, 7) Parser: The syntax for &amp;#39;{&amp;#39; is incorrect.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;In this case, the dashboard is using a Time Intelligence filter mapped to an Analysis Services dimension. 
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Resolution&lt;/strong&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;: &lt;/span&gt;The upgrade process has mapped the filter&amp;#39;s formula in the connection to the scorecard. We fixed the issue by mapping the filter data source (not formula), as shown in the screenshot below. In this case, the CompareDay is the data source name.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/121611_0116_UpgradeIssu2.png" alt="" /&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5379" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/PerformancePoint/default.aspx">PerformancePoint</category></item><item><title>Columnstore Indexes To Speed ETL</title><link>http://prologika.com/CS/blogs/blog/archive/2011/12/07/columnstore-indexes-to-speed-etl.aspx</link><pubDate>Thu, 08 Dec 2011 00:48:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5354</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;SQL Server 2012 introduces columnstore indexes. Using the same in-memory VertiPaq engine that powers PowerPivot and Analysis Services Tabular, columnstore indexes can speed up dramatically SQL queries that aggregate large datasets. For a great introduction to columnstore indexes, see the video &lt;a href="http://bit.ly/colulmnstoreindex"&gt;presentation&lt;/a&gt;, &amp;quot;Columnstore Indexes Unveiled&amp;quot; by Eric Hanson. I personally don&amp;#39;t see columnstore indexes as a replacement of Analysis Services because an analytical layer has much more to offer than just better performance. However, in a recent project we&amp;#39;ve found a great use of columnstore indexes to speed up ETL processes. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: Perform an initial load of a snapshot fact table for inventory analysis from another fact table with one billion rows. For each day, extract some 200 million rows from the source fact table and group these rows into a resulting set of about 300,000 rows to load the snapshot fact table for that day. The initial estimates indicated that that the extraction query alone takes about 15 minutes when using a clustered index. And, that&amp;#39;s just for one day. Given this speed, we estimated the initial load could take weeks. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution: &lt;/strong&gt;We upgraded to SQL Server 2012 and created a columnstore index on selected columns from the source fact table. We excluded high-cardinality columns that were not used by the extraction query to reduce the size of the index. Creating the index on the source table (1 billion rows) took about 10 minutes and this is very impressive. The disk footprint of the index was about 4GB. We ran the same extraction query and saw a five-fold performance improvement. This query, which would previously run for 15 minutes with a B-tree clustered index, would now finish in 3 minutes with a columnstore index. &lt;/p&gt;
&lt;p&gt;When testing your queries with columnstore indexes, it is important to make sure that the query executes in Batch mode. As you can see in the screenshot below, the query uses the columnstore index and the execution mode is Batch. If it says Row, the query performance degrades significantly. Watch Eric Hanson&amp;#39;s presentation to understand why this happens and possible workarounds. &lt;/p&gt;
&lt;p&gt;&lt;img height="287" width="612" src="http://www.prologika.com/blog/120811_0048_Columnstore1.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I did initial tests to test the columnstore index, I ran into a gotcha. I tested a simple &amp;quot;SELECT SUM(X) FROM TABLE&amp;quot; query to find that it executes in a Row mode and the query took about 2 minutes to finish. As usual, the first thing I try doesn&amp;#39;t work. As it turned out, currently a columnstore index doesn&amp;#39;t support batch mode with scalar aggregates. You need to rewrite the query with a GROUP BY as Eric Hanson explains this in more details in his &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/perform-scalar-aggregates-and-still-get-the-benefit-of-batch-processing.aspx"&gt;blog&lt;/a&gt;, &amp;quot;Perform Scalar Aggregates and Still get the Benefit of Batch Processing&amp;quot;. This is rather unfortunate because every ad-hoc report starts with the end user dropping a measure and the report tool generating such queries. &lt;/p&gt;
&lt;p&gt;When testing the performance gain, it&amp;#39;s useful to compare how the same query would perform without a columnstore index. Instead of having two tables or dropping the index, you could simply tell SQL Server to ignore the columnstore index, such as: &lt;/p&gt;
&lt;p&gt;SELECT &amp;hellip; FROM&amp;hellip;WHERE&amp;hellip;GROUP BY&amp;hellip; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OPTION (IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX) &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To sum up, when you are pushing the envelope of traditional B-tree indexes and queries aggregate data, consider SQL Server 2012 columnstore indexes. The query optimizer would automatically favor a columnstore index when it makes sense to use it. Columnstore indexes require a read-only table but the cost of dropping and recreating them is not that high. Or, you could add them to speed up the initial DW load and drop them once the load completes. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5354" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Integration+Services/default.aspx">Integration Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx">SQL Server 11</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Data+Warehousing/default.aspx">Data Warehousing</category></item><item><title>What's New in Power View RC0</title><link>http://prologika.com/CS/blogs/blog/archive/2011/11/22/what-s-new-in-power-view-rc0.aspx</link><pubDate>Wed, 23 Nov 2011 01:29:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5353</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I was just about to write a blog about the new features in the Release Candidate (RC) build of Power View and I saw that Robert had written a &lt;a href="http://blogs.msdn.com/b/robertbruckner/archive/2011/11/17/what-s-new-in-power-view.aspx"&gt;great blog&lt;/a&gt; already. It&amp;#39;s great to see the product coming along so nicely. Can&amp;#39;t wait to be able to use multidimensional cubes as data sources! &lt;/p&gt;
&lt;p&gt;One feature that stirred a lot of excitement and deserves more attention is Power View export to PowerPoint. When you export a report to PowerPoint, initially you get static slides that show images of the report pages. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112311_0129_WhatsNewinP1.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;Don&amp;#39;t be fool however as you can click the Click to Interact button to render the report live. The interactive mode preserves all report interactive features. For example, in the screenshot below I am playing the scatter chart animation. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112311_0129_WhatsNewinP2.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;Behind the scenes, the interactive mode uses a Silverlight alternative hosting &lt;a href="http://msdn.microsoft.com/en-us/library/dd550717(v=VS.95).aspx"&gt;control&lt;/a&gt; (right-click the object on the slice and click View Code) that points to the deployed report on the SharePoint server. Therefore, a live connection and permissions to SharePoint are required to preview the report inside PowerPoint. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112311_0129_WhatsNewinP3.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE 11/29/11&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As explained in the SQL Server 2012 RC0 release &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/microsoft-sql-server-2012-rc-0-release-notes.aspx"&gt;notes&lt;/a&gt;, the pre-release bits of Silverlight 5 are not available in 64-bit. The RTM release will include a 64-bit installer and it looks like it be available pretty soon.&amp;nbsp;Meanwhile, trying to interact with a Power View report exported to PowerPoint 64-bit wil fail with the error &amp;quot;Some controls on this presentation can&amp;#39;t be activated. They might not be registered on this computer.&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5353" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx">SQL Server 11</category></item><item><title>SQL Server 2012 RC is Here</title><link>http://prologika.com/CS/blogs/blog/archive/2011/11/18/sql-server-2012-rc-is-here.aspx</link><pubDate>Fri, 18 Nov 2011 13:06:26 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:5352</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The public release of Microsoft SQL Server&lt;span style="color:#1f497d;"&gt;
		&lt;/span&gt;2012 RC0 is now &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=28145"&gt;available&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5352" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx">SQL Server 11</category></item></channel></rss>
