More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{HelpFiles}} | |||
{{HelpFiles}} | |||
==== 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''' | ||
number | ''//count the number of data rows in the data table'' | ||
'' | ''number n = count() where (true);'' | ||
'' | ''print(n);'' | ||
'' | '''Availability''' | ||
Version 4.8 __NOTOC__ <!-- imported from file: 1638.htm--> | |||
[[Category:Functions_Used_in_where_Expressions]] | |||
Revision as of 10:35, 20 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);
print(n);
Availability
Version 4.8