Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

count function Reportnet

Status
Not open for further replies.

nnaife

Programmer
Dec 7, 2001
7
GB
Hi Folks

I'm having a little problem with the Reportnet/Report Studio count aggregation function.

I've basically got a column called Paxtype datatype/length varchar(1)

This column has values of 'A' or 'C' or 'I'

I'm trying to create a calculation that counts the number of instances of the value 'A'
so the current calc i've created to perform this, looks like count([PAXTYPE] for [PAXTYPE],'A')

But this calc just ends up giving me a count of all values rather just a count of 'A' values.

Any pointers on how i can rewrite this expression to return a count of 'A' values only would be gratefully appreciated.

Thanks in advance.

Cheers
Nnaife



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top