Skip to content

Commit

Permalink
Add exposures
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotTaylor23 committed Jan 4, 2023
1 parent 866c78c commit 4d2329d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
9 changes: 9 additions & 0 deletions jaffle_shop/models/final/finance/_exposures.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

exposures:
- name: customer_return_total
description: Inksacio App to show the total sum of customer returns, per customer (for both completed and upcoming)
type: dashboard
url: https://inksacio.eks.octojaffle.engineering/customer_return_totals/
depends_on:
- ref('fnl_finance_customerreturnstotal')
9 changes: 9 additions & 0 deletions jaffle_shop/models/final/sales/_exposures.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

exposures:
- name: new_customer_history
description: Inksacio App to show monthly new customer history
type: dashboard
url: https://inksacio.eks.octojaffle.engineering/new_customer_history/
depends_on:
- ref('fnl_sales_newcustomerhistory')
2 changes: 1 addition & 1 deletion jaffle_shop/models/staging/src_seed/sensitive/_models.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

models:
- name: stg_customers
- name: stg_customers_pii
columns:
- name: customer_id
tests:
Expand Down
4 changes: 2 additions & 2 deletions jaffle_shop/models/warehouse/_models.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

models:
- name: customers
- name: wh_customers
description: This table has basic information about a customer, as well as some derived facts based on a customer's orders

columns:
Expand Down Expand Up @@ -29,7 +29,7 @@ models:
- name: total_order_amount
description: Total value (AUD) of a customer's orders

- name: orders
- name: wh_orders
description: This table has basic information about orders, as well as some derived facts based on payments

columns:
Expand Down

0 comments on commit 4d2329d

Please sign in to comment.