Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Applies to: ✅Microsoft Fabric✅Azure Data Explorer✅Azure Monitor✅Microsoft Sentinel
Menghitung jumlah rekaman dalam kumpulan catatan input.
Syntax
T|count
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| T | string |
✔️ | Input tabular yang rekamannya akan dihitung. |
Returns
Fungsi ini mengembalikan tabel dengan satu rekaman dan kolom jenis 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. Anda mungkin perlu mengubah nama tabel dalam contoh kueri agar sesuai dengan tabel di ruang kerja Anda.
Saat Anda menggunakan operator hitungan dengan nama tabel, seperti StormEvents, operator tersebut akan mengembalikan jumlah total rekaman dalam tabel tersebut.
StormEvents | count
Output
| Count |
|---|
| 59066 |
Related content
Untuk informasi tentang fungsi agregasi count(), lihat count() (fungsi agregasi).