Skip to main content Skip to complementary content

NoOfRows - chart function

NoOfRows() returns the number of rows in the current column segment in a table. For bitmap charts, NoOfRows() returns the number of rows in the chart's straight table equivalent.

If the table or table equivalent has multiple vertical dimensions, the current column segment will include only rows with the same values as the current row in all dimension columns, except for the column showing the last dimension in the inter-field sort order.

Syntax:  

NoOfRows([TOTAL])

Return data type: integer

Arguments:  

Argument Description
TOTAL

If the table is one-dimensional or if the qualifier TOTAL is used as argument, the current column segment is always equal to the entire column.

See: Defining the aggregation scope

Example:  

if( RowNo( )= NoOfRows( ), 0, Above( sum( Sales )))

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!