<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx</link><description>Here&amp;#39;s the scenario. Your SQL Server Reporting Services (SSRS) report has a matrix, showing the sales of each salesperson per year. You put conditional formatting in place so that cells in the matrix that have sales over 1000000 are in a different</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>SSRS: Removing the Navigation link using an Expression</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1712793</link><pubDate>Tue, 04 Aug 2009 13:23:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1712793</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;There are times when you want to have a Navigation property of a textbox (typically providing a link&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1712793" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1695655</link><pubDate>Tue, 16 Jun 2009 22:18:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1695655</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;Great! Thanks. InScope was just what I needed.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1695655" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1666732</link><pubDate>Wed, 28 Jan 2009 23:44:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1666732</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;Oh, and the green corner is useful for when you want to change properties of all the SubTotal boxes - but sometimes you want more control, and InScope can help with that.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1666732" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1666731</link><pubDate>Wed, 28 Jan 2009 23:42:48 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1666731</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;Marty - To change the format to bold, look for the FontWeight property.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1666731" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1666684</link><pubDate>Wed, 28 Jan 2009 21:05:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1666684</guid><dc:creator>Marty</dc:creator><description>&lt;p&gt;Two questions, why does the green corner right click trick work for some and not others?&lt;/p&gt;
&lt;p&gt;Second, I was able to change the background colour, how would I change the format of the text in the subtotal to bold?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1666684" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1664195</link><pubDate>Wed, 21 Jan 2009 14:51:59 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1664195</guid><dc:creator>leonie</dc:creator><description>&lt;p&gt;oh my god. like others i have been banging my head against my desk over this for a while... thanks for explaining it in a way that actually makes sense!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1664195" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1657516</link><pubDate>Tue, 23 Dec 2008 02:08:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657516</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;Ok. Try using the Scope parameter of aggregate functions Sum and Max to get the max of the Sums per thing you&amp;#39;re subtotalling on. You can use it in a similar way to how the OVER clause works in T-SQL.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657516" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1657441</link><pubDate>Mon, 22 Dec 2008 10:17:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657441</guid><dc:creator>ismail</dc:creator><description>&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;Thank you for your answer but unfortunately it didn&amp;#39;t work because :&lt;/p&gt;
&lt;p&gt;1) I got an error (the textbox must be placed into the header or the footer of the report),&lt;/p&gt;
&lt;p&gt;2) When I placed the textbox into the footer of the report, i got no answer (textbox with empty value).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to reach the subtotal row thanks to this expression (mentionned in the body of my matrix) :&lt;/p&gt;
&lt;p&gt;=iif(InScope(&amp;quot;matrix1_Year&amp;quot;), &lt;/p&gt;
&lt;p&gt;&amp;quot;Black&amp;quot;,&lt;/p&gt;
&lt;p&gt;iif(InScope(&amp;quot;matrix1_Campaign_Status&amp;quot;), &lt;/p&gt;
&lt;p&gt;&amp;quot;Black&amp;quot;, &lt;/p&gt;
&lt;p&gt;iif(Me.Value = Max(Fields!Number_Opportunity.Value,&amp;quot;DataSource1&amp;quot;), &amp;quot;Red&amp;quot;, &amp;quot;Black&amp;quot;)&lt;/p&gt;
&lt;p&gt;))&lt;/p&gt;
&lt;p&gt;But the colored cell is wrong and I don&amp;#39;t know why.&lt;/p&gt;
&lt;p&gt;Any help ?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657441" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1657285</link><pubDate>Fri, 19 Dec 2008 23:52:39 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657285</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;Try putting a textbox outside the matrix, containing Max(ReportItems!SubTotal.Value) (or something similar).&lt;/p&gt;
&lt;p&gt;Then you should be able to test to see if the value in the matrix is the same as the value in the textbox, and color it accordingly.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657285" width="1" height="1"&gt;</description></item><item><title>[SSRS 2005] Maximum value of a matrix subtotal row</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1657254</link><pubDate>Fri, 19 Dec 2008 15:44:20 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657254</guid><dc:creator>Ismail</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a subtotal row (automatically generated) in my matrix and i would like to color its maximum value in red.&lt;/p&gt;
&lt;p&gt;I was wondering if the right way to do this was to use the Max() predefined function but unfortunately it didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;How can i do this ?&lt;/p&gt;
&lt;p&gt;Thank you in advance for your help&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657254" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1656552</link><pubDate>Fri, 12 Dec 2008 01:14:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1656552</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;Then I would consider having a separate column, which could maybe be hidden... which tests to see if it&amp;#39;s numeric before displaying it. Then you can use that total instead of the original one.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1656552" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1656520</link><pubDate>Thu, 11 Dec 2008 19:37:45 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1656520</guid><dc:creator>Cesar Ochoa</dc:creator><description>&lt;p&gt;Just an kind off topic question: Let&amp;#39;s say that I have a matrix whit 5 columns and I have one subtotal row, the thing is that I only want the totals of the numeric columns, not the string ones, is it possible to hide these string columns?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1656520" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1652520</link><pubDate>Thu, 30 Oct 2008 15:39:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1652520</guid><dc:creator>Brenda Keller</dc:creator><description>&lt;p&gt;Please ignore my previous comment about the Static Group. My Matrix has two named groups and I found that if I used the InScope function to look for items outside either named group, the formatting worked correctly.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1652520" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1652506</link><pubDate>Thu, 30 Oct 2008 13:56:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1652506</guid><dc:creator>Brenda Keller</dc:creator><description>&lt;p&gt;I have created a matrix and have used the Add Row command to include additional aggregations within the matrix. Using the Add Row command created a Group called [Static Group] within the Rows groupings of the matrix. I am able to format the first row group within my matrix, since this is part of one of the named groups I created. However, the additional rows in my matrix are part of the [Static Group] and do not respond when I use the InScope function. Does anyone know how to format rows in a matrix which are part of a Static Group (or static row)? Thanks in advance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1652506" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1652443</link><pubDate>Thu, 30 Oct 2008 02:35:40 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1652443</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;Try the green corner bit, and then set it there. But otherwise, you can just use InScope like this:&lt;/p&gt;
&lt;p&gt;=iif(inscope(&amp;quot;matrix1_SalesPersonID&amp;quot;), &amp;quot;White&amp;quot;, &amp;quot;Gray&amp;quot;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1652443" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1652394</link><pubDate>Wed, 29 Oct 2008 19:08:56 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1652394</guid><dc:creator>Jim Kiley</dc:creator><description>&lt;p&gt;what happens if I can&amp;#39;t base the expression (like percentages) on a value and I just want the background color gray for the enitre subtotal row?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1652394" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1650550</link><pubDate>Sat, 11 Oct 2008 06:30:36 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1650550</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;I think I know what you mean... Try putting a Rectangle into your table cell, and then putting textboxes into the rectangle. You should be able to have a much better degree of flexibility this way.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1650550" width="1" height="1"&gt;</description></item><item><title>display data in report rdlc</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1650438</link><pubDate>Fri, 10 Oct 2008 10:57:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1650438</guid><dc:creator>santosh upreti</dc:creator><description>&lt;p&gt;how can we display 3, 4column names from the table &amp;nbsp;in a report column vertically nd the corresponding values of that columns is just to the next of the report column&lt;/p&gt;
&lt;p&gt;plz help me its urgent&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1650438" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1646315</link><pubDate>Sun, 31 Aug 2008 08:39:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1646315</guid><dc:creator>Rob Farley</dc:creator><description>&lt;p&gt;You can still do the standard visibility stuff, and use expressions in there too. If you&amp;#39;re worried, then get it working in a table and transfer the logic to the column.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1646315" width="1" height="1"&gt;</description></item><item><title>re: How to format the subtotals of a Reporting Services matrix differently, using InScope</title><link>http://msmvps.com/blogs/robfarley/archive/2007/11/22/how-to-format-the-subtotals-of-a-reporting-services-matrix-differently-using-inscope.aspx#1646187</link><pubDate>Fri, 29 Aug 2008 14:57:48 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1646187</guid><dc:creator>Swapna</dc:creator><description>&lt;p&gt;How to collapse the data in the matrix based on the column value?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1646187" width="1" height="1"&gt;</description></item></channel></rss>