﻿<?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  / Count is returning a count of all rows / 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>Wed, 19 Jun 2013 18:25:42 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Count is returning a count of all rows</title><link>http://www.sqlservercentral.com/Forums/Topic1396832-150-1.aspx</link><description>Sum(IIF(ReportItems!Test.Value Like "2011 Pass",1,0)) Im using a textbox in the header so there are scope issues if I use the Fields collection.Thanks Ten Centuries</description><pubDate>Mon, 17 Dec 2012 10:18:40 GMT</pubDate><dc:creator>SSRSnewB</dc:creator></item><item><title>RE: Count is returning a count of all rows</title><link>http://www.sqlservercentral.com/Forums/Topic1396832-150-1.aspx</link><description>Thanks is works</description><pubDate>Mon, 17 Dec 2012 10:16:42 GMT</pubDate><dc:creator>SSRSnewB</dc:creator></item><item><title>RE: Count is returning a count of all rows</title><link>http://www.sqlservercentral.com/Forums/Topic1396832-150-1.aspx</link><description>Sum(IIF(ReportItems!Test.Value Like "2011 Pass",1,0)) Im using a textbox in the header so there are scope issues if I use the Fields collection.Thanks</description><pubDate>Mon, 17 Dec 2012 10:14:56 GMT</pubDate><dc:creator>SSRSnewB</dc:creator></item><item><title>RE: Count is returning a count of all rows</title><link>http://www.sqlservercentral.com/Forums/Topic1396832-150-1.aspx</link><description>D'oh... never mind &amp;lt;post deleted&amp;gt;</description><pubDate>Mon, 17 Dec 2012 08:30:44 GMT</pubDate><dc:creator>gwade-730283</dc:creator></item><item><title>RE: Count is returning a count of all rows</title><link>http://www.sqlservercentral.com/Forums/Topic1396832-150-1.aspx</link><description>Does this do it?=Sum(iif(ReportItems!Test.Value = "Pass", 1, 0))CheersGaz</description><pubDate>Mon, 17 Dec 2012 07:16:30 GMT</pubDate><dc:creator>Gazareth</dc:creator></item><item><title>Count is returning a count of all rows</title><link>http://www.sqlservercentral.com/Forums/Topic1396832-150-1.aspx</link><description>I have a dataset column in a table region and I want to count on a condition with an expression in the header textbox but expression returningcould this be a scope problem since the textbox is not bound to dataset. Even though textbox is bound to the dataset.=Count(ReportItems!Test.Value = "Pass") just counts all the rows - this is in a textbox in the header of the report</description><pubDate>Fri, 14 Dec 2012 15:50:25 GMT</pubDate><dc:creator>SSRSnewB</dc:creator></item></channel></rss>