<?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 on: The InScope() Function and the key to formatting subtotals in SSRS Matrix Objects</title>
	<atom:link href="http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/</link>
	<description>A blog about Business Intelligence and other personal interests</description>
	<lastBuildDate>Thu, 15 Mar 2012 00:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>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>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>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>By: Blog Stats – 2010 in a nutshell &#124; Luke Hayler - SQL Server Developer</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-290</link>
		<dc:creator>Blog Stats – 2010 in a nutshell &#124; Luke Hayler - SQL Server Developer</dc:creator>
		<pubDate>Mon, 04 Apr 2011 20:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-290</guid>
		<description>[...] The InScope() Function and the key to formatting subtotals in SSRS Matrix Objects [...]</description>
		<content:encoded><![CDATA[<p>[...] The InScope() Function and the key to formatting subtotals in SSRS Matrix Objects [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T-SQL Tuesday #016 – Aggregations &#124; Luke Hayler - SQL Server Developer</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-288</link>
		<dc:creator>T-SQL Tuesday #016 – Aggregations &#124; Luke Hayler - SQL Server Developer</dc:creator>
		<pubDate>Mon, 04 Apr 2011 20:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-288</guid>
		<description>[...] I have been meaning to write for quite some time. In fact, ever since I did my original post on The InScope() Function and the key to formatting Matrix objects, I’ve been threatening to do it. This stems from all the comments and questions (via email) that [...]</description>
		<content:encoded><![CDATA[<p>[...] I have been meaning to write for quite some time. In fact, ever since I did my original post on The InScope() Function and the key to formatting Matrix objects, I’ve been threatening to do it. This stems from all the comments and questions (via email) that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T-SQL Tuesday #016 &#8211; Aggregations &#124; Luke Hayler - SQL Server developer</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-35</link>
		<dc:creator>T-SQL Tuesday #016 &#8211; Aggregations &#124; Luke Hayler - SQL Server developer</dc:creator>
		<pubDate>Tue, 08 Mar 2011 02:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-35</guid>
		<description>[...] I have been meaning to write for quite some time. In fact, ever since I did my original post on The InScope() Function and the key to formatting Matrix objects, I’ve been threatening to do it. This stems from all the comments and questions (via email) that [...] </description>
		<content:encoded><![CDATA[<p>[...] I have been meaning to write for quite some time. In fact, ever since I did my original post on The InScope() Function and the key to formatting Matrix objects, I’ve been threatening to do it. This stems from all the comments and questions (via email) that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-34</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Fri, 11 Feb 2011 19:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-34</guid>
		<description>AgurpateColumn        SubtotalColumn    % column
Column 1    Column2   =Sum(Fields!Agrupate.Value)  =cstr(sum(Fields!Agrupate.Value)/sum(Fields!Agrupate.Value,
&quot;matrix1_RowGroupColumn2&quot;)*100)+&quot;%&quot;

Two columns. One agrupate column on the matrix. One subtotal column.
One % Column  = sum(column1 + column2) / subtotal for each row.
Javier</description>
		<content:encoded><![CDATA[<p>AgurpateColumn        SubtotalColumn    % column<br />
Column 1    Column2   =Sum(Fields!Agrupate.Value)  =cstr(sum(Fields!Agrupate.Value)/sum(Fields!Agrupate.Value,<br />
&#8220;matrix1_RowGroupColumn2&#8243;)*100)+&#8221;%&#8221;</p>
<p>Two columns. One agrupate column on the matrix. One subtotal column.<br />
One % Column  = sum(column1 + column2) / subtotal for each row.<br />
Javier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Hayler</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-33</link>
		<dc:creator>Luke Hayler</dc:creator>
		<pubDate>Wed, 05 Jan 2011 20:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-33</guid>
		<description>Hi Erica,

I&#039;m not sure I fully understand your question.
Could you explain further what you are trying to achieve?

You can &lt;a href=&quot;mailto:luke@hayler.com&quot; rel=&quot;nofollow&quot;&gt; email me directly if you like&lt;/a&gt;

Luke</description>
		<content:encoded><![CDATA[<p>Hi Erica,</p>
<p>I&#8217;m not sure I fully understand your question.<br />
Could you explain further what you are trying to achieve?</p>
<p>You can <a href="mailto:luke@hayler.com" rel="nofollow"> email me directly if you like</a></p>
<p>Luke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erica</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-32</link>
		<dc:creator>erica</dc:creator>
		<pubDate>Wed, 05 Jan 2011 13:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-32</guid>
		<description>hi, i&#039;m from Brazil. Sorry about the bad text
But, my question is:
 And if the matrix have more than one Columns or Data?
How we can custom the datas?
Because the Columns appears [Static Group] and nothing more...

Please, send me an e-mail....</description>
		<content:encoded><![CDATA[<p>hi, i&#8217;m from Brazil. Sorry about the bad text<br />
But, my question is:<br />
 And if the matrix have more than one Columns or Data?<br />
How we can custom the datas?<br />
Because the Columns appears [Static Group] and nothing more&#8230;</p>
<p>Please, send me an e-mail&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katie</title>
		<link>http://lukehayler.com/2009/07/the-inscope-function-and-the-key-to-formatting-subtotals-in-ssrs-matrix-objects/#comment-31</link>
		<dc:creator>Katie</dc:creator>
		<pubDate>Fri, 05 Nov 2010 15:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.lukehayler.com/?p=10#comment-31</guid>
		<description>Hi Luke,
I tested with the basic red, blue and green colors. The correct colors shows up in SSRS 2005 Visual Studio but becomes &quot;clear&quot; (or white) after deployment to Reporting Server. This is very frustrating...
Katie</description>
		<content:encoded><![CDATA[<p>Hi Luke,<br />
I tested with the basic red, blue and green colors. The correct colors shows up in SSRS 2005 Visual Studio but becomes &#8220;clear&#8221; (or white) after deployment to Reporting Server. This is very frustrating&#8230;<br />
Katie</p>
]]></content:encoded>
	</item>
</channel>
</rss>

