Skip to content

Commit 434c66c

Browse files
committed
docs(data-modeling): give the duration-measure example its synonyms
The one-line example under "Duration measures" declared a measure with neither synonyms nor a description, the shape the dataset-member-no-vocabulary rule advises on. It now carries synonyms; the duration block it demonstrates is unchanged. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm
1 parent 3a317df commit 434c66c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎content/docs/data-modeling/analytics.mdx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ record (time to resolve, time to first response, cycle time) with `duration`
130130
in place of `field`:
131131

132132
```ts
133-
{ name: 'avg_hours_to_resolve', aggregate: 'avg', duration: { from: 'created_at', to: 'resolved_at', unit: 'hours' } }
133+
{
134+
name: 'avg_hours_to_resolve', aggregate: 'avg',
135+
duration: { from: 'created_at', to: 'resolved_at', unit: 'hours' },
136+
synonyms: ['resolution time', 'time to resolve'],
137+
}
134138
```
135139

136140
- `from` and `to` name two `datetime` fields of the dataset's own object, by

0 commit comments

Comments
 (0)