<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Direct Reports : SP1</title><link>http://blogs.msdn.com/bwelcker/archive/tags/SP1/default.aspx</link><description>Tags: SP1</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Rather Ripped (Select All in Service Pack 1)</title><link>http://blogs.msdn.com/bwelcker/archive/2006/08/14/700189.aspx</link><pubDate>Tue, 15 Aug 2006 01:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:700189</guid><dc:creator>bwelcker</dc:creator><slash:comments>36</slash:comments><comments>http://blogs.msdn.com/bwelcker/comments/700189.aspx</comments><wfw:commentRss>http://blogs.msdn.com/bwelcker/commentrss.aspx?PostID=700189</wfw:commentRss><description>&lt;P&gt;If you've applied &lt;A href="http://support.microsoft.com/kb/916940#EKADAAA"&gt;Service Pack 1&lt;/A&gt; to your SQL Server 2005 Reporting Services installation (I hope you did, as there are lots of good things in it), you might have noticed the disappearance of "Select All" from the drop down list for multi-valued parameters.&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align=center&gt;&lt;IMG src="http://blogs.msdn.com/photos/bwelcker/images/700185/original.aspx"&gt; &lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P align=center&gt;&lt;IMG src="http://blogs.msdn.com/photos/bwelcker/images/700183/original.aspx"&gt; &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;CENTER&gt;&lt;FONT size=1&gt;Before SP1&lt;/FONT&gt;&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;&lt;FONT size=1&gt;After SP1&lt;/FONT&gt;&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Here's the story behind this disappearance and how you can get it back.&lt;/P&gt;
&lt;P&gt;With SQL Server 2005, we introduced &lt;A href="http://blogs.msdn.com/bwelcker/archive/2005/04/24/411588.aspx"&gt;multi-valued parameters&lt;/A&gt;, which allow for you to specify a set of values for a single report parameter. If you think about how multi-valued parameters work against a SQL source, you build a SELECT statement with an IN clause and the values get substituted before it is sent to the server, e.g.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;SELECT name FROM customer WHERE&amp;nbsp;country IN (@country)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;becomes:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;SELECT name FROM customer WHERE&amp;nbsp;customer.country IN ('United States', 'Canada', 'Mexico')&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The problem comes from the addition of "Select All" to the dropdown list. In summary, the functionality of the "Select All" checkbox is simply, "check all of the values in the list unless they are already all checked. In this case, then uncheck them all." While this&amp;nbsp;functionality works fine with a small set of values, having several hundred values in an IN clause is not a very efficient SQL statement. &lt;/P&gt;
&lt;P&gt;The performance implications for Analysis Services is even more significant; you can select all of the individual members of a dimension as well as the "All" member of a dimension. If your parameter contains the entire member hierarchy (not just a single level), selecting all of the items in the list can cause major performance issues.&lt;/P&gt;
&lt;P&gt;A more efficient "Select All" function would actually modify the statement to exclude the clause entirely. Selecting "all countries" in the the above statement would result in:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;SELECT name FROM customer&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is quite a bit trickier than the simple parameter substitution logic as you need to maintain the integrity of the statement (What if there is more than one search condition?) Also, we would need to write query parsing routines for each language we supported (T-SQL, MDX, PL-SQL, etc.)&lt;/P&gt;
&lt;P&gt;We thought a long time about how to address the performance issues of this feature in SP1. Ideally, you would be able to add a flag to the report definition that would say whether or not to add the "Select All" checkbox. However, as a policy, we don't change the report definition in service packs due to the upgrade and compatibility issues. We also thought about auto-detecting whether a report is against Analysis Services but couldn't really do this without changing the execution SOAP API. We thought about making it a flag in the configuration file but this would force people to decide one way or another for all reports. Finally, we thought about putting "Select All" at the end of the list instead of the beginning. &lt;/P&gt;
&lt;P&gt;In the end, we decided to remove it entirely. Big mistake. :)&lt;/P&gt;
&lt;P&gt;Although we gave people a chance to give us feedback in the SP1 CTP, we didn't really hear about it until after SP1 was released. Once SP1 was available, we heard from many customers that having the functionality available was more important than the potential performance impact. After revisiting the initial issue, we decided to put it back in the product in the form of a hotfix (as well as in the upcoming SP2). We also learned an important lesson that removing a feature is much harder than adding one.&lt;/P&gt;
&lt;P&gt;If you would like to get a patch before SP2 is released, you can contact &lt;A href="http://www.microsoft.com/services/microsoftservices/srv_support.mspx"&gt;Support Services&lt;/A&gt;&amp;nbsp;and ask for Knowledge Base Article #919478&amp;nbsp;(the actual KB article has not been published on the web yet).&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=700189" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/bwelcker/archive/tags/SP1/default.aspx">SP1</category></item><item><title>Green Mind (SP1 Hotfix Rollup)</title><link>http://blogs.msdn.com/bwelcker/archive/2006/05/18/600840.aspx</link><pubDate>Thu, 18 May 2006 13:16:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:600840</guid><dc:creator>bwelcker</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/bwelcker/comments/600840.aspx</comments><wfw:commentRss>http://blogs.msdn.com/bwelcker/commentrss.aspx?PostID=600840</wfw:commentRss><description>&lt;P&gt;You might want to take a look at the just released &lt;A href="http://support.microsoft.com/?id=918222"&gt;SQL Server 2005 SP1 hotfix rollup&lt;/A&gt;. This package contains a collection&amp;nbsp;fixes that came in too late to fit into the SP1 release process. Unfortunately, the descriptions of some of the bugs in the fix list isn't very obvious, so I've listed the Reporting Services specific fixes below:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Page breaks may not be respected when a table is rendered in Microsoft Office Excel if the report contains tables with the conditions of NoRows=true, NoRowsMessage=null, and the table contains a table header or footer.&lt;/LI&gt;
&lt;LI&gt;When a report contains an image that is external or is a resource in Reporting Services and the report uses the interactive sorting functionality, the image is replaced by a red x.&lt;/LI&gt;
&lt;LI&gt;If you include a subreport in a group footer and you enable the &lt;B&gt;HideDuplicates&lt;/B&gt; property in a detail row on a grouping item, Reporting Services raises an internal error when you try to export the report. The error also occurs when you click &lt;STRONG class=uiterm&gt;Print Preview&lt;/STRONG&gt; on the &lt;STRONG class=uiterm&gt;Preview&lt;/STRONG&gt; tab in Report Designer. &lt;/LI&gt;
&lt;LI&gt;Reporting Services may intermittently display a &lt;B&gt;System.NullReferenceException&lt;/B&gt; exception in the &lt;B&gt;ReportSnapshot.EnsureAllStreamsAreClosed&lt;/B&gt; procedure. This behavior generates a mini-dump. &lt;/LI&gt;
&lt;LI&gt;When you try to run a linked report that uses the User!UserID variable and the execution properties are set to use Snapshots, you receive the following error message: 
&lt;DIV class=errormsg&gt;3wp!library!1!1/27/2006-13:10:27:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class=errormsg&gt;If Y-axis margins are enabled and the minimum Y-value of all data points is a "nice" integer value, the Y-axis minimum value will be adjusted to a lower value. For example, the chart control rounds 4.0 to 4 to create a "nice" integer value. However, the generated Y-axis labels are incorrect. &lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class=errormsg&gt;When using&amp;nbsp;a Report Builder Model on an Analysis Services data source, dates in the generated MDX queries may have the month and day parts transposed. &lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=errormsg&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=600840" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/bwelcker/archive/tags/SP1/default.aspx">SP1</category></item><item><title>Will You Find Me (SP1 is released)</title><link>http://blogs.msdn.com/bwelcker/archive/2006/04/19/579123.aspx</link><pubDate>Wed, 19 Apr 2006 19:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:579123</guid><dc:creator>bwelcker</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/bwelcker/comments/579123.aspx</comments><wfw:commentRss>http://blogs.msdn.com/bwelcker/commentrss.aspx?PostID=579123</wfw:commentRss><description>&lt;P&gt;SQL Server 2005 Service Pack 1 is out! It was supposed to be yesterday but the files have taken a while to upload. &lt;/P&gt;
&lt;P&gt;The pointer to the English version is &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=CB6C71EA-D649-47FF-9176-E7CAC58FD4BC&amp;amp;displaylang=en"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Reporting Services changes can be seen &lt;A href="http://support.microsoft.com/kb/916940#EKADAAA"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=579123" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/bwelcker/archive/tags/SP1/default.aspx">SP1</category></item><item><title>Stands for Decibels (SP1 CTP)</title><link>http://blogs.msdn.com/bwelcker/archive/2006/03/16/553262.aspx</link><pubDate>Fri, 17 Mar 2006 01:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:553262</guid><dc:creator>bwelcker</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/bwelcker/comments/553262.aspx</comments><wfw:commentRss>http://blogs.msdn.com/bwelcker/commentrss.aspx?PostID=553262</wfw:commentRss><description>&lt;P&gt;It's been a while since my last post but as you'll see,&amp;nbsp;I've been busy. In addition to thinking about the next major release of Reporting Services, I've been working on getting out the Reporting Services changes for SQL 2005 Service Pack 1. Today we reached a major milestone with the release of the CTP for SP1. You can download it here: &lt;A href="http://www.microsoft.com/sql/ctp_sp1.mspx"&gt;http://www.microsoft.com/sql/ctp_sp1.mspx&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;Here are some of the Reporting Services highlights in SP1:&lt;/P&gt;
&lt;P&gt;New Features:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Static Images in Report Builder - Now you can add images such as company logos or other graphics to your Report Builder reports. &lt;/LI&gt;
&lt;LI&gt;Data Extension and Query Designer for SAP NetWeaver BI - Through a new graphical query designer, you can easily access InfoCubes and queries in your Reporting Services reports.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Key Fixes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Analysis Services Integration Fixes - Several bugs have been fixed in the integration of Analysis Services in Report Designer. For example, the report wizard now works correctly with SSAS data sources and the automated parameter generation behavior is more robust. &lt;/LI&gt;
&lt;LI&gt;Model Designer Auto-generation Fixes - Large Databases no longer cause problems for the model auto-generation wizard in the Report Model Designer. &lt;/LI&gt;
&lt;LI&gt;Report Designer Fixes - Complex parameter declarations should no longer cause parsing problems in the SQL Server query designer.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In addition, we also released a CTP of SQL Server Express with Advanced Services. This is the SQL Express version that you have been waiting for (the one with Reporting Services included). There is also a tools download that includes the Report Designer and BI Dev Studio. You can download these from the link above.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=553262" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/bwelcker/archive/tags/SP1/default.aspx">SP1</category></item></channel></rss>