Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: ✅Microsoft Fabric✅Azure Data Explorer✅Azure Monitor✅Microsoft Sentinel
Beräknar antalet poster i indatapostuppsättningen.
Syntax
T|count
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| T | string |
✔️ | Tabellindata vars poster ska räknas. |
Returns
Den här funktionen returnerar en tabell med en enda post och kolumn av typen long. The value of the only cell is the number of records in T.
Examples
The examples in this article use publicly available tables in the help cluster, such as the
StormEventstable in the Samples database.
The examples in this article use publicly available tables, such as the
Weathertable in the Weather analytics sample gallery. Du kan behöva ändra tabellnamnet i exempelfrågan för att matcha tabellen på din arbetsyta.
När du använder taloperatorn med ett tabellnamn, till exempel StormEvents, returneras det totala antalet poster i tabellen.
StormEvents | count
Output
| Count |
|---|
| 59066 |
Related content
Information om sammansättningsfunktionen count() finns i count() (sammansättningsfunktion).