<?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/"><channel><title>Prologika (Teo Lachev's Weblog)</title><link>http://prologika.com/CS/blogs/blog/default.aspx</link><description>Teo Lachev is a consultant, mentor, and author focusing on the design and development of Microsoft business intelligence solutions. Read about Teo&amp;#39;s work and life. Registered users can post comments.</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Beware Hidden Calculated Members</title><link>http://prologika.com/CS/blogs/blog/archive/2010/01/18/beware-hidden-calculated-members.aspx</link><pubDate>Mon, 18 Jan 2010 23:06:07 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4170</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4170</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2010/01/18/beware-hidden-calculated-members.aspx#comments</comments><description>&lt;p&gt;Here is another one of those &amp;quot;by design&amp;quot; issues (see the Not All Calculated Members Are Born Equal &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/11/13/not-all-calculated-members-are-born-equal.aspx"&gt;blog&lt;/a&gt; for another recent gotcha) that are not documented but can sure waste you precious time figuring out. The issue was first &lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=434253"&gt;submitted&lt;/a&gt; on connect.microsoft.com by Greg Galloway almost a year ago where it was left in an investigation phase (what can we do to get the SSAS team actually review the connect cases and post findings?). Then, I &lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=508308"&gt;submitted&lt;/a&gt; a similar issue and official support case since I was 100% sure it was a bug and I needed a closure. Alas, Microsoft came back to declare it &amp;quot;by design&amp;quot;:
&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;quot;…per feedback from several AS 2005 Beta customers, for compatibility with pre-existing AS 2000 behavior, AS 2005 RTM (and later releases) was changed to not include hidden calculated members in cell calculations and scopes (except when a hidden calculated member is explicitly referenced in the calculation scope).&amp;quot;
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;The issue affects hidden calculated members and scope assignments where a scope assignment simply ignores hidden calculated members if they are not explicitly referenced by the script. You can easily repro the issue by making the following changes to the Adventure Works script:
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:green;"&gt;/*-- Allocate equally to quarters in H2 FY 2005 ------------------------*/&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;CREATE&lt;/span&gt;
			&lt;span style="color:blue;"&gt;MEMBER&lt;/span&gt;
			&lt;span style="color:blue;"&gt;CURRENTCUBE&lt;/span&gt;.[Measures].[Visible Quota] A&lt;span style="color:blue;"&gt;S&lt;/span&gt;
			&lt;span style="color:blue;"&gt;null&lt;/span&gt;, 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;FORMAT_STRING&lt;/span&gt; = &lt;span style="color:#a31515;"&gt;&amp;quot;Currency&amp;quot;&lt;/span&gt;, 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;strong&gt;&lt;span style="color:blue;"&gt;VISIBLE&lt;/span&gt; = 1&lt;/strong&gt; ,  &lt;span style="color:blue;"&gt;ASSOCIATED_MEASURE_GROUP&lt;/span&gt; = &lt;span style="color:#a31515;"&gt;&amp;#39;Sales Targets&amp;#39;&lt;/span&gt;  ;  
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;CREATE&lt;/span&gt;
			&lt;span style="color:blue;"&gt;MEMBER&lt;/span&gt;
			&lt;span style="color:blue;"&gt;CURRENTCUBE&lt;/span&gt;.[Measures].[Invisible Quota] &lt;span style="color:blue;"&gt;AS&lt;/span&gt;
			&lt;span style="color:blue;"&gt;null&lt;/span&gt;, 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;FORMAT_STRING&lt;/span&gt; = &lt;span style="color:#a31515;"&gt;&amp;quot;Currency&amp;quot;&lt;/span&gt;, 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;strong&gt;&lt;span style="color:blue;"&gt;VISIBLE&lt;/span&gt; = 0 &lt;/strong&gt;,  &lt;span style="color:blue;"&gt;ASSOCIATED_MEASURE_GROUP&lt;/span&gt; = &lt;span style="color:#a31515;"&gt;&amp;#39;Sales Targets&amp;#39;&lt;/span&gt;  ;  
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;Scope&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt; ( 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;    [Date].[Fiscal Year].&amp;amp;[2005],
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;    [Date].[Fiscal].[Fiscal Quarter].&lt;span style="color:blue;"&gt;Members
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;);    
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;
			&lt;span style="color:blue;"&gt;this&lt;/span&gt; = (&lt;span style="color:maroon;"&gt;ParallelPeriod&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;          ( 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;             [Date].[Fiscal].[Fiscal Year], 1,
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;             [Date].[Fiscal].&lt;span style="color:maroon;"&gt;CurrentMember&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;          ), [Measures].[Sales Amount Quota]) * 1.35;&lt;/span&gt;
	&lt;/p&gt;&lt;p&gt;Here, I created two identical calculated members with the only difference that the first one is visible and second one hidden. Then, execute the following query:
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt; {[Measures].[Sales Amount Quota], [Measures].[Visible Quota], [Measures].[Invisible Quota]} &lt;span style="color:blue;"&gt;on&lt;/span&gt; 0
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;FROM&lt;/span&gt; [Adventure Works] 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;WHERE&lt;/span&gt; [Date].[Fiscal].[Fiscal Quarter].&amp;amp;[2005]&amp;amp;[1]
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;And here are the results (surprise!):
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/011810_2304_BewareHidde1.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;The Visible Quota member is populated as it should be but Invisible Quota refuses to budge as the script simply ignores it. If the script scopes on the Invisible Quota member explicitly or you make it visible, then we get the expected results. Since the issue is by design and a fix won&amp;#39;t be available anytime soon, you should be very careful when you use hidden calculated members and expect them to be affected by scope assignments. I use often helper calculated members which I hide since they shouldn&amp;#39;t be visible to the end users. This issue hit me really hard after QA reported wrong results and your humble correspondent had to debug a cube with some 1000+ lines of code. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4170" 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>Report Builder 3.0 Edit Sessions</title><link>http://prologika.com/CS/blogs/blog/archive/2010/01/18/report-builder-3-0-edit-sessions.aspx</link><pubDate>Mon, 18 Jan 2010 14:25:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4169</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4169</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2010/01/18/report-builder-3-0-edit-sessions.aspx#comments</comments><description>&lt;p&gt;When Report Builder 2.0 shipped , it introduced local and server preview modes. If the report uses local references only, such an embedded data source(s), Report Builder 2.0 executes the query and renders the report locally just like the BIDS Report Designer. However, when the report uses a server reference, such as shared data source(s) or subreports that were saved on the server, Report Builder 2.0 would transparently upload and process the report on the server just like the Report Builder 1.0. &lt;/p&gt;
&lt;p&gt;Report Builder 3.0 improves the performance of server preview mode by introducing &lt;strong&gt;edit sessions&lt;/strong&gt;. An edit session is implicitly created when the user runs the report for the first time. Behind the scenes, Report Builder 3.0 calls the new CreateReportEditSession API to instruct the server to create an edit session. The server caches the report dataset(s) in the ReportServerTempDB database (not in memory) and uses the cached data for subsequent previews. In this respect, you can think of edit sessions as the *.data files that the BIDS Report Designer generates to cache the report data in order to speed up&amp;nbsp;report preview. As long as you don&amp;#39;t make changes to the report that affect the data, such as changes to the dataset itself, data source, or parameters, the cached copy of the data is used by the report. This means that the user may not see changes that might have taken place in the database for the duration of the edit session. To make sure that the latest data is used, click the Refresh button on the Report Builder 3.0 toolbar. Refreshing the report discards the edit session and executes the database queries. &lt;/p&gt;
&lt;p&gt;The administrator can configure two new server properties to manage edit sessions: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;EditSessonCacheLimit - By default, the data cache can hold up to five datasets per report and user. Note that if the dataset is parameterized, each parameter combination counts as one dataset. If you use many different combinations of parameter values, the report might need more cached dataset copies. The administrator can allow this by increasing the EditSessonCacheLimit setting. &lt;/li&gt;
&lt;li&gt;EditSessionTimeout - By default, an edit session lasts 7200 seconds (2 hours). The servers resets the session every two hours when the user previews the report. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/011810_1424_ReportBuild1.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;Report Builder 3.0 edit sessions are a performance-related enhancement that makes server-side report preview more efficient.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4169" 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+2008+R2/default.aspx">SQL Server 2008 R2</category></item><item><title>Report Builder 3.0 Enhancements in R2 and SharePoint 2010 Mode</title><link>http://prologika.com/CS/blogs/blog/archive/2010/01/12/report-builder-enhancements-in-sharepoint-mode.aspx</link><pubDate>Wed, 13 Jan 2010 03:06:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4146</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4146</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2010/01/12/report-builder-enhancements-in-sharepoint-mode.aspx#comments</comments><description>&lt;p&gt;A couple of Report Builder enhancements in SharePoint 2010&amp;nbsp;integration mode caught my attention. First, Report Builder 3.0 now launches by default when the Open in Report Builder action is initiated inside SharePoint 2010. Previously, Report Builder 1.0 would be launched. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/011310_0305_ReportBuild1.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;Second, if the report includes a drillthrough action to another report, the action now works when the action is initiated from Report Builder 3.0 preview mode. As it turns out, a drillthrough action is forwarded directly to SharePoint. Previously, a report drillthrough action will result in an error because the Report Builder would attempt to resolve the action locally. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4146" 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+2008+R2/default.aspx">SQL Server 2008 R2</category></item><item><title>ReportService2010 Endpoint</title><link>http://prologika.com/CS/blogs/blog/archive/2010/01/12/reportservice2010-endpoint.aspx</link><pubDate>Wed, 13 Jan 2010 02:29:57 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4145</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4145</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2010/01/12/reportservice2010-endpoint.aspx#comments</comments><description>&lt;p&gt;Here is a little gem for developers programming Reporting Services. SQL Server 2008 R2 brings a new web service endpoint, &lt;strong&gt;ReportService2010&lt;/strong&gt;, which merges the functionalities of the ReportService2005 and ReportService2006 endpoints. The new endpoint can manage objects on a report server that that are configured for either native or SharePoint integrated mode. Previously, the ReportService2005 endpoint was used for managing objects on a report server that is configured for native mode and the ReportService2006 endpoint was used for managing objects on a report server that is configured for SharePoint integrated mode. This required code changes and retesting if the report server was re-configured in a different mode.  These endpoints are now deprecated but still supported. The ReportService2010 endpoint includes the functionalities of both endpoints. When unsupported APIs in ReportService2010 are invoked, such as invoking the CreateLinkedReport API in SharePoint mode which doesn&amp;#39;t support linked reports, the endpoint will return an error that the operation is not supported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4145" 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+2008+R2/default.aspx">SQL Server 2008 R2</category></item><item><title>Virtual Adventures</title><link>http://prologika.com/CS/blogs/blog/archive/2010/01/07/virtual-adventures.aspx</link><pubDate>Thu, 07 Jan 2010 23:48:58 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4127</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4127</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2010/01/07/virtual-adventures.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: Mount base and differencing VHD disks using Windows Virtual PC on Windows 7 x64.
&lt;/p&gt;&lt;p&gt;Dude, did you run out of BI stuff to talk about? I didn&amp;#39;t but I think other folks may benefit from my experience especially MCTs who have discovered that Windows 7 hasn&amp;#39;t happened yet to the Microsoft Official Curriculum and resorted to all sorts of hacks to get Virtual Server 2005 or Lab Launcher working with Windows 7. In the process, I&amp;#39;ve learned a lot about the virtualization technology that goes beyond just mounting disks. OK, I have a hidden agenda to write this blog as well – I want to document these steps.
&lt;/p&gt;&lt;p&gt;So, I am preparing to teach 6326A - Implementing and Maintaining Microsoft SQL Server 2008 Reporting Services in an instructor-led environment where I have to install the required software on the student&amp;#39;s machine. After downloading the trainer resources, I have discovered that Microsoft provides 6236A-NY-SQL-01.vhd disk which requires a base disk Base08A.vhd. Reading the setup guide included in the course revealed that Microsoft wants me to install Virtual Server 2005 on both the instructor and students machines.
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Gotcha 1&lt;/strong&gt;: Virtual Server 2005 doesn&amp;#39;t run on Windows 7. Browsing the MCT private groups I came across posts discussing a hack around this limitation but I didn&amp;#39;t want go that way. Not to mention that Microsoft Lab Launcher, which apparently is intended to simplify the VHD deployment to student machines, doesn&amp;#39;t run on Win 7 as well. A double-gotcha which picked up my interest and stirred my hacking instincts to get the whole thing working with Virtual PC. After all, I can&amp;#39;t control what OS the students run or the training center has installed.
&lt;/p&gt;&lt;p&gt;OK, but this is just VHD disk, isn&amp;#39;t it? So, it should run on Windows Virtual PC, right? So, I created a new virtual machine and attempted to mount 6236A-NY-SQL-01.vhd but I was greeted with the following informative error:
&lt;/p&gt;&lt;p&gt;&lt;span style="color:#c00000;"&gt;&lt;span style="font-family:Verdana;font-size:8pt;"&gt;Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again.&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Then I mounted Base08A.vhd and I was able to boot the VM only to find out that it includes the Windows Server 2008 OS only. Where is the cool SQL Server BI stuff? This is the part where I realized that my virtual knowledge needs brushing up. Enter &lt;a href="http://technet.microsoft.com/en-us/library/cc720381(WS.10).aspx"&gt;differencing disks&lt;/a&gt;.  This of course is not explained in the setup document, so don&amp;#39;t try to find it there. I figured that Base08A.vhd is the base disk that has the OS only while the 6236A-NY-SQL-01.vhd is the differencing disk that has the rest (SQL Server 2008 + Reporting Services samples and Adventure Works database) installed. To prove my hypothesis, I used the Sun&amp;#39;s &lt;a href="http://www.virtualbox.org/"&gt;VirtualBox&lt;/a&gt;. I use VirtualBox for my personal VM work because it supports x64 guess OS, which Virtual PC doesn&amp;#39;t support (shame). I used the Disk Manager to add both the base and difference images and … lo and behold, the VM booted up and I was able to verify that SQL Server 2008 and rest of the goodies are installed. 
&lt;/p&gt;&lt;p&gt;But I didn&amp;#39;t want to force the students to install VirtualBox so I continued hacking my way to Windows Virtual PC. In a Eureka moment, I examined the Windows Event log and saw the following message:
&lt;/p&gt;&lt;p&gt;&lt;span style="color:#c00000;font-family:Verdana;font-size:8pt;"&gt;The parent virtual hard disk &amp;#39;C:\Program Files\Microsoft Learning\Base\Base08A.vhd&amp;#39; for the differencing virtual hard disk &amp;#39;C:\VPC\3263\6236A-NY-SQL-01.vhd&amp;#39; does not exist. Please reconnect the differencing virtual hard disk to the correct parent virtual hard disk.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;So, the base disk path is hardcoded in the differencing image. The following commands confirmed this.
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Went to command prompt and entered (the actual commands are in bold):
&lt;/div&gt;&lt;p&gt;&lt;strong&gt;C:\&amp;gt;Diskpart
&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;DISKPART&amp;gt; select vdisk file=&amp;quot;c:\vpc\6236\6236A-NY-SQL-01.vhd&amp;quot;
&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;DiskPart successfully selected the virtual disk file.
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;DISKPART&amp;gt; detail vdisk
&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Device type ID: 2 (VHD)
&lt;/p&gt;&lt;p&gt;Vendor ID: {EC984AEC-A0F9-47E9-901F-71415A66345B} (Microsoft Corporation)
&lt;/p&gt;&lt;p&gt;State: Added
&lt;/p&gt;&lt;p&gt;Virtual size:   64 GB
&lt;/p&gt;&lt;p&gt;Physical size:    9 GB
&lt;/p&gt;&lt;p&gt;Filename: c:\vpc\6236\6236A-NY-SQL-01.vhd
&lt;/p&gt;&lt;p&gt;Is Child: Yes
&lt;/p&gt;&lt;p&gt;&lt;em&gt;Parent Filename: C:\Program Files\Microsoft Learning\Base\Base08A.vhd
&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Associated disk#: Not found.
&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;I moved the based image (Base08A.vhd) to C:\Program Files\Microsoft Learning\Base. With a baited breath, I repeated the process of creating a new virtual machine in Windows Virtual PC pointing to the existing 6236A-NY-SQL-01.vhd but I got the first error:
&lt;/div&gt;&lt;p&gt;&lt;span style="color:#c00000;"&gt;&lt;span style="font-family:Verdana;font-size:8pt;"&gt;Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again.&lt;/span&gt;
				&lt;/span&gt;&lt;/p&gt;&lt;p&gt;No more details in the Windows event log. At this point, I posted a &lt;a href="http://social.technet.microsoft.com/Forums/en-US/w7itprovirt/thread/0bea3399-7f2f-4f86-8d14-9801959a6c69/"&gt;question&lt;/a&gt; to the Windows 7 Virtualization discussion forum and I was clued in the disk virtual size (not physical size) could be the issue since Virtual PC doesn&amp;#39;t support disks larger than 127 GB. Although after attaching the 6236A-NY-SQL-01.vhd using the Windows 7 Disk Manager I could see that the virtual size is 64 GB, I compacted the base disk using these &lt;a href="http://blog.wisefaq.com/2009/12/31/how-to-fix-the-cannot-attach-the-virtual-hard-disk/"&gt;steps&lt;/a&gt;. That didn&amp;#39;t help and the hour was getting late. So I threw the white towel on the differencing disk approach (for now) and decided to merge the differencing disk into the base disk.
&lt;/p&gt;&lt;p&gt;Assuming the commands in step 1), I executed the following commands:
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;DISKPART&amp;gt;detach vdisk
&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;DiskPart successfully detached the virtual disk file.
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;DISKPART&amp;gt;merge vdisk depth=1&lt;/strong&gt;
			&lt;/p&gt;&lt;p&gt;100 percent complete
&lt;/p&gt;&lt;p&gt;(after a long wait …)
&lt;/p&gt;&lt;p&gt;DiskPart successfully merged the differencing chain.
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Now that I had the disks merged I was able to create a new virtual machine successfully using the base disk image (Base08A.vhd) which combined both the original and differencing disks. Since the differencing disk was merged, I could delete 6236A-NY-SQL-01.vhd.
&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;Gotcha 2&lt;/strong&gt;: After booting the virtual machine, I was able to log in using the pre-defined Student account. However, attempting to run the SQL Server Management Studio, I got an error that the SQL Server 2008 evaluation period has expired. I attempted to reset the Windows Server 2008 (guest OS) system date, but after a few seconds the date would revert to the present date. More binging the Internet solved the issue.
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Shut down the VM.
&lt;/li&gt;&lt;li&gt;Open the vmc file in Notepad.
&lt;/li&gt;&lt;li&gt;Chang the last six digits to a year ago (070109)&lt;br /&gt;&amp;lt;time_bytes type=&amp;quot;bytes&amp;quot;&amp;gt;57002400060004&lt;strong&gt;070109&lt;/strong&gt;&amp;lt;/time_bytes&amp;gt;
&lt;/li&gt;&lt;li&gt;&lt;div&gt;Further down the file, disable guest-to-host OS time synchronization:&lt;br /&gt;&amp;lt;host_time_sync&amp;gt;
&lt;/div&gt;&lt;p&gt;&amp;lt;enabled type=&amp;quot;boolean&amp;quot;&amp;gt;&lt;strong&gt;false&lt;/strong&gt;&amp;lt;/enabled&amp;gt;
&lt;/p&gt;&lt;p&gt;    &amp;lt;frequency type=&amp;quot;integer&amp;quot;&amp;gt;15&amp;lt;/frequency&amp;gt;
&lt;/p&gt;&lt;p&gt;    &amp;lt;threshold type=&amp;quot;integer&amp;quot;&amp;gt;10&amp;lt;/threshold&amp;gt;
&lt;/p&gt;&lt;p&gt; &amp;lt;/host_time_sync&amp;gt;
&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Boot VM. Now change the system date to 07-01-09. 
&lt;/div&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Success!&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4127" 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/Windows/default.aspx">Windows</category></item><item><title>Most Requested Features </title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/21/most-requested-features.aspx</link><pubDate>Mon, 21 Dec 2009 21:06:51 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4091</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4091</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/21/most-requested-features.aspx#comments</comments><description>&lt;p&gt;You can use the Microsoft Connect website to find most requested features. Unfortunately, the search doesn&amp;#39;t let you specify a product so the search results may be related to other products. For example, searching on &lt;em&gt;reporting services &lt;/em&gt;may bring in results from Analysis Services and &lt;em&gt;reporting&lt;/em&gt;. Nevertheless, it was quite interesting to find the top voted suggestions. For example, the following query shows the top suggestions for Reporting Services (flip to the Suggestions tab):
&lt;/p&gt;&lt;p&gt;&lt;a href="https://connect.microsoft.com/SQLServer/SearchResults.aspx?KeywordSearchIn=2&amp;amp;SearchQuery=%22reporting%22+AND+%22services%22&amp;amp;FeedbackType=1&amp;amp;Scope=0&amp;amp;SortOrder=10&amp;amp;TabView=0&amp;amp;wa=wsignin1.0"&gt;https://connect.microsoft.com/SQLServer/SearchResults.aspx?KeywordSearchIn=2&amp;amp;SearchQuery=%22reporting%22+AND+%22services%22&amp;amp;FeedbackType=1&amp;amp;Scope=0&amp;amp;SortOrder=10&amp;amp;TabView=0&amp;amp;wa=wsignin1.0&lt;/a&gt;
	&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Reporting Services-Recognize multiple result sets returned from a stored procedure – (50 votes)
&lt;/li&gt;&lt;li&gt;Merging / Linking datasets on report level (50 votes) – No 6 on my SSRS Top 10 &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/12/07/reporting-services-top-10-wish-list.aspx"&gt;wish list&lt;/a&gt;.
&lt;/li&gt;&lt;li&gt;SQL Reports should support stylesheets (43 votes) – No 9 on my list.
&lt;/li&gt;&lt;li&gt;Support for XML Paper Specification (XPS) Output Format (29 votes) – I am personally surprised about this one.
&lt;/li&gt;&lt;li&gt;Reporting Services Security Using Membership and Roles (29 votes), and so on
&lt;/li&gt;&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4091" 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/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://prologika.com/CS/blogs/blog/archive/tags/Analysis+Services/default.aspx">Analysis Services</category></item><item><title>Running ReportViewer Under Trusted Account</title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/15/running-reportviewer-under-trusted-account.aspx</link><pubDate>Wed, 16 Dec 2009 00:33:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4079</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4079</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/15/running-reportviewer-under-trusted-account.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: You have an Internet-facing web application that uses the Visual Studio ReportViewer control to render reports. The application takes care of authenticating the users. You want all report requests to the report server to go under a single (trusted) Windows account. There are at least two approaches to implement this scenario: &lt;/p&gt;
&lt;h2&gt;Basic Authentication &lt;/h2&gt;
&lt;p&gt;You can configure ReportViewer for basic authentication by implementing the &lt;span style="color:#2b91af;font-family:Courier New;font-size:10pt;"&gt;Microsoft.Reporting.WebForms&lt;/span&gt;.&lt;span style="color:#2b91af;font-family:Courier New;font-size:10pt;"&gt;IReportServerCredentials &lt;/span&gt;interface, as follows: &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;[&lt;span style="color:#2b91af;"&gt;Serializable&lt;/span&gt;] &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;MyReportServerCredentials&lt;/span&gt; : &lt;span style="color:#2b91af;"&gt;IReportServerCredentials &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; MyReportServerCredentials() &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;WindowsIdentity&lt;/span&gt; ImpersonationUser &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;get &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;null&lt;/span&gt;; &lt;span style="color:green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;ICredentials&lt;/span&gt; NetworkCredentials &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;get &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;NetworkCredential&lt;/span&gt;( &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:#2b91af;"&gt;ConfigurationManager&lt;/span&gt;.AppSettings[&lt;span style="color:#a31515;"&gt;&amp;quot;reportUser&amp;quot;&lt;/span&gt;], &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:#2b91af;"&gt;ConfigurationManager&lt;/span&gt;.AppSettings[&lt;span style="color:#a31515;"&gt;&amp;quot;reportPassword&amp;quot;&lt;/span&gt;] &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left:108pt;"&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:#2b91af;"&gt;, &amp;quot;&amp;lt;your domain here&amp;gt;&amp;quot; &amp;ndash; comment out this line if a domain account is used as a trusted account &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-left:108pt;"&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:#2b91af;"&gt;)&lt;/span&gt;; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;bool&lt;/span&gt; GetFormsCredentials(&lt;span style="color:blue;"&gt;out&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;Cookie&lt;/span&gt; authCookie, &lt;span style="color:blue;"&gt;out&lt;/span&gt; &lt;span style="color:blue;"&gt;string&lt;/span&gt; user, &lt;span style="color:blue;"&gt;out&lt;/span&gt; &lt;span style="color:blue;"&gt;string&lt;/span&gt; password, &lt;span style="color:blue;"&gt;out&lt;/span&gt; &lt;span style="color:blue;"&gt;string&lt;/span&gt; authority) &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;{ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;authCookie = &lt;span style="color:blue;"&gt;null&lt;/span&gt;; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;user = &lt;span style="color:blue;"&gt;null&lt;/span&gt;; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;password = &lt;span style="color:blue;"&gt;null&lt;/span&gt;; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;authority = &lt;span style="color:blue;"&gt;null&lt;/span&gt;; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt; &lt;span style="color:blue;"&gt;false&lt;/span&gt;; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Specifically, you need to implement the NetworkCredentials property of IReportServerCredentials. In my case, I read the trusted account credentials from web.config. Once IReportServerCredentials is implemented, you need to configure ReportViewer to use it. This takes one line of code: &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;reportViewer.ServerReport.ReportServerCredentials = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;MyReportServerCredentials&lt;/span&gt;(); &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The advantage of using IReportServerCredentals if flexibility. You can retrieve the account credentials from any place, such as security service, configuration file, database, etc. In addition, the impersonation is scoped for ReportViewer only. Other network calls made by the applications are unaffected. &lt;/p&gt;
&lt;h2&gt;Process Identity &lt;/h2&gt;
&lt;p&gt;The issue with IReportServerCredentals is the application must deal with the credentials of the trusted account, including the password. For added level of security, I try my best to avoid handling passwords and use Windows authentication whenever I can. Therefore, my preferred approach is to change the process identify of the web application. One way to do this is to change the identity of the IIS application pool the web application is running under, as follows: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you don&amp;#39;t have a domain account to use as a trusted account, create a new domain account. &lt;/li&gt;
&lt;li&gt;On the web server, add the account to the &lt;strong&gt;IIS_WPG&lt;/strong&gt; local Windows group to give it the necessary rights to be used as an application pool account. &lt;/li&gt;
&lt;li&gt;In the IIS Manager, expand the server name, right-click the Application Pools folder, and click New Application Pool. &lt;/li&gt;
&lt;li&gt;Give the new pool a name. In the pool Properties page, click the Identity tab, select the Configurable option, and enter the credentials of the trusted account. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.prologika.com/blog/121609_0031_RunningRepo1.png" alt="" /&gt; &lt;/li&gt;
&lt;li&gt;Open the web application properties and change its application pool to the pool you just created.&lt;br /&gt;&lt;img src="http://www.prologika.com/blog/121609_0031_RunningRepo2.png" alt="" /&gt; &lt;/li&gt;
&lt;li&gt;If present, remove &amp;lt;identity impersonate=&amp;quot;true&amp;quot;/&amp;gt; element from the application web.config file so the network calls are made under the process identify instead of the anonymous user account, such as IUSR_&amp;lt;MACHINE_NAME&amp;gt;. &lt;/li&gt;
&lt;li&gt;At this point, if you run the web application, you may get a permission error because the domain account doesn&amp;#39;t have the necessary rights to specific folders, such as the web application folder and the temp folder. Using Windows Explorer, grant the domain account (or IIS_WPG group) rights to these folders. The error message should include the path of the folder you need to grant access to. &lt;/li&gt;
&lt;li&gt;Finally, use the Report Manager to grant the necessary rights to the trusted account, such as Browser, to the required folders.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.prologika.com/blog/121609_0031_RunningRepo3.png" alt="" /&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4079" 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>Infragistics Silverlight for Analysis Services</title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/09/infragistics-silverlight-for-analysis-services.aspx</link><pubDate>Wed, 09 Dec 2009 22:11:39 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4055</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4055</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/09/infragistics-silverlight-for-analysis-services.aspx#comments</comments><description>&lt;p&gt;Don Demsak &lt;a href="http://labs.infragistics.com/silverlightdv/ctp/"&gt;pointed out&lt;/a&gt; another Silverlight-based control from Infragistics, which is currently in a CTP phase. There are actually two controls: XamWebDataChart and XamWebPivotGrid. I played a bit with it and it looks great. I liked the Excel-like paradigm with the metadata pane on the right and the PivotChart and PivotTable synchronized. As I&amp;#39;ve been saying – give me a Silverlight-based Excel Pivot and I am happy. 
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/120909_2209_Infragistic1.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;See my &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/10/18/intelligencia-for-silverlight.aspx"&gt;previous blog&lt;/a&gt; about the Intelligencia for Silverlight which is another Siliverlight-based control for Analysis Services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4055" 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>Analysis Services Top 10 Wish List</title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/07/analysis-services-top-10-wish-list.aspx</link><pubDate>Mon, 07 Dec 2009 18:27:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4047</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4047</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/07/analysis-services-top-10-wish-list.aspx#comments</comments><description>&lt;p&gt;Analysis Services leads the OLAP server market and it should be your platform of choice for historical and trend reporting. In the spirit of the season, here is my Top 10 Wish List for Analysis Services. All items are related to regular cubes and none to PowerPivot which I am yet to try. &lt;/p&gt;
&lt;ol style="margin-left:38pt;"&gt;
&lt;li&gt;Improved client support &amp;ndash; No 1 on my list has nothing to do with the server itself but with how well the Microsoft-provided clients support Analysis Services. To its credit, Microsoft continues improving the Excel OLAP support but still there are major functionality gaps from one tool to another. This is especially evident in the area of Reporting Services (see my No 1 SSRS &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/12/07/reporting-services-top-10-wish-list.aspx"&gt;wish list&lt;/a&gt; item). I am not sure if that&amp;#39;s possible from a technical standpoint but I wish the SSAS team re-factors the query generation logic into a MDX Query Generator binary of some kind which all tools can share to produce the same results consistently. &lt;/li&gt;
&lt;li&gt;Focus on UDM (aka Corporate BI) &amp;ndash; Although I see some useful scenarios for self-serviced OLAP with PowerPivot (previously known as Gemini), for various reasons I believe the focus should stay on UDM which now Microsoft refers to as Corporate BI. First, the business problems that I solve with UDM exceed by far Gemini&amp;#39;s capabilities. Second, if not a single source for reporting and a single version of the truth, I believe UDM should handle 80-90% of the reporting needs. Finally, based on my experience, data acquisition is the most difficult thing. This is why we have a dimensional model which IT would put together. But once data is cleaned and transformed, building UDM on top of it shouldn&amp;#39;t take that long &lt;/li&gt;
&lt;li&gt;Silverlight OLAP Viewer control - A Silverlight-based control that ships with Visual Studio to let developers embed an Excel-like Analysis Services browser into their ASP.NET applications. &lt;/li&gt;
&lt;li&gt;Improved performance &amp;ndash; Version 2008 has brought significant performance enhancement and SSAS performs great when aggregating regular measures. Usually, it is the calculations that will get you in trouble. So, anything that can be done to improve the server performance further will be welcome. For instance, the calculation engine executes the query on a single thread. It will be nice if a more complicated query can be parsed and executed in parallel. &lt;/li&gt;
&lt;li&gt;MDX Query Analyzer &amp;ndash; Related to performance, it will be great if we finally get a graphical query analyzer (a-la the T-SQL query analyzer) with hints about how to improve the query execution. &lt;/li&gt;
&lt;li&gt;Memory-bound partitions &amp;ndash; Again related to performance, it will be great if you could configure a partition to be memory-bound for super-fast access, as I mentioned in this &lt;a href="http://prologika.com/CS/blogs/blog/archive/2008/10/06/memory-dimensional-model-mdm-on-the-horizon.aspx"&gt;blog&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;Detail reporting &amp;ndash; I wish Analysis Services improves the ability to report on detail level. For example, it will nice to support text measures that the server returns for the lowest grain. I also want detail queries, such as a query that returns accounts for given customer to perform faster and don&amp;#39;t give up with &amp;quot;The expression contains a function that cannot operate on a set with more than 4,294,967,296 tuples.&amp;quot; error. &lt;/li&gt;
&lt;li&gt;Resource governor &amp;ndash; Analysis Services should expand on letting the administrator manage resources, such as memory, connections, query timeouts, etc. &lt;/li&gt;
&lt;li&gt;Custom security &amp;ndash; Support custom authentication that is not Windows-based to facilitate Internet connectivity perhaps similar to custom security in Reporting Services. &lt;/li&gt;
&lt;li&gt;Modeling enhancements &amp;ndash; OK, this is a catch-all bucket for support issues that I logged and which were declared as&amp;nbsp;&amp;quot;by design&amp;quot; and &amp;quot;future enhancements&amp;quot; &lt;img src="http://prologika.com/CS/emoticons/emotion-2.gif" alt="Big Smile" /&gt;, such as aggregatable Many-to-Many relationships, fixing subselect issues, fixing exclusion filter with custom operator issue. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Happy holidays!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4047" 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>Reporting Services Top 10 Wish List</title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/07/reporting-services-top-10-wish-list.aspx</link><pubDate>Mon, 07 Dec 2009 13:55:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4046</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4046</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/07/reporting-services-top-10-wish-list.aspx#comments</comments><description>&lt;p&gt;Reporting Services has gone a long way for the past five years and it&amp;#39;s getting better. In the spirit of the season, here is my Reporting Services Top 10 Wish List revised from &lt;a href="http://prologika.com/CS/blogs/blog/archive/2005/12/02/703.aspx"&gt;three years&lt;/a&gt; ago. This list is based on my work, so your priorities may differ. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Improved Analysis Services integration &amp;ndash; Since its debut in SSRS 2005, the MDX query designer hasn&amp;#39;t changed. R2 continues the trend, so no hope until at least 2011, that&amp;#39;s six years! Yet, the MDX query designer has plenty of deficiencies and bugs to be addressed, such query schema limitations, poor support for parent-child hierarchies, parameter limitations, and so on. I use SSAS heavily in my real-life projects and have to battle these deficiencies on a daily basis. I think it&amp;#39;s time for Microsoft to poll customers and MVPs for feedback and improve the integration with SSAS. &lt;/li&gt;
&lt;li&gt;Eventing model &amp;ndash; Although SSRS 2008 introduced a Report Definition Customization Extension (RDCE) that lets you change the report definition when the report requested, this extensibility mechanism was added as an afterthought and it&amp;#39;s somewhat kludgy. What&amp;#39;s really needed is server-side events, such as OnReportRender, OnPrint, OnParameterLoad, etc., similar to the ASP.NET programming model. Imagine the flexibility you will have as a report author if the server raises events for various stages of report processing and passes the report definition to let you evaluate conditions and change collections and RDL on the fly. &lt;/li&gt;
&lt;li&gt;Supported RDL Object Model &amp;ndash; After promising an RDL object model at TechEd 2007, SSRS 2008 brought an unsupported version but R2 is on its way to &amp;quot;undo&amp;quot; it by making it publicly inaccessible. At the same time, there are many requirements that call for pre-processing report definitions. A supported RDL object model will definitely simplify this. &lt;/li&gt;
&lt;li&gt;Silverlight-based Report Viewer &amp;ndash; Silverlight established itself as a platform of choice for web-based development. A Sliverlight Report Viewer will be a welcome addition. &lt;/li&gt;
&lt;li&gt;More interactive reporting &amp;ndash; Currently, SSRS requires you to make design changes and preview them. It will be great if a future release blurs design and preview to support more interactive reporting similar to Excel PivotTable. &lt;/li&gt;
&lt;li&gt;Dataset enhancements, such as ability to navigate dataset rows and joining datasets at report level. &lt;/li&gt;
&lt;li&gt;More user-friendly ad-hoc reporting &amp;ndash; Report Builder 2.0/3.0 is one my favorite features that SSRS 2008/R2 brought in. However, some end-user oriented features from Report Builder 1.0 got &amp;quot;lost&amp;quot; along the way. This item is about these features, such as making it easier for the end user to filter report data. When connected to SSAS, for example, SSRS should be as user-friendly as Excel. &lt;/li&gt;
&lt;li&gt;ADO.NET dataset binding for server reports &amp;ndash; I keep on asking for this feature and I still think it could be very useful to be able to pass ADO.NET datasets to published reports without having to build a custom dataset extension. &lt;/li&gt;
&lt;li&gt;Report styling &amp;ndash; Ability to style and skin reports. &lt;/li&gt;
&lt;li&gt;Decoupling the Report Builder Designer and exposing it as a reusable .NET control which can be embedded in applications. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Happy holidays!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4046" width="1" height="1"&gt;</description></item><item><title>Microsoft Live Labs Pivot</title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/02/microsoft-live-labs-pivot.aspx</link><pubDate>Wed, 02 Dec 2009 20:39:45 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4035</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4035</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/02/microsoft-live-labs-pivot.aspx#comments</comments><description>&lt;p&gt;In case you&amp;#39;ve missed this, the Pivot era has begun. After Excel PivotTable and PivotChart, we&amp;#39;ll have PowerPivot in SQL Server 2008 R2. But Pivot evolves… A co-worker showed me today a glimpse of the Pivot future which I guess is the &lt;a href="http://www.getpivot.com/"&gt;Microsoft Live Labs Pivot&lt;/a&gt;. Since grids and charts are not cool anymore we now have pictures and animation. It&amp;#39;s hard for me to understand at this point how this would apply to Business Intelligence but the Silverlight app with all these pictures sure looks catchy. 
&lt;/p&gt;&lt;p&gt;Long live Pivot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4035" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/General/default.aspx">General</category></item><item><title>Expert Cube Development with Analysis Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/12/02/expert-cube-development-with-analysis-services-2008.aspx</link><pubDate>Wed, 02 Dec 2009 14:00:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4032</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4032</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/12/02/expert-cube-development-with-analysis-services-2008.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://www.packtpub.com/expert-cube-development-with-microsoft-sql-server-2008-analysis-services/book" title="&amp;quot;Expert Cube Development with Microsoft SQL Server 2008 Analysis Services&amp;quot;"&gt;&lt;img src="http://www.prologika.com/blog/120209_1358_ExpertCubeD1.png" align="left" border="0" alt="" /&gt;&lt;/a&gt;Now that I&amp;#39;ve got my copy and read it, I can say a few things about the &lt;a href="http://www.packtpub.com/expert-cube-development-with-microsoft-sql-server-2008-analysis-services/book"&gt;book&lt;/a&gt; Expert Cube Development with Microsoft SQL Server 2008 Analysis Services by Chris Webb, Alberto Ferrari, and Marco Russo. As mentioned in another &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/11/10/where-is-the-ssas-2008-book.aspx"&gt;post&lt;/a&gt;, the authors (all MVPs and prominent SSAS experts) don&amp;#39;t disappoint and you won&amp;#39;t go wrong picking up this book. The book is somewhat small in size (330 pages) but big in wisdom and best practices. It also includes plenty of references to external resources and blogs that the authors and other SSAS experts have written when you need further understanding of the topics discussed. Make no mistake though, this is not a step-by-step book and it doesn&amp;#39;t target novice users. As its title suggests, the book is geared toward more advanced users who have a few years of SSAS experience under their belt and are thirsty for more insightful knowledge. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Chapter 1 Designing the Data Warehouse for Analysis Services &lt;/h3&gt;
&lt;p&gt;The first and most important step for implementing a successful Analysis Services solution has nothing to do with Analysis Services at all. Its success depends on a solid schema design on which you&amp;#39;ll build the cube so the book is right on target to hit this topic first. Chapter 1 discusses common schema modeling challenges and provides plenty of tips to tackle them. One grudge I have here is about the following sentence &amp;quot;Beware of the temptation to avoid building a data warehouse and data marts&amp;quot; which may leave the reader with the impression that a data mart is a must. In fact, call me lazy but the first thing that I&amp;#39;d explore when starting a new SSAS project is if it&amp;#39;s possible to avoid a separate database. While a classic OLAP solution in many cases will require a new database (whatever you call it a data warehouse or a data mart) and the whole ETL enchilada that this entails, you may need to build a cube on top of simpler schemas, such on top of a DSS (decision support system) schema. In this case, I would explore the option to &amp;quot;dimensionalize&amp;quot; the source schema with a layer of SQL views. As with everything else, the keep-it-simple principle works for me. &lt;/p&gt;
&lt;h3&gt;Chapter 2 Basic Dimensions and Cubes &lt;/h3&gt;
&lt;p&gt;This chapter discusses the groundwork required to set up the raw dimensional model. This includes working with data sources, data source views, cubes, and dimensions. My favorite part of this chapter was the attribute design and setting up attribute relations. This often overlooked aspect of SSAS development is crucial for achieving good performance and the book explains why. &lt;/p&gt;
&lt;h3&gt;Chapter 3 Designing More Complex Dimensions &lt;/h3&gt;
&lt;p&gt;Next, the book explains how to handle more complex dimension schemas and hierarchies. This includes parent-child, ragged, slowly-changing, referenced, fact, and junk dimensions. The authors&amp;#39; real-life experience shows through. About junk dimensions, my preference is to avoid them wherever possible for performance reasons. Instead, I&amp;#39;d explore the option to keep the low-cardinality attributes in the fact table and use report or URL actions to view them. In my opinion, SSAS is not there yet as far as reporting on details. &lt;/p&gt;
&lt;h3&gt;Chapter 4 Measures and Measure Groups &lt;/h3&gt;
&lt;p&gt;The whole purpose of building a cube is to aggregate measures. Analysis Services supports various aggregation functions and the book provides essential coverage. You will learn how to implement semi-additive measures if you cannot afford the Enterprise Edition of SQL Server. Custom aggregation by using unary operators and custom member formulas are presented too. Then the book discusses more complex relationship types, including different grains, linked dimensions and measure groups, role-playing dimensions and fact relationships. &lt;/p&gt;
&lt;h3&gt;Chapter 5 Adding Transactional Data &lt;/h3&gt;
&lt;p&gt;Although most users would be interested in aggregated data, sometimes users may need to see the level of details behind a cell. The book explains how you can do this by using drillthrough and actions. Drillthrough options are covered in great details. Excellent coverage is provided for many-to-many relationships as well. &lt;/p&gt;
&lt;h3&gt;Chapter 6 Adding Calculations to the Cube &lt;/h3&gt;
&lt;p&gt;Cubes usually include business calculations in the form of MDX expressions. Chapter 6 gives lays the foundation for using MDX. It provides practical examples for calculated members, including YTD, ratios, growths, same period last previous year, moving averages, and ranks. Handling relative dates is a common business requirement. For example, I personally had to implement two custom types of relative dates as explained in this &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/08/19/yet-another-relative-dates-implementation.aspx"&gt;blog&lt;/a&gt;. The book provides a great example for implementing a custom calculation dimension for implementing more flexible relative dates that the BI Wizard provides. Finally, the chapter discusses static and dynamic named sets. &lt;/p&gt;
&lt;h3&gt;Chapter 7 Adding Currency Conversion &lt;/h3&gt;
&lt;p&gt;I consider myself lucky for never having to support international users because of the complexities surrounding the issue. If you have to, SSAS gives you the necessary features to tackle various localization requirements. This chapter walks you through the details of implementing currency conversion using the BI wizard, measure expressions, and writeback. My advice is to avoid writeback due to its limitations. Instead, consider an URL action that navigates the user to a custom web page for handing data changes and proactive caching for automatically updating the cube. &lt;/p&gt;
&lt;h3&gt;Chapter 8 Query Performance Tuning &lt;/h3&gt;
&lt;p&gt;SSAS bends backwards to provide great performance. You can help by following best practices for cube design. This chapter teaches you how to implement partitions and aggregations. I like the sections for monitoring partition and aggregation usage and building aggregations manually. The chapter presents useful tips to diagnose and resolve performance issues, such as by using the MDX Studio, named sets, calculated members, and caching. &lt;/p&gt;
&lt;h3&gt;Chapter 9 Securing the Cube &lt;/h3&gt;
&lt;p&gt;Chances are you will need to provide restricted access to the cube for groups of users. This chapter shows you how to implement and test roles. It covers cell and dimension security. It presents solutions for implementing custom dimension data security which are similar to the ones I discussed in this &lt;a href="http://prologika.com/CS/blogs/blog/archive/2007/09/21/protect-udm-with-dimension-data-security-reloaded.aspx"&gt;article&lt;/a&gt;. &lt;/p&gt;
&lt;h3&gt;Chapter 9 Productionization &lt;/h3&gt;
&lt;p&gt;Your SSAS solution is ready and it&amp;#39;s time to see daylight. This chapter covers the tasks associated with deploying and managing your SSAS solution in production environment. These include managing and generating partitions and processing. I liked the coverage of different processing options. &lt;/p&gt;
&lt;h3&gt;Chapter 10 Monitoring Cube Performance and Usage &lt;/h3&gt;
&lt;p&gt;As an administrator, your job doesn&amp;#39;t end once the solution is deployed. You need to monitor it on a daily basis to ensure that it performs optimally. The last chapter explains different server monitoring techniques, such as performance counters, tracing, Resource Monitor, SQL Profiler, and using Dynamic Management Views (DMVs). I personally liked the memory management tips. &lt;/p&gt;
&lt;p&gt;In summary, I highly recommend this book to anyone who has several years of experience in SSAS development and need a compass check to make sure that he follows the right track. Kudos to the authors for taking time to write it! &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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=4032" 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/Business+Intelligence/default.aspx">Business Intelligence</category></item><item><title>SharePoint List Data Extension </title><link>http://prologika.com/CS/blogs/blog/archive/2009/11/24/sharepoint-list-data-extension.aspx</link><pubDate>Tue, 24 Nov 2009 14:18:51 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4001</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4001</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/11/24/sharepoint-list-data-extension.aspx#comments</comments><description>&lt;p&gt;R2 brings several SharePoint enhancements, including:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Support for multiple SharePoint zones – Previously, SSRS supported access from SharePoint URLs in the default zone, as I &lt;a href="http://prologika.com/CS/blogs/blog/archive/2008/05/09/sharing-lost-reports-with-web-users.aspx"&gt;explained&lt;/a&gt; before.
&lt;/li&gt;&lt;li&gt;Support for the SharePoint Universal Logging service - Reporting Services introduced a new server interface called IRSSetUserToken. When this interface is implemented, the report server calls the UserToken Set property on this interface and passes the SharePoint user token to the data extension.
&lt;/li&gt;&lt;li&gt;Scripting with the rs utility - The rs utility now supports servers configured in SharePoint integrated mode. This lets you create scripts that automate management tasks that target report servers in SharePoint mode.
&lt;/li&gt;&lt;li&gt;New SharePoint List Data Extension – Lets you report from SharePoint lists
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The last on the list, the new SharePoint List data extension, probably picked up your interest and deserves more explanation. Previously, if you had to use the XML Data Provider to call the SharePoint web service if you wanted to report off SharePoint lists. The new extension simplifies this by supporting SharePoint lists natively. But before you get too excited about it, I have to dampen your enthusiasm by mentioning two limitations:
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The extension supports querying a single list only.
&lt;/li&gt;&lt;li&gt;It doesn&amp;#39;t support folders if the list organizes items in folders.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The SharePoint List data extension is supported with both modes – native and SharePoint integrated. It supports Windows SharePoint Services 3.0 and 2010, as well as MOSS. Next, I&amp;#39;ll demonstrate the SharePoint List extension by setting up a dataset that retrieves items from the Issues list of a SharePoint site. The SharePoint list extension is available both in the BIDS Report Designer and Report Builder 3.0. For the purposes of this demo, I&amp;#39;ll use the BIDS Report Designer.
&lt;/p&gt;&lt;h2&gt;Configuring the data source
&lt;/h2&gt;&lt;p&gt;Start by setting up the data source as you would normally do when you author a report.
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Set up a data source that uses the Microsoft SharePoint List provider.
&lt;/li&gt;&lt;li&gt;In the Connection String field, enter the URL of the SharePoint site that has the list you want to query.
&lt;/li&gt;&lt;li&gt;Switch to the Credentials tab and select the Use Windows Authentication option. Click OK to close the Data Source Properties dialog.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112409_1416_SharePointL1.png" alt="" /&gt;
	&lt;/p&gt;&lt;h2&gt;Configuring the dataset
&lt;/h2&gt;&lt;p&gt;Once the data source is in place, the next steps will be to set up a dataset. The SharePoint List data extension supports a graphical query designer that lets you select and filter a list. 
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Add a new dataset that uses the data source you&amp;#39;ve just created. On the Dataset Properties, click the Query Designer button.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Report Designer loads the graphical query designer. The SharePoint Lists pane shows all lists in the library. You can check a list to get all fields of the list or select individual fields. You can hover on a field to see additional properties as tooltips, such as Name, Identifier, Field Type and Hidden properties. 
&lt;/p&gt;&lt;p&gt;You can also filter the list. In this case, the Issues list is associated with a My Issues view. Since I don&amp;#39;t have any issues assigned to me, I had to overwrite the list filter by supplying a non-empty query filter. For demo purposes, I decided to set up a filter where the Title column contains the word &amp;quot;parameter&amp;quot; and the Modified date is after 10/1/2009.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112409_1416_SharePointL2.png" alt="" /&gt;
	&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click the Run Query button to execute the query and see the data and the OK button to close the Query Designer and generate the dataset.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;In case you are curious what the actual query looks like, click the Edit As Text query button.  If you want to get all fields, the query can omit the ViewFields element. 
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;&amp;lt;RSSharePointList xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;  &amp;lt;ListName&amp;gt;Issues&amp;lt;/ListName&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;  &amp;lt;ViewFields&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;    &amp;lt;FieldRef Name=&amp;quot;ID&amp;quot; /&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;    &amp;lt;FieldRef Name=&amp;quot;ContentType&amp;quot; /&amp;gt;
&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;  &amp;lt;/ViewFields&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;  &amp;lt;Query&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;    &amp;lt;Where&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;      &amp;lt;And&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;        &amp;lt;Contains&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;          &amp;lt;FieldRef Name=&amp;quot;Title&amp;quot; /&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;          &amp;lt;Value Type=&amp;quot;Text&amp;quot;&amp;gt;parameter&amp;lt;/Value&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;        &amp;lt;/Contains&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;        &amp;lt;Gt&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;          &amp;lt;FieldRef Name=&amp;quot;Modified&amp;quot; /&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;          &amp;lt;Value Type=&amp;quot;DateTime&amp;quot;&amp;gt;2009-10-01T00:00:00&amp;lt;/Value&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;        &amp;lt;/Gt&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;      &amp;lt;/And&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;    &amp;lt;/Where&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;  &amp;lt;/Query&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;&amp;lt;/RSSharePointList&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The SharePoint List data extension is a new R2 feature that simplifies the process of authoring reports from SharePoint lists. Although it doesn&amp;#39;t support all features of third-party data extensions for SharePoint, it&amp;#39;s a welcome enhancement that lets you retrieve and filter items from a single SharePoint list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4001" 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+2008+R2/default.aspx">SQL Server 2008 R2</category></item><item><title>Report Parts</title><link>http://prologika.com/CS/blogs/blog/archive/2009/11/23/report-parts.aspx</link><pubDate>Tue, 24 Nov 2009 01:41:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4000</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=4000</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/11/23/report-parts.aspx#comments</comments><description>&lt;p&gt;The major new R2 feature that debuts in CTP 3 (November CTP) of SQL Server 2008 R2 Reporting Services is report parts. A report part is a fragment of a report definition that you can publish to the report server to facilitate best practices and reuse. Just like a developer can refactor and share some piece of code, the report author can re-factor a portion of a report and publish it to the server so that end users can use it as it-is. The following report items can be published as report parts: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Charts &lt;/li&gt;
&lt;li&gt;Gauges &lt;/li&gt;
&lt;li&gt;Images &lt;/li&gt;
&lt;li&gt;Maps &lt;/li&gt;
&lt;li&gt;Parameters &lt;/li&gt;
&lt;li&gt;Rectangles &lt;/li&gt;
&lt;li&gt;Tables &lt;/li&gt;
&lt;li&gt;Matrices &lt;/li&gt;
&lt;li&gt;Lists&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A notable exception to this list is page headers and footers which are probably the most likely candidates for reuse but at this point they didn&amp;#39;t make the list. It&amp;#39;s important to note that if a data region uses a report-specific dataset (not a &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/11/16/shared-datasets.aspx"&gt;shared dataset&lt;/a&gt;), publishing the region as a report part will publish its dependent dataset. Report parts can best understood by example, so let&amp;#39;s walk through the workflow of publishing, using, and changing a report part. &lt;/p&gt;
&lt;h2&gt;Publishing report parts &lt;/h2&gt;
&lt;p&gt;You can use the BIDS Report Designer or Report Builder 3.0 to publish a report part. The following steps assume you use Report Designer. Let&amp;#39;s say I decided that the tablix with sparklines, which I discussed in a previous &lt;a href="http://prologika.com/CS/blogs/blog/archive/2009/11/20/sparklines-and-data-bars.aspx"&gt;blog&lt;/a&gt;, is a darn good and it should be promoted as a published report part that other users could enjoy for educational or other purposes. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start by setting the server folder where report parts will be published on deploy. In the project properties, set the TargetReportPartFolder (a new deployment setting) to the name of the server folder, such as Report Parts, or a SharePoint library URL for SharePoint integrated mode. &lt;/li&gt;
&lt;li&gt;With the report open in design mode, expand the Report main menu and click Publish Report Parts. If you use Report Builder 3.0, click the Report Builder 3.0 button (the round button in the topmost left area) and select Publish Report Parts. &lt;/li&gt;
&lt;li&gt;The Publish Report Parts dialog box shows the items on the report that are supported as report parts. Check the Tablix report item. &lt;/li&gt;
&lt;li&gt;You can rename a report part by double-clicking its name and typing the new name in place. Click the arrow next to it to expand the Tablix section. Enter a description, such as &amp;quot;A table with sparklines&amp;quot; and click OK to close the dialog box. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://www.prologika.com/blog/112409_0139_ReportParts1.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;5.&amp;nbsp; So far, you have configured which items will be promoted to report parts but you haven&amp;#39;t actually published them. To do so, you need to publish the containing report. In Solution Explorer, right-click the report and click Publish. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;At this point, you should see messages in the BIDS Output Window informing that the report and the report parts you defined are being published. &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:8pt;"&gt;Deploying report part &amp;#39;Tablix&amp;#39; to &amp;#39;/Report Parts&amp;#39;... &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:8pt;"&gt;Deploying report parts complete -- 1 succeeded, 0 failed, 0 skipped &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;6.&amp;nbsp;&amp;nbsp; Open Report Manager (or SharePoint) and navigate to the Report Parts folder. You should see the Tablix report part. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://www.prologika.com/blog/112409_0139_ReportParts2.png" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;If you go to its properties and download its definition, you will see that the file name has an *.rsc extension and that the report part is represented by a ComponentItem element in RDL. Notice also that the report part definition includes all datasets that report part uses. Once the report part is published, you can manage it just like you can manage a published report. For example, you can change its name, description, or security settings. &lt;/p&gt;
&lt;h2&gt;Using report parts &lt;/h2&gt;
&lt;p&gt;End users can consume published report parts. Notice that I said &amp;quot;end users&amp;quot; because more than likely this will be the most common scenario. In fact, the BIDS Report Designer doesn&amp;#39;t support referencing report parts, only publishing them. The Report Builder 3.0 has been extended to support this feature. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112409_0139_ReportParts3.png" alt="" /&gt; &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Report Builder 3.0 and create a blank report. &lt;/li&gt;
&lt;li&gt;Click the Report Builder 3.0 button, click Options and verify that the report server URL is set. &lt;/li&gt;
&lt;li&gt;Click the Report Part Gallery tab of the Properties window. Click the Search button to show all report parts that you have access to. &lt;/li&gt;
&lt;li&gt;Select the Tablix report part and notice that Report Builder 3.0 shows its properties below. &lt;/li&gt;
&lt;li&gt;Drag the Tablix report part and drop it on the report canvas. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Report Builder 3.0 adds the tablix region, the dataset is bound to and report parameters. From here, the report part takes a life of its own. You can make changes to the report as needed including changes to the report part elements. The layout changes you make are not reflected to the published part. If you want to re-publish the changed report part, you can click the Report Builder button and click Publish Report Parts. This will prompt you if you want to re-publish with default settings or review and make changes which will bring you to the Publish Report Parts dialog box. &lt;/p&gt;
&lt;h2&gt;Changing report parts &lt;/h2&gt;
&lt;p&gt;The original report part author or another user which appropriate permissions can make changes and re-publish a report part. End users can check if a report part has changed and choose to accept or not the changes. To do this, they have to poll the server for updates. Currently, there is no way for the server to push the changes to all reports who consume the report part in order to force the changes. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/112409_0139_ReportParts4.png" alt="" /&gt; &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In Report Designer or Report Builder 3.0, open the report that has the Tablix report part. Make changes to the tablix region and deploy the report to re-publish the report part. &lt;/li&gt;
&lt;li&gt;In Report Builder 3.0, open a report that uses that report part. &lt;/li&gt;
&lt;li&gt;Click the Report Builder 3.0 button and click Check for Updates. Notice that Report Builder 3.0 detects the changes and displays a message that it has found one changed part. &lt;/li&gt;
&lt;li&gt;Click the View Updates button to see what report parts have changed. In the Update Report Parts dialog box, select the Tablix report part and click the Update button to refresh it. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Report Builder 3.0 replaces the tablix region the published version. However, Report Builder 3.0 keeps the existing dataset and parameters, even if they are not changed, and appends new datasets and parameters each time the part is refreshed. So, if you have a dataset called Main, refreshing a part will add a new dataset called Main2 and bind the refreshed part to Main2. &lt;/p&gt;
&lt;p&gt;Report parts are a new feature of SSRS R2. They promote consistency and reuse by letting you re-factor sections of a report and make them available for public consumption. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4000" 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+2008+R2/default.aspx">SQL Server 2008 R2</category></item><item><title>Cumulative Update Package 5 for SQL Server 2008 Service Pack 1</title><link>http://prologika.com/CS/blogs/blog/archive/2009/11/20/cumulative-update-package-5-for-sql-server-2008-service-pack-1.aspx</link><pubDate>Fri, 20 Nov 2009 17:58:00 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:3988</guid><dc:creator>Teo Lachev</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://prologika.com/CS/blogs/blog/rsscomments.aspx?PostID=3988</wfw:commentRss><comments>http://prologika.com/CS/blogs/blog/archive/2009/11/20/cumulative-update-package-5-for-sql-server-2008-service-pack-1.aspx#comments</comments><description>&lt;p&gt;Microsoft released &lt;a href="http://support.microsoft.com/kb/975977/LN/"&gt;Cumulative Update Package 5 for SQL Server 2008 Service Pack 1&lt;/a&gt;&amp;nbsp;(build 10.00.2746). Among other things, if fixes an SSRS &lt;a href="http://support.microsoft.com/kb/975756"&gt;issue&lt;/a&gt; with printing and conditional visibility of recursive groups which I reported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=3988" width="1" height="1"&gt;</description><category domain="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item></channel></rss>