all groups > sql server reporting services > july 2005 >
You're in the

sql server reporting services

group:

Reporting Services Count


Re: Reporting Services Count goodman93
7/13/2005 3:58:33 PM
sql server reporting services:
You're on the right track, but rather than using a count, try the following
with a sum.

Create a non-visible textbox with the following expression:
=iif(Fields!act_shp_dt.Value > Fields!prm_shp_dt.Value, 1, 0)

Then create a summary field that calculates a sum of the above values.

[quoted text, click to view]

Reporting Services Count Kerrie S via SQLMonster.com
7/13/2005 7:39:02 PM
Hi All,
I am trying to compare two dates: actual shipping date > promise shipping
date.
If the sctual shipping date is greater that the promised shipping date than
count that order number if not than it is null.

This is in the report designer in the "edit expression"

=Count(iif(Fields!act_shp_dt.Value > Fields!prm_shp_dt.Value, Fields!ord_nbr.
Value, ""))

It is counting everything as true.
Can anyone help me.

Thanks, Kerrie


--
Re: Reporting Services Count Kerrie S via SQLMonster.com
7/13/2005 8:30:34 PM
[quoted text, click to view]

--
You did IT!!!!!!!!!!!!
Thank you SO MUCH, Kerrie


Message posted via SQLMonster.com
AddThis Social Bookmark Button