From 5887b0f04de9f20d7fd1b3c7165315234c250c81 Mon Sep 17 00:00:00 2001 From: Lightdash Date: Fri, 14 Nov 2025 10:58:47 -0600 Subject: [PATCH] Updated file models/demo/tracks.yml with 1 custom custom metric from table tracks --- models/demo/tracks.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/models/demo/tracks.yml b/models/demo/tracks.yml index 44c9415..2d2012c 100644 --- a/models/demo/tracks.yml +++ b/models/demo/tracks.yml @@ -27,6 +27,11 @@ models: unique_user_count: type: count_distinct description: The unique number of users based on distinct users IDs + user_id_count_of_user_id: + label: Count of User id + description: "Count of User id on the table Tracks " + type: count + filters: [] - name: id description: "The unique identifier for an event" meta: @@ -69,7 +74,6 @@ models: additional_dimensions: days_since_user_created: type: number - description: "The number of days between when the user was created and this event." + description: "The number of days between when the user was created and this + event." sql: DATE_DIFF(${TABLE}.timestamp, ${users.created_at}, DAY) - - \ No newline at end of file