﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Reporting Services / Reporting Services 2008 Development  / count of first column / 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>Tue, 21 May 2013 14:55:16 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: count of first column</title><link>http://www.sqlservercentral.com/Forums/Topic1433106-1633-1.aspx</link><description>Glad you figured it out.  Thanks for letting us know!Mike</description><pubDate>Thu, 21 Mar 2013 05:52:10 GMT</pubDate><dc:creator>mikehunsaker</dc:creator></item><item><title>RE: count of first column</title><link>http://www.sqlservercentral.com/Forums/Topic1433106-1633-1.aspx</link><description>I resolved it by using CountDistinct ().. Thank you.</description><pubDate>Wed, 20 Mar 2013 09:08:25 GMT</pubDate><dc:creator>naveendk.55</dc:creator></item><item><title>RE: count of first column</title><link>http://www.sqlservercentral.com/Forums/Topic1433106-1633-1.aspx</link><description>Do you have grouping on the report itself?  If you have Row Grouping on the field, this will show the SUM (or whatever aggregate you want) at the bottom of the report.See this page from Microsoft on Grouping/Totals:[url]http://msdn.microsoft.com/en-us/library/ms170712.aspx[/url]HTH.Mike</description><pubDate>Wed, 20 Mar 2013 06:11:42 GMT</pubDate><dc:creator>mikehunsaker</dc:creator></item><item><title>count of first column</title><link>http://www.sqlservercentral.com/Forums/Topic1433106-1633-1.aspx</link><description>Hi, I have a column with name ID. The ID value is repeated in query and I grouped it using group by.  It is showing correct way in report. At the end of the report I want the count of the ID. But it is showing total number of IDs in query and not the count displayed in the report. How to get the count displayed in the report. Note: the second and third column have more than one row for single ID in report.</description><pubDate>Wed, 20 Mar 2013 03:55:40 GMT</pubDate><dc:creator>naveendk.55</dc:creator></item></channel></rss>