Skip to content

Commit 5887b0f

Browse files
author
Lightdash
committed
Updated file models/demo/tracks.yml with 1 custom custom metric from table tracks
1 parent 4bb905d commit 5887b0f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

models/demo/tracks.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ models:
2727
unique_user_count:
2828
type: count_distinct
2929
description: The unique number of users based on distinct users IDs
30+
user_id_count_of_user_id:
31+
label: Count of User id
32+
description: "Count of User id on the table Tracks "
33+
type: count
34+
filters: []
3035
- name: id
3136
description: "The unique identifier for an event"
3237
meta:
@@ -69,7 +74,6 @@ models:
6974
additional_dimensions:
7075
days_since_user_created:
7176
type: number
72-
description: "The number of days between when the user was created and this event."
77+
description: "The number of days between when the user was created and this
78+
event."
7379
sql: DATE_DIFF(${TABLE}.timestamp, ${users.created_at}, DAY)
74-
75-

0 commit comments

Comments
 (0)