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
Copy file name to clipboardExpand all lines: models/schema.yml
+50
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,56 @@ models:
29
29
- name: total_order_amount
30
30
description: Total value (AUD) of a customer's orders
31
31
32
+
- name: customer_segments
33
+
description: This table categorizes customers based on their ordering behavior and value to the company, using derived metrics from their order history.
34
+
35
+
columns:
36
+
- name: customer_id
37
+
description: This is a unique identifier for a customer.
38
+
tests:
39
+
- unique
40
+
- not_null
41
+
42
+
- name: number_of_orders
43
+
description: Count of the number of orders a customer has placed.
44
+
45
+
- name: customer_lifetime_value
46
+
description: Total value (in currency) of all orders placed by a customer over their lifetime.
47
+
48
+
- name: order_frequency_segment
49
+
description: Categorization of customers based on how frequently they place orders.
50
+
51
+
- name: value_segment
52
+
description: Categorization of customers based on the monetary value they bring to the company.
0 commit comments