List.NonNullCount
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns the number of items in a list excluding null values
List.NonNullCount(list as list) as number
| Argument | Description |
|---|---|
| list | The List to check. |
List.NonNullCount({1, null}) equals 1
Show: