Difference between revisions of "Count"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | =count = | |
− | |||
− | |||
Counts the number of rows (typically meaning respondents) in the data table that fulfill the stated conditions. | Counts the number of rows (typically meaning respondents) in the data table that fulfill the stated conditions. | ||
Line 22: | Line 20: | ||
''number n = count() where (true);'' | ''number n = count() where (true);'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Functions_Used_in_where_Expressions]] | [[Category:Functions_Used_in_where_Expressions]] |
Latest revision as of 06:14, 22 December 2011
count
Counts the number of rows (typically meaning respondents) in the data table that fulfill the stated conditions.
Syntax
count()
Arguments
none
Return type
number
Examples
//count the number of data rows in the data table
number n = count() where (true);