len function

The len function returns the number of values present in the attribute, including missing values.


Parameters

len(column)

Parameter

Description

column

The attribute whose number of values you want to return.


Example - len(column)

The following example uses the Bike sales dataset.

Description

Screenshot

In this example, we have configured the Day attribute to retrieve the number of values it contains, with the formula len($"Day").