Skip to content

Commit 38182ed

Browse files
committed
update doc
1 parent fedab9a commit 38182ed

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/features/2.metrics.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ Metric is used to allow admin configuring custom metrics for an assessment to se
1818
* `average` : the result will be the average `weight` of the answers for this question
1919
* `sum` : the result will be the sum of the `weight` of the answers for this question
2020
* `count` : the result will be the count of the user that has answered that question
21-
* `filter_type` : the type of filter. Valid value `role` (MVP)
22-
* `filter_value` : the filter value.
23-
* When `filter_type` is `role`, the valid values are `participant, mentor, coordinator, admin`
21+
* `filters` : the filters applied to this metric
22+
* This is a JSON encoded field that contain 2 attributes
23+
* `role`: an array of filtered roles. Valid `role` are `participant`, `mentor`, `coordinator`, `admin`
24+
* `status`: an array of filtered user status. Valid `status` are `active`, `dropped`
2425
* `default_calculation_frequency`
2526

2627
### `analytics_metric_institutions`

0 commit comments

Comments
 (0)