你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
count operator
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Returns the number of records in the input record set.
Syntax
T |
count
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
T | string |
✔️ | The tabular input whose records are to be counted. |
Returns
This function returns a table with a single record and column of type
long
. The value of the only cell is the number of records in T.
Example
StormEvents | count
Related content
For information about the count() aggregation function, see count() (aggregation function).