You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Select the link field from the dropdown. This is the field that links the current table to the related table.
16
16
5. Select the field for display from the dropdown. This is the field that will be displayed in the current table.
17
17
6. Select the aggregation function from the dropdown. This is the function that will be used to aggregate the data.
18
-
7. Click on `Save Field` button.
18
+
7. Set the **Precision** (Optional) to number of decimal places to display for numeric aggregation functions.
19
+
8. Enable the **Thousand Separator** (Optional) to format the number with a thousand separator.
20
+
9. Click on `Save Field` button.
19
21
20
22

21
23
22
-
### Aggregation Functions
24
+
### Aggregation functions
23
25
Here's a table with brief descriptions for each of the aggregation functions supported by NocoDB:
24
26
25
27
| Aggregation Function | Description |
@@ -33,6 +35,21 @@ Here's a table with brief descriptions for each of the aggregation functions sup
33
35
| Sum Distinct | Adds up all the distinct values in a dataset. |
34
36
| Average Distinct | Calculates the average of distinct values in a dataset. |
35
37
38
+
39
+
### Rollup count as link
40
+
41
+
When using a rollup field with the **Count** function, you can enable the **"Show count as links"** option to make the displayed count clickable. This allows users to directly access and view the underlying linked records that contribute to the count. Once enabled, the rollup field becomes editable, allowing you to add or modify records in the linked table directly from the rollup field.
Additionally, you can configure "Singular label" & "Plural label" for the rollup field. These labels will be used to display the count in a more user-friendly manner, such as "1 record" or "5 records".
46
+
47
+
Rollup count as link is available only for the `Count` aggregation function & with `ID` field type selected as the related table field during rollup creation.
48
+
49
+
<Callouttype="info">
50
+
API response for rollup field will always return the count as a number, regardless of whether the "Show count as links" option is enabled or not. If you need to retrieve the linked records, you can use associated `LinkToAnotherRecord` field type instead.
0 commit comments