Skip to content

Commit

Permalink
Update order_items.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rpourzand authored Jul 18, 2024
1 parent 0915f7c commit d9a73d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions models/marts/customer360/order_items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ metrics:
type_params:
measure: order_cost
- name: median_revenue
description: The median revenue for each order item. Excludes tax.
type: simple
label: Median Revenue
type_params:
measure: median_revenue
description: The median revenue generated for each order item.
agg: percentile
agg_params:
percentile: .5
use_approximate_percentile: True
expr: product_price
- name: food_revenue
description: The revenue from food in each order
label: Food Revenue
Expand Down

0 comments on commit d9a73d6

Please sign in to comment.