I'm wanting a count of Param to get the number that meet the criteria. Your example works and I can get the count by wrapping it in a derived query. Just was't sure if there was a better way..
I prefer CTEs to derived tables, but they are equivalent for most purposes.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA