﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Development  / Reporting services Group is not calculating by group. / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Mon, 20 May 2013 08:26:20 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Reporting services Group is not calculating by group.</title><link>http://www.sqlservercentral.com/Forums/Topic1050290-145-1.aspx</link><description>Thanks so much. It was grouping them all by market, just that group header was choking. A fix that worked was doing the calculation at the data level in t-sql and not in the group header, although other columns were behaving fine with expressions in the group headers.SELECT *, ISNULL(RAFScoreDataRap,0) * 900 AS RAFScoreDataRapCalc FROM @rptMatrixMetricsSO now this above select at the end of the t-sql script in the SSRS data tab now multiplies by 900 at this level so in the layout just needs the new column alias we created above: RAFScoreDataRapCalcThanks</description><pubDate>Wed, 19 Jan 2011 14:32:46 GMT</pubDate><dc:creator>adam spencer</dc:creator></item><item><title>RE: Reporting services Group is not calculating by group.</title><link>http://www.sqlservercentral.com/Forums/Topic1050290-145-1.aspx</link><description>The COUNT() expression function used in SSRS can actually receive a second parameter that specifies the group name that defines the scope the COUNT() should be calculated in.The syntax would be roughly, COUNT(Fields!&amp;lt;field_name&amp;gt;, "&amp;lt;group_name&amp;gt;").Try adding that to the misbehaving count and see if that corrects the report logic.</description><pubDate>Wed, 19 Jan 2011 12:44:24 GMT</pubDate><dc:creator>getoffmyfoot</dc:creator></item><item><title>Reporting services Group is not calculating by group.</title><link>http://www.sqlservercentral.com/Forums/Topic1050290-145-1.aspx</link><description>Hi,Reporting services Group is not calculating by group.=count(Fields!GMPI.Value) *900 for group column A  gives the same total of $240,000 for all 3 groups, but =count(Fields!GMPI.Value) * 600 for group col B works corretly for each group having a different value.any ideas, it is almost as if ssrs  is glitching cuase the values in the field columns do not add up induvidually to 240,000.thanks in advance</description><pubDate>Wed, 19 Jan 2011 12:08:42 GMT</pubDate><dc:creator>adam spencer</dc:creator></item></channel></rss>