<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Luke Hayler - SQL Server developer &#187; sql server 2008</title>
	<atom:link href="http://www.lukehayler.com/tag/sql-server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lukehayler.com</link>
	<description>A blog about Integration services, Reporting services, and the things that interest me</description>
	<lastBuildDate>Tue, 08 Jun 2010 20:50:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom Visibility Toggling SSRS 2008</title>
		<link>http://www.lukehayler.com/2010/02/custom-visibility-toggling-ssrs-2008/</link>
		<comments>http://www.lukehayler.com/2010/02/custom-visibility-toggling-ssrs-2008/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 11:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[report design]]></category>
		<category><![CDATA[report formatting]]></category>
		<category><![CDATA[report layout]]></category>
		<category><![CDATA[sql server 2008]]></category>
		<category><![CDATA[SSRS]]></category>
		<category><![CDATA[SSRS 2008]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/02/custom-visibility-toggling-ssrs-2008/</guid>
		<description><![CDATA[A while back I wrote a post about how to toggle the visibility of rows/columns in tables/matrices for SSRS 2005. In the comments of that article someone asked how this was done in SSRS 2008. The short answer was that the method is the same. However, setting all the properties can be confusing as their [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote <a href="http://www.lukehayler.com/2009/07/custom-visibility-toggling-in-ssrs/" target="_blank">a post about how to toggle the visibility of rows/columns in tables/matrices for SSRS 2005</a>. In the comments of that article someone asked how this was done in SSRS 2008. The short answer was that the method is the same. However, setting all the properties can be confusing as their whereabouts is a little different. Hopefully this post will clear things up.</p>
<p>Let’s do this by way of example:</p>
<p>I created a project with a single report. The Data source is AdventureWorks2008 and we are looking at Total Sales figures by Year &amp; Month (keep it simple right?). I have set up a matrix object and added the required fields and set subtotals for Month &amp; Year. See Fig 1. below:</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:a1c7e7a5-d745-4bd8-aaec-d4842b51d68e" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Fig 1. The design surface with a Matrix Object" rel="thumbnail" href="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_DesignSurface8x6.png"><img src="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_DesignSurface.png" border="0" alt="" width="600" height="392" /></a></div>
<h6>Objective: Enable Toggling of the Month group, using the Year Group as the Toggle Item</h6>
<p>At this point I want to point out two key areas, as this is where we will be concentrating our efforts:</p>
<ol>
<li>The Row/Column Groups section at the bottom of the designer</li>
<li>The Visibility Properties at the bottom right corner (Last item in the Properties list &#8211; <em>but only when an object is selected</em>)</li>
</ol>
<p>Now, select the drop-down arrow for the <strong>Month</strong> Row group (See Fig 2.), choose <strong>Properties</strong> and then select the <strong>Visibility</strong> tab.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:35a4a701-2301-498f-a113-dd12cc705a53" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Fig 2. Accessing the Row Group Properties" rel="thumbnail" href="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_RowGroupProperties8x6.png"><img src="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_RowGroupProperties.png" border="0" alt="" width="425" height="413" /></a></div>
<p>The objective is to enable toggling of the <strong>Month</strong> rows in the Matrix. We could choose to Show or Hide the <strong>Month</strong> rows when the report is initially run, or to make this decision based on an expression. Using an expression will determine which rows are expanded and which are collapsed when the report is run initially. I have chosen to use an expression:</p>
<blockquote><p>=IIF(Fields!YEAR.value=2001, False, True)</p></blockquote>
<p>This says that if the Year group value is ‘2001’ then show the Month Sales Total values (‘Expanded’), else Hide the Month Sales Total values (‘Collapsed’). See Fig 3. below:</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:15396b28-610f-4a51-a7d1-b7a0a1e9e5bc" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Fig. 3 The Month Group Visibility Properties" rel="thumbnail" href="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_RowGroupProperties_VisibilityExpression8x6.png"><img src="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_RowGroupProperties_VisibilityExpression.png" border="0" alt="" width="600" height="318" /></a></div>
<p>Also note (in Fig 3. above) that I have set the <strong>YEAR</strong> cell as the Toggle Item. We’ll configure this next.</p>
<p>Once you have set the above properties go back to the designer and highlight the <strong>YEAR</strong> cell in order to view its properties. These should be on the bottom right, otherwise right-click the cell to bring up the properties window. Find the <strong>Visibility</strong> &gt; <strong>InitialToggleState</strong> property and set it using the following Expression:</p>
<blockquote><p>=IIF(Fields!YEAR.Value = 2001, True, False)</p></blockquote>
<p>This says that if the Year group value is ‘2001’ then show the toggle icon as ‘Expanded’ (True), else show it as ‘Collapsed’ (False). This allows us to ensure that we are in sync with the expression we used to set the initial visibility of the Month rows. Fig 4. shows the end result of all this hard work:</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:755fb2c3-916d-4a9b-875a-5e2b327ddc2e" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Fig 4. Result!" rel="thumbnail" href="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_result8x6.png"><img src="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_result.png" border="0" alt="" width="381" height="424" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:ce9f2350-42e3-446e-a2b8-56356e803cb0" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: right; padding: 0px;">
</div>
<h4></h4>
<h4>The Visibility Properties</h4>
<p><a title="TextBox Visibility Properties" rel="thumbnail" href="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_VisibilityProperties8x6.png"><img class="alignright" style="border: 0px initial initial;" src="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_VisibilityProperties.png" border="0" alt="" width="300" height="311" /></a></p>
<p>Understanding what each of the three visibility properties does will help to use them effectively.</p>
<p><strong>Hidden &#8211; </strong>Can be set to either ‘True’ or ‘False’. This can be done by selecting True or False from the drop down, or by using an expression to set either of those values after evaluating a condition. True equates to the object being hidden and False to the object being shown (tricky eh?).</p>
<p><strong>InitialToggleState</strong> &#8211; This is only applicable if the object that you have selected can toggle the visibility of other objects. It refers to the state of the toggle icon and can either be ‘Collapsed’ (‘+’) or ‘Expanded’ (‘-‘). As explained by way of example above, setting this to &#8216;’True’ sets the icon to the ‘Expanded’ state, and False to the ‘Collapsed’ state.</p>
<p><strong>ToggleItem</strong> &#8211; Use this property to set the object that will enable the user to toggle the visibility of another item. In the example above, I have chosen <strong>YEAR</strong> as my toggle item for the <strong>Month Group</strong>.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:4d34549f-83cb-4e47-af5f-7f400f868789" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: right; padding: 0px;"><a title="Fig 4. Oops" rel="thumbnail" href="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_Oops8x6.png"><img src="http://www.lukehayler.com/wp-content/uploads/2010/02/InitialToggleState_SSRS2008_Oops.png" border="0" alt="" width="342" height="524" /></a></div>
<h4>Beware the Gremlins</h4>
<p>You need to be aware of setting properties for the right objects or groups, or you may find that your report does not display correctly:</p>
<p>Fig 4. shows what happens when you set the Visibility properties for the <strong>Month &amp; Data CELLS</strong> in the report instead of the <strong>Month Group</strong> properties. Setting the Month Group visibility properties means that you won’t get that nasty white space, and there’s no need to set the visibility of the cells (in this instance).</p>
<p>I have placed the example project in <a href="http://www.lukehayler.com/wp-content/uploads/2010/02/VisibilityTogglingSSRS2008.zip" target="_blank">a nice little zip file</a> for all you folks that might want such a thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/02/custom-visibility-toggling-ssrs-2008/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>SQLBits (V) Videos available for Download</title>
		<link>http://www.lukehayler.com/2010/02/sqlbits-v-videos-available-for-download/</link>
		<comments>http://www.lukehayler.com/2010/02/sqlbits-v-videos-available-for-download/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 12:00:00 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sql server 2005]]></category>
		<category><![CDATA[sql server 2008]]></category>
		<category><![CDATA[sqlbits]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/02/sqlbits-v-videos-available-for-download/</guid>
		<description><![CDATA[That’s right folks. If you missed out on some (or indeed all) of the awesome presentations at SQLBits V, you can now view them online or download them for viewing at your leisure. Simon Sabin has done a great job once again, so a big thanks to him and the rest of the SQLBits team.
Here’s [...]]]></description>
			<content:encoded><![CDATA[<p>That’s right folks. If you missed out on some (or indeed all) of the awesome presentations at <a href="http://www.sqlbits.com/" target="_blank">SQLBits V</a>, you can now view them online or download them for viewing at your leisure. Simon Sabin has done a great job once again, so a big thanks to him and the rest of the SQLBits team.</p>
<p>Here’s a taster for what is available:</p>
<ul>
<li><a href="http://www.sqlbits.com/Agenda/event5/A_whistlestop_tour_of_SSIS_add-ins/default.aspx" target="_blank">A Whistle-stop tour of SSIS Add-ins</a> </li>
<li><a href="http://www.sqlbits.com/Agenda/event5/Data_Visualisation_with_Bing_Maps_for_Enterprise/default.aspx" target="_blank">Data Visualisation with Bing Maps for Enterprise</a> </li>
<li><a href="http://www.sqlbits.com/Agenda/event5/Let_s_make_SQL_fly___a_technical_session_for_developers_and_administrators_who_believe_in_magic_/default.aspx" target="_blank">Let’s make SQL Fly</a> </li>
<li><a href="http://www.sqlbits.com/Agenda/event5/Microsoft_SQL_Server_2008_R2__What_s_New_in_Reporting_Services/default.aspx" target="_blank">Microsoft SQL Server 2008 R2: What’s new in Reporting Services</a> </li>
<li><a href="http://www.sqlbits.com/Agenda/event5/T-SQL_Tuning_with_Colin_Chapman__Enzo_Ferrari__and_The_Stig/default.aspx" target="_blank">T-SQL Tuning with Colin Chapman, Enzo Ferrari, and The Stig</a> </li>
</ul>
<p>And of course the link to the entire list is right there under each of the presentation descriptions.</p>
<p>If you need a recap of SQLBits V you can read all about it here (<a href="http://www.lukehayler.com/2009/11/sqlbits-v-conference-session-recap-part-1/" target="_blank">Part 1</a>) and here (<a href="http://www.lukehayler.com/2009/12/sqlbits-v-conference-session-recap-part-ii/" target="_blank">Part 2</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2010/02/sqlbits-v-videos-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gearing up for SQLBits V</title>
		<link>http://www.lukehayler.com/2009/11/gearing-up-for-sqlbits-v/</link>
		<comments>http://www.lukehayler.com/2009/11/gearing-up-for-sqlbits-v/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 08:02:04 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sql server 2008]]></category>
		<category><![CDATA[sqlbits]]></category>
		<category><![CDATA[ssas]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2009/11/gearing-up-for-sqlbits-v-3/</guid>
		<description><![CDATA[SQLBits is almost upon us. In less than 10 days, around 400 people will be descending on the Celtic Manor in Newport, Wales for the 5th instalment of what I am led to believe is a first rate conference. Great speakers, great sessions, awesome venue, _____________ attendees. That space is intentional. I plan to fill [...]]]></description>
			<content:encoded><![CDATA[<p>SQLBits is almost upon us. In less than 10 days, around 400 people will be descending on the Celtic Manor in Newport, Wales for the 5th instalment of what I am led to believe is a first rate conference. Great speakers, great sessions, awesome venue, _____________ attendees. That space is intentional. I plan to fill it in once I’ve had the pleasure of meeting a bunch of you and making a few (hundred) new friends.</p>
<h4>Preparations</h4>
<p>So I’ve been reading a lot in the last few weeks. As the PASS Summit has just come and gone, there are a multitude of blog posts out there about <a href="http://facility9.com/2009/10/05/random-thoughts-for-enjoying-the-pass-summit">conference preparation</a>, <a href="http://www.brentozar.com/archive/2009/10/travel-tips-for-non-frequent-flyers-2/">travelling tips</a>, ways to cut costs, what type of questions you should and shouldn’t be posing to speakers/vendors/other attendees, starting conversations with others, making new acquaintances, as well as those about the actual conference.</p>
<p>My preparations have be slow and steady. Research has been the main focus, with understanding what sessions are on offer, who the speakers are and what events will be taking place ‘after hours’. The first two items here are easily accomplished by venturing over to the <a href="http://www.sqlbits.com">sqlbits</a> website where you will find a description of each of <a href="http://www.sqlbits.com/information/PublicSessions.aspx">the intended sessions</a>, <a href="http://www.sqlbits.com/information/PublicSpeakers.aspx">the speakers and their bios with links to their websites and other web presences</a> (twitter) if any exist &#8211; most do, but there are a few who seem to be ghosts on the information super-highway (ha! when was the last time that you heard that phrase…). Say what you like, but I believe that if you are a speaker then you should at least have a spot on the intertubez where people can find out more about you and download your slides.</p>
<p>I’ve ordered a bunch of business cards from <a href="http://www.moo.com">moo.com</a>. They’re of the mini variety and hold all the vital contact info as well as a mug shot of yours truly &#8211; so you can remember who to <span style="text-decoration: line-through;">avoid</span> look for at the next meet…</p>
<p>I’ve started to put together a few questions for key people that I’m aiming to <span style="text-decoration: line-through;">stalk</span> find, meet and get to know a little better. I’ll bribe them with whatever they need to persuade them to stick around long enough find out who I am and to answer my questions &#8211; I find beer works pretty well in most cases.</p>
<h4>What to do, Where to go</h4>
<p>In terms of sessions that I’m thinking of attending, it depends on the schedule. I’ve been informed however, that although the schedule for the sessions has been done, ‘technical difficulties’ have meant that they are not yet available for the rest of us. Let’s hope they fix the issue soon… wink wink nudge nudge. Once I know when the sessions are to take place I’ll post a list that I’ll be attending.</p>
<p>On to the important stuff. Social Events! I have been searching for a while now, but have still to find any reference to the ‘after hours events’ &#8211; think organised dinners and karaoke sessions at the PASS Summit. This is due to the fact that either there are no events (yet) or they haven’t been adequately advertised. So, if any of you readers do have knowledge of any planned social events, please let me know. If there aren’t any planned events, well…, we’ll have to change that. Pronto.</p>
<p>I’ll see you there. SQLbits 2009.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f6abd9ff-f4ac-42a6-a15a-9a75014e94d0" class="wlWriterEditableSmartContent" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px">del.icio.us Tags: <a rel="tag" href="http://del.icio.us/popular/sqlbits">sqlbits</a>,<a rel="tag" href="http://del.icio.us/popular/sql+server">sql server</a>,<a rel="tag" href="http://del.icio.us/popular/sql">sql</a>,<a rel="tag" href="http://del.icio.us/popular/ssrs">ssrs</a>,<a rel="tag" href="http://del.icio.us/popular/ssis">ssis</a>,<a rel="tag" href="http://del.icio.us/popular/professional+development">professional development</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lukehayler.com/2009/11/gearing-up-for-sqlbits-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
