<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Luke Hayler - SQL Server Developer</title>
	<atom:link href="http://lukehayler.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukehayler.com</link>
	<description>A blog about Business Intelligence and other personal interests</description>
	<lastBuildDate>Fri, 13 Jan 2012 08:11:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on Create an Environment Variable (for use in SSIS Packages) by Pawan Kumar</title>
		<link>http://lukehayler.com/2011/02/create-an-environment-variable-for-use-in-ssis-packages/#comment-1430</link>
		<dc:creator>Pawan Kumar</dc:creator>
		<pubDate>Fri, 13 Jan 2012 08:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/2011/02/create-an-environment-variable-for-use-in-ssis-packages/#comment-1430</guid>
		<description>loads of thanks :)</description>
		<content:encoded><![CDATA[<p>loads of thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The InScope() Function and the key to formatting subtotals in SSRS Matrix Objects by Jen</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-1429</link>
		<dc:creator>Jen</dc:creator>
		<pubDate>Wed, 11 Jan 2012 01:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-1429</guid>
		<description>Hi Luke,
 Yes you are correct the issue is with my expression.
This is the expression which i&#039;m using. The first IIF running well but the second IIF not working.
=IIf(Sum(Fields!Bil.Value)&gt;=7,1,IIf(sum(Fields!Bil.Value)&gt;=21,3,0))

actually i want Sum field value before do operators function
=Iif(Sum(Fields!Fieldname.value) &gt;=7, Iif(Sum(Fields!Fieldname.value) &gt;=14, 2,1))</description>
		<content:encoded><![CDATA[<p>Hi Luke,<br />
 Yes you are correct the issue is with my expression.<br />
This is the expression which i&#8217;m using. The first IIF running well but the second IIF not working.<br />
=IIf(Sum(Fields!Bil.Value)&gt;=7,1,IIf(sum(Fields!Bil.Value)&gt;=21,3,0))</p>
<p>actually i want Sum field value before do operators function<br />
=Iif(Sum(Fields!Fieldname.value) &gt;=7, Iif(Sum(Fields!Fieldname.value) &gt;=14, 2,1))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The InScope() Function and the key to formatting subtotals in SSRS Matrix Objects by Luke Hayler</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-1427</link>
		<dc:creator>Luke Hayler</dc:creator>
		<pubDate>Tue, 10 Jan 2012 08:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-1427</guid>
		<description>Hi Jen,

It looks like the issue is with your expression. You need to nest the 2nd iif() in the &#039;true&#039; part of the first iif().
--&gt;

=Iif(Fields!Fieldname.value &gt;=7, Iif(Fields!Fieldname.value &gt;=14, 2, 1), 0)

The &quot;0&quot; would result when the value is less than 7.</description>
		<content:encoded><![CDATA[<p>Hi Jen,</p>
<p>It looks like the issue is with your expression. You need to nest the 2nd iif() in the &#8216;true&#8217; part of the first iif().<br />
&#8211;></p>
<p>=Iif(Fields!Fieldname.value >=7, Iif(Fields!Fieldname.value >=14, 2, 1), 0)</p>
<p>The &#8220;0&#8243; would result when the value is less than 7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The InScope() Function and the key to formatting subtotals in SSRS Matrix Objects by Jen</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-1426</link>
		<dc:creator>Jen</dc:creator>
		<pubDate>Tue, 10 Jan 2012 07:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-1426</guid>
		<description>I&#039;m new to SSRS. i have the ollowing problem:-
i. i have sum of Bil field. i want count sum of Bil by dif category.
exm:
Name    Title     Bil     Total
Roy       X           4
              x           3
Sum                   7         Y
Eliz       X           6
              x           8
Sum                   14         Y


Output Y should be like this
if Sum &gt;= 7 answer is 1
if Sum &gt;=14 answer is 2

I have the following expression inside field Sum
=Sum(Fields!Bil.Value)

I have the following expression inside field Total (Y)
=IIf(Sum(Fields!Bil.Value)&gt;=7,1,IIf(Sum(Fields!Bil.Value)&gt;=14,2,1))
But the expression for Total(Y) not working. The result i get is 1 for any number.</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to SSRS. i have the ollowing problem:-<br />
i. i have sum of Bil field. i want count sum of Bil by dif category.<br />
exm:<br />
Name    Title     Bil     Total<br />
Roy       X           4<br />
              x           3<br />
Sum                   7         Y<br />
Eliz       X           6<br />
              x           8<br />
Sum                   14         Y</p>
<p>Output Y should be like this<br />
if Sum >= 7 answer is 1<br />
if Sum >=14 answer is 2</p>
<p>I have the following expression inside field Sum<br />
=Sum(Fields!Bil.Value)</p>
<p>I have the following expression inside field Total (Y)<br />
=IIf(Sum(Fields!Bil.Value)>=7,1,IIf(Sum(Fields!Bil.Value)>=14,2,1))<br />
But the expression for Total(Y) not working. The result i get is 1 for any number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Download Reports (.RDL) files for editing (SSRS 2005) by Bebandit</title>
		<link>http://lukehayler.com/2010/02/download-reports-rdl-files-for-editing-4/#comment-1424</link>
		<dc:creator>Bebandit</dc:creator>
		<pubDate>Tue, 03 Jan 2012 17:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/2010/02/download-reports-rdl-files-for-editing-4/#comment-1424</guid>
		<description>This worked perfectly. I did not lose the report, rather, a co-worker made the initial report and he was out when I was asked to modify it. Thanks!</description>
		<content:encoded><![CDATA[<p>This worked perfectly. I did not lose the report, rather, a co-worker made the initial report and he was out when I was asked to modify it. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Managing Reporting Services Layouts using the Rectangle in SSRS by Saif</title>
		<link>http://lukehayler.com/2009/07/managing-reporting-services-layouts-using-the-rectangle-in-ssrs/#comment-1413</link>
		<dc:creator>Saif</dc:creator>
		<pubDate>Fri, 23 Dec 2011 21:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=29#comment-1413</guid>
		<description>Great explanation!!! I&#039;m new to SSRS and it took me more than a day worth of work to find your post!!!!
it works perfectly!!!!</description>
		<content:encoded><![CDATA[<p>Great explanation!!! I&#8217;m new to SSRS and it took me more than a day worth of work to find your post!!!!<br />
it works perfectly!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Create Your Own Reporting Services Templates by Matt R</title>
		<link>http://lukehayler.com/2009/08/create-your-own-reporting-services-templates/#comment-1408</link>
		<dc:creator>Matt R</dc:creator>
		<pubDate>Mon, 19 Dec 2011 17:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=136#comment-1408</guid>
		<description>@BillPecos - The following MSDN page talks about distinguishing between the &quot;Installed Templates&quot; and the &quot;My Templates&quot; sections in Visual Studio / BIDS.

http://msdn.microsoft.com/en-us/library/y3kkate1(v=VS.100).aspx

In Luke&#039;s original post, he&#039;s referencing the file path for templates that are typically installed with the product.</description>
		<content:encoded><![CDATA[<p>@BillPecos &#8211; The following MSDN page talks about distinguishing between the &#8220;Installed Templates&#8221; and the &#8220;My Templates&#8221; sections in Visual Studio / BIDS.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/y3kkate1(v=VS.100).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/y3kkate1(v=VS.100).aspx</a></p>
<p>In Luke&#8217;s original post, he&#8217;s referencing the file path for templates that are typically installed with the product.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Managing Reporting Services Layouts using the Rectangle in SSRS by Mick</title>
		<link>http://lukehayler.com/2009/07/managing-reporting-services-layouts-using-the-rectangle-in-ssrs/#comment-1400</link>
		<dc:creator>Mick</dc:creator>
		<pubDate>Thu, 15 Dec 2011 00:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=29#comment-1400</guid>
		<description>This article has brought great joy into my day. Thanks Luke.</description>
		<content:encoded><![CDATA[<p>This article has brought great joy into my day. Thanks Luke.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on T-SQL Script to Identify Space Used By Each Table in a Database by Finding database and table sizes with sp_spaceused &#124; Cliff Corder</title>
		<link>http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/#comment-1396</link>
		<dc:creator>Finding database and table sizes with sp_spaceused &#124; Cliff Corder</dc:creator>
		<pubDate>Sat, 10 Dec 2011 19:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/#comment-1396</guid>
		<description>[...] that don’t use sp_spaceused that can give you information all in one query. One example is on Luke Hayler’s blog. Taking it a step further, Yaniv Etrogi has an artcle on SQLServerPerformance.com that [...]</description>
		<content:encoded><![CDATA[<p>[...] that don’t use sp_spaceused that can give you information all in one query. One example is on Luke Hayler’s blog. Taking it a step further, Yaniv Etrogi has an artcle on SQLServerPerformance.com that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refresh Intellisense in SQL Server Management Studio 2008 by Gaurav</title>
		<link>http://lukehayler.com/2011/03/refresh-intellisense-in-sql-server-management-studio-2008/#comment-1384</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Thu, 24 Nov 2011 09:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/2011/03/refresh-intellisense-in-sql-server-management-studio-2008/#comment-1384</guid>
		<description>Wonderful. Thanks for pointing it out. I was also frustated when i changed some column names in a table and intellisense still showing red under line in the query.</description>
		<content:encoded><![CDATA[<p>Wonderful. Thanks for pointing it out. I was also frustated when i changed some column names in a table and intellisense still showing red under line in the query.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

